Commit c76cae9
chore(deps): migrate to pnpm 11 (#2)
* chore(deps): migrate pnpm config from package.json to pnpm-workspace.yaml; bump packageManager to pnpm 11
- Remove `pnpm.onlyBuiltDependencies` from package.json (removed in pnpm 11)
- Create pnpm-workspace.yaml with allowBuilds map (esbuild, lefthook)
- Bump packageManager to pnpm@11.1.3
- Bump engines.pnpm to >=11.0.0
Removes the pnpm 10 pin that was a tactical measure during the Node 22
engine bump. Reference: https://pnpm.io/migration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci(snyk): pass --all-projects flag
Snyk's pnpm plugin now sees pnpm-workspace.yaml (added in the prior
commit for the pnpm 11 migration) and treats the repo as a monorepo.
Without --all-projects it errors with SNYK-CLI-0000:
Both `pnpm-lock.yaml` and `pnpm-workspace.yaml` were found in
/github/workspace.
Please run your command again specifying `--all-projects` flag.
This repo is single-project; --all-projects is the right answer per
Snyk's own error message. No behaviour change for a single-project
scan; just unblocks the workflow under the new pnpm config layout.
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7edef88 commit c76cae9
5 files changed
Lines changed: 12 additions & 1012 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 94 | + | |
102 | 95 | | |
103 | 96 | | |
0 commit comments