Skip to content

Commit 2d5888c

Browse files
DASPRiDclaude
andcommitted
chore: upgrade to pnpm 11
Bumps packageManager to pnpm 11 on the starter itself and on the generated project, migrates both pnpm-workspace.yaml files to the new allowBuilds map format, and raises the createPnpmVersionTask floor so the scaffold refuses to run on older pnpm versions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3efaaca commit 2d5888c

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
"enquirer": "^2.4.1",
4141
"listr2": "^9.0.5"
4242
},
43-
"packageManager": "pnpm@10.15.0+sha512.486ebc259d3e999a4e8691ce03b5cac4a71cbeca39372a9b762cb500cfdf0873e2cb16abe3d951b1ee2cf012503f027b98b6584e4df22524e0c7450d9ec7aa7b"
43+
"packageManager": "pnpm@11.0.9+sha512.34ce82e6780233cf9cad8685029a8f81d2e06196c5a9bad98879f7424940c6817c4e4524fb7d38b8553ceed48b9758b8ebaf1abd3600c232c4c8cf7366086f38"
4444
}

pnpm-workspace.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
onlyBuiltDependencies:
2-
- '@biomejs/biome'
3-
- esbuild
4-
- lefthook
1+
sideEffectsCache: false
2+
allowBuilds:
3+
'@biomejs/biome': true
4+
esbuild: true
5+
lefthook: true

skeleton/pnpm-workspace.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
onlyBuiltDependencies:
2-
- '@biomejs/biome'
3-
- '@swc/core'
4-
- esbuild
5-
- lefthook
6-
- sharp
1+
allowBuilds:
2+
'@biomejs/biome': true
3+
'@swc/core': true
4+
esbuild: true
5+
lefthook: true
6+
sharp: true

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { synthTask } from "./tasks/synth.js";
1616
await runPipeline({
1717
packageName: "@soliantconsulting/create-react-app",
1818
tasks: [
19-
createPnpmVersionTask("10.15.0"),
19+
createPnpmVersionTask("11.0.0"),
2020
createProjectTask(),
2121
createAwsEnvTask(),
2222
createBitbucketRepositoryTask(),

0 commit comments

Comments
 (0)