Skip to content

Commit fa43408

Browse files
authored
chore: update to pnpm 7 (#44)
* chore: update to pnpm 7 * fix script
1 parent 1aa219c commit fa43408

File tree

4 files changed

+36
-33
lines changed

4 files changed

+36
-33
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
- uses: pnpm/action-setup@v2.0.1
3232
with:
33-
version: 6
33+
version: 7
3434
run_install: true
3535

3636
- name: Build

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
3333
- uses: pnpm/action-setup@v2.0.1
3434
with:
35-
version: 6
35+
version: 7
3636
run_install: true
3737

3838
- name: Unit test
@@ -62,7 +62,7 @@ jobs:
6262
6363
- uses: pnpm/action-setup@v2.0.1
6464
with:
65-
version: 6
65+
version: 7
6666
run_install: true
6767

6868
- name: Typecheck
@@ -92,7 +92,7 @@ jobs:
9292
9393
- uses: pnpm/action-setup@v2.0.1
9494
with:
95-
version: 6
95+
version: 7
9696
run_install: true
9797

9898
- name: Lint
@@ -122,7 +122,7 @@ jobs:
122122
123123
- uses: pnpm/action-setup@v2.0.1
124124
with:
125-
version: 6
125+
version: 7
126126
run_install: true
127127

128128
- name: Check format

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"clean": "rm -rf dist/ node_modules/",
2323
"lint": "eslint --max-warnings 0 .",
2424
"lint:format": "prettier --check .",
25-
"start": "pnpm run build -- --watch",
25+
"start": "pnpm run build --watch",
2626
"test": "vitest run --coverage",
2727
"test:watch": "vitest",
2828
"typecheck": "tsc --noEmit",
@@ -48,6 +48,9 @@
4848
"optional": true
4949
}
5050
},
51+
"engines": {
52+
"pnpm": "7"
53+
},
5154
"publishConfig": {
5255
"access": "public"
5356
}

pnpm-lock.yaml

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)