Skip to content

Commit d31a315

Browse files
authored
chore: update to pnpm 7 (#26)
* chore: update to pnpm 7 * fix script
1 parent 5027ada commit d31a315

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
@@ -36,7 +36,7 @@
3636
"clean": "rm -rf dist/ node_modules/",
3737
"lint": "eslint --max-warnings 0 .",
3838
"lint:format": "prettier --check .",
39-
"start": "pnpm run build -- --watch",
39+
"start": "pnpm run build --watch",
4040
"test": "vitest run --coverage",
4141
"test:watch": "vitest",
4242
"typecheck": "tsc --noEmit",
@@ -60,6 +60,9 @@
6060
"peerDependencies": {
6161
"vite": "^2.0.0"
6262
},
63+
"engines": {
64+
"pnpm": "7"
65+
},
6366
"publishConfig": {
6467
"access": "public"
6568
}

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)