Commit 207d9b8
committed
chore: bump pnpm to 11
Migrates the monorepo from pnpm 9 to pnpm 11 and the GitHub Action to
pnpm/action-setup@v6. Also handles the related defaults that pnpm 11
flips on:
- `allowBuilds` replaces `onlyBuiltDependencies` — populated at the root
workspace and at every nested workspace (e2e, examples/*, templates/*)
so installs don't error with `ERR_PNPM_IGNORED_BUILDS`.
- `blockExoticSubdeps: false` in `examples/multiple-accounts` because an
older published `@latticexyz/store-sync` resolves `clarinet` from a
git tarball.
- `preferSymlinkedExecutables: true` at the root as a workaround for
turbo 1.9.3, whose postinstall replaces its `bin/turbo` JS shim with a
Mach-O binary that pnpm 11's default node-wrapped shim can't exec.
- `packageManagerStrict: false` at the root, replacing the now-redundant
`packages/explorer/.npmrc`.
- `pnpm_config_minimum_release_age: 0` in the published-packages test
workflow so it can resolve packages immediately after publish (pnpm 11
defaults this to 1 day).
- Docker pnpm cache mount id bumped to `pnpm-v11` since pnpm 11 changes
the store layout.1 parent 0e49b51 commit 207d9b8
28 files changed
Lines changed: 95 additions & 16 deletions
File tree
- .github
- actions/setup-prerequisites
- workflows
- e2e
- examples
- custom-world
- faucet-client
- indexer-client
- local-explorer
- minimal
- multiple-accounts
- multiple-namespaces
- packages/explorer
- templates
- phaser
- react-ecs
- react
- threejs
- vanilla
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
0 commit comments