Skip to content

Commit 0c05a3b

Browse files
committed
chore: dependency updates/pnpm migration
1 parent 1efc7d2 commit 0c05a3b

File tree

11 files changed

+8583
-12895
lines changed

11 files changed

+8583
-12895
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ root = true
22

33
[*]
44
indent_style = space
5-
indent_size = 4
5+
indent_size = 2
66
charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package.json

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": ["@djthoms/eslint-config", "@djthoms/eslint-config/typescript"]
2+
"extends": ["@djthoms/eslint-config", "@djthoms/eslint-config/typescript"],
3+
"parserOptions": {
4+
"project": "./tsconfig.json"
5+
}
36
}

.github/workflows/on_push.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v3
13+
- uses: pnpm/action-setup@v2
1314
with:
14-
fetch-depth: 0
15-
token: ${{ secrets.GITHUB_TOKEN }}
15+
version: 8
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18
19+
node-version: 20
20+
cache: pnpm
2021
- name: Install dependencies
21-
run: npm ci
22-
- name: Build
23-
run: npm run build
22+
run: pnpm install --frozen-lockfile
2423
- name: Release
2524
env:
2625
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2726
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28-
run: npx semantic-release
27+
run: pnpm semantic-release

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install lint-staged
4+
pnpm lint-staged

.lintstagedrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"*.{ts,tsx,js,json}": [
3+
"prettier --write",
4+
"eslint --fix"
5+
],
6+
"*.{md,yml,yaml}": "prettier --write"
7+
}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-pre-post-scripts=true

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@djthoms/prettier-config"

0 commit comments

Comments
 (0)