Commit c69b8a9
fix(create-app): allowlist
pnpm 11 (`strictDepBuilds: true`) hard-errors a fresh install when a dependency
has an unapproved build script. `@slidev/cli` pulls in the native `better-sqlite3`
(optionalDependency, for the dev editor's deck-state history), so scaffolded
projects and the Smoke test failed at install with `ERR_PNPM_IGNORED_BUILDS`.
Add it to the template's `allowBuilds` alongside `playwright-chromium`, so a
scaffolded deck builds the native binary up-front and gets full undo/redo history.
A consumer that prefers no native build can move it to `ignoredBuiltDependencies`
(the cli degrades to `LocalStateClient` — see the prior `fix(state)` commit).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>better-sqlite3 build in scaffold template1 parent 7f597ea commit c69b8a9
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
| 14 | + | |
7 | 15 | | |
0 commit comments