Skip to content

Commit 6c3abf7

Browse files
chore: Update to pnpm v8 (#5476)
1 parent dd5b64a commit 6c3abf7

4 files changed

Lines changed: 241 additions & 1155 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fetch-depth: '0'
2828
- uses: pnpm/[email protected]
2929
with:
30-
version: 7
30+
version: 8
3131
- uses: actions/setup-node@v3
3232
with:
3333
node-version: 16.14.2

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
repository: ${{github.event.pull_request.head.repo.full_name}}
2020
- uses: pnpm/[email protected]
2121
with:
22-
version: 7
22+
version: 8
2323
- uses: actions/setup-node@v3
2424
with:
2525
node-version: 16.14.2
@@ -39,7 +39,7 @@ jobs:
3939
repository: ${{github.event.pull_request.head.repo.full_name}}
4040
- uses: pnpm/[email protected]
4141
with:
42-
version: 7
42+
version: 8
4343
- uses: actions/setup-node@v3
4444
with:
4545
node-version: 16.14.2
@@ -76,7 +76,7 @@ jobs:
7676
repository: ${{github.event.pull_request.head.repo.full_name}}
7777
- uses: pnpm/[email protected]
7878
with:
79-
version: 7
79+
version: 8
8080
- uses: actions/setup-node@v3
8181
with:
8282
node-version: 16.14.2
@@ -95,7 +95,7 @@ jobs:
9595
repository: ${{github.event.pull_request.head.repo.full_name}}
9696
- uses: pnpm/[email protected]
9797
with:
98-
version: 7
98+
version: 8
9999
- uses: actions/setup-node@v3
100100
with:
101101
node-version: 16.14.2

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "query",
33
"repository": "https://github.com/tanstack/query.git",
4+
"packageManager": "[email protected]",
45
"scripts": {
56
"clean": "pnpm --filter \"./packages/**\" run clean",
67
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
7-
"install:csb": "pnpm install --frozen-lockfile",
8+
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
89
"test": "pnpm run test:ci",
910
"test:ci": "nx affected --targets=test:lib,test:types,test:eslint,test:format --parallel=5",
1011
"test:react:17": "nx affected --target=test:lib --parallel=5",

0 commit comments

Comments
 (0)