Skip to content

Commit a19e166

Browse files
authored
Manage pnpm using corepack (#203)
* Node 22.14.0 * Manage pnpm version using packageManager field. * Test on pull_request. * Add changeset. * Upgrade vitest and esbuild.
2 parents 58190e5 + 61654bb commit a19e166

File tree

12 files changed

+491
-386
lines changed

12 files changed

+491
-386
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@powersync/service-image': patch
3+
---
4+
5+
Upgrade to Node 22.14.0.

.github/workflows/development_image_release.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737

3838
- uses: pnpm/action-setup@v4
3939
name: Install pnpm
40-
with:
41-
version: 9
42-
run_install: false
4340

4441
- name: Get pnpm store directory
4542
shell: bash

.github/workflows/development_packages_release.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323

2424
- uses: pnpm/action-setup@v4
2525
name: Install pnpm
26-
with:
27-
version: 9
28-
run_install: false
2926

3027
- name: Get pnpm store directory
3128
shell: bash

.github/workflows/packages_release.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424

2525
- uses: pnpm/action-setup@v4
2626
name: Install pnpm
27-
with:
28-
version: 9
29-
run_install: false
3027

3128
- name: Get pnpm store directory
3229
shell: bash

.github/workflows/test.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build and Test
22

33
on:
44
workflow_dispatch:
5+
pull_request:
56
push:
67
branches:
78
- '**'
@@ -51,9 +52,6 @@ jobs:
5152

5253
- uses: pnpm/action-setup@v4
5354
name: Install pnpm
54-
with:
55-
version: 9
56-
run_install: false
5755

5856
- name: Get pnpm store directory
5957
shell: bash
@@ -129,9 +127,6 @@ jobs:
129127

130128
- uses: pnpm/action-setup@v4
131129
name: Install pnpm
132-
with:
133-
version: 9
134-
run_install: false
135130

136131
- name: Get pnpm store directory
137132
shell: bash
@@ -207,9 +202,6 @@ jobs:
207202

208203
- uses: pnpm/action-setup@v4
209204
name: Install pnpm
210-
with:
211-
version: 9
212-
run_install: false
213205

214206
- name: Get pnpm store directory
215207
shell: bash
@@ -272,9 +264,6 @@ jobs:
272264

273265
- uses: pnpm/action-setup@v4
274266
name: Install pnpm
275-
with:
276-
version: 9
277-
run_install: false
278267

279268
- name: Get pnpm store directory
280269
shell: bash

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.13.1
1+
v22.14.0

libs/lib-services/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"devDependencies": {
3636
"@types/lodash": "^4.17.5",
3737
"@types/uuid": "^9.0.4",
38-
"vitest": "^2.1.1"
38+
"vitest": "^3.0.5"
3939
}
4040
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@
3737
"tsc-watch": "^6.2.0",
3838
"ts-node-dev": "^2.0.0",
3939
"typescript": "^5.7.3",
40-
"vite-tsconfig-paths": "^4.3.2",
41-
"vitest": "^2.1.1",
40+
"vite-tsconfig-paths": "^5.1.4",
41+
"vitest": "^3.0.5",
4242
"ws": "^8.2.3"
43-
}
43+
},
44+
"packageManager": "[email protected]+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4"
4445
}

packages/service-core-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@powersync/service-sync-rules": "workspace:^"
2020
},
2121
"peerDependencies": {
22-
"vite-tsconfig-paths": "^4.3.2",
23-
"vitest": "^2.1.1"
22+
"vite-tsconfig-paths": "^5.1.4",
23+
"vitest": "^3.0.5"
2424
},
2525
"devDependencies": {
2626
"typescript": "^5.7.3"

packages/sync-rules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@types/node": "^22.5.5",
33-
"vitest": "^2.1.1",
33+
"vitest": "^3.0.5",
3434
"@types/uuid": "^9.0.4"
3535
}
3636
}

0 commit comments

Comments
 (0)