Skip to content

Commit 31808e7

Browse files
authored
chore: update to pnpm 7 (#75)
* chore: update to pnpm 7 * fix scripts
1 parent df1dcb0 commit 31808e7

File tree

4 files changed

+94
-41
lines changed

4 files changed

+94
-41
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/[email protected]
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/[email protected]
3434
with:
35-
version: 6
35+
version: 7
3636
run_install: true
3737

3838
- name: Unit test
@@ -68,7 +68,7 @@ jobs:
6868
6969
- uses: pnpm/[email protected]
7070
with:
71-
version: 6
71+
version: 7
7272
run_install: true
7373

7474
- name: Typecheck
@@ -98,7 +98,7 @@ jobs:
9898
9999
- uses: pnpm/[email protected]
100100
with:
101-
version: 6
101+
version: 7
102102
run_install: true
103103

104104
- name: Lint
@@ -128,7 +128,7 @@ jobs:
128128
129129
- uses: pnpm/[email protected]
130130
with:
131-
version: 6
131+
version: 7
132132
run_install: true
133133

134134
- name: Check format

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
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": "jest --forceExit --detectOpenHandles --testLocationInResults --json --outputFile=report.json",
27-
"test:watch": "pnpm run test -- --watch",
27+
"test:watch": "pnpm run test --watch",
2828
"typecheck": "tsc --noEmit",
2929
"release": "semantic-release"
3030
},
@@ -55,5 +55,8 @@
5555
"@feathersjs/adapter-commons": "^5.0.0-pre.3",
5656
"@feathersjs/feathers": "^5.0.0-pre.3",
5757
"vue": "^3.0.11"
58+
},
59+
"engines": {
60+
"pnpm": "7"
5861
}
5962
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)