Commit 49f63c7
committed
fix: add pnpm build approvals for
When using pnpm v11, creating a Cloudflare-deployed project fails because
`wrangler` transitively depends on `sharp` and `workerd`, which have build
scripts that are not listed in `pnpm.onlyBuiltDependencies`.
Add these entries to both the React and Solid Cloudflare host `package.json.ejs`
templates so they are merged with the base approvals at project creation time.sharp and workerd in Cloudflare deployment add-on1 parent 12c31df commit 49f63c7
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- packages/create/src/frameworks
- react/hosts/cloudflare
- solid/hosts/cloudflare
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
0 commit comments