Skip to content

Commit 83ab76d

Browse files
authored
Upgrade to pnpm@11.1.3 (#278)
1 parent 4819d17 commit 83ab76d

3 files changed

Lines changed: 13 additions & 16 deletions

File tree

.github/workflows/test-and-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
cache: 'pnpm'
3434

3535
- name: Install dependencies
36-
run: pnpm install
36+
run: pnpm install --frozen-lockfile
3737

3838
- name: Build
3939
run: pnpm run build
4040

4141
- name: Install dependencies
42-
run: pnpm install
42+
run: pnpm install --frozen-lockfile
4343

4444
- name: Type check tests
4545
run: pnpm run check-types
@@ -78,7 +78,7 @@ jobs:
7878
cache: 'pnpm'
7979

8080
- name: Install dependencies
81-
run: pnpm install
81+
run: pnpm install --frozen-lockfile
8282

8383
- name: Install Zero (matrix)
8484
if: matrix.zero != 'current'
@@ -88,7 +88,7 @@ jobs:
8888
run: pnpm run build
8989

9090
- name: Install dependencies
91-
run: pnpm install
91+
run: pnpm install --frozen-lockfile
9292

9393
- name: Run ${{ matrix.test-suite }} tests (PG ${{ matrix.pg-version }})
9494
run: cd ${{ matrix.test-suite }} && PG_VERSION=${{ matrix.pg-version }} pnpm test

package.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"check-types": "tsc",
1313
"lint": "oxlint --type-aware --quiet",
1414
"test": "vitest run --typecheck --coverage",
15-
"test:ui": "vitest --ui"
15+
"test:ui": "vitest --ui",
16+
"prepare": "pnpm run build"
1617
},
1718
"bin": {
1819
"drizzle-zero": "./dist/cli/index.js"
@@ -106,16 +107,6 @@
106107
"vitest": "^4.1.3",
107108
"ws": "^8.20.0"
108109
},
109-
"pnpm": {
110-
"onlyBuiltDependencies": [
111-
"@rocicorp/zero-sqlite3",
112-
"cpu-features",
113-
"esbuild",
114-
"msw",
115-
"protobufjs",
116-
"ssh2"
117-
]
118-
},
119-
"packageManager": "pnpm@10.18.3",
110+
"packageManager": "pnpm@11.1.3",
120111
"prettier": "@rocicorp/prettier-config"
121112
}

pnpm-workspace.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ packages:
33
- 'no-config-integration'
44
- 'custom-types'
55
- 'db'
6+
allowBuilds:
7+
'@rocicorp/zero-sqlite3': true
8+
cpu-features: true
9+
esbuild: true
10+
protobufjs: true
11+
ssh2: true

0 commit comments

Comments
 (0)