Commit ea6ecda
fix(ci): run codegen/build explicitly for vercel deploys under pnpm 11
pnpm 11 no longer fires the install-time root `prepare` (build-fast) on
Vercel, so each deploy hit a missing artifact. Move the build
prerequisites into explicit `pre<script>` hooks instead of relying on the
lifecycle:
- website: prebuild now runs `panda codegen` (generates styled-system)
- playground: add prebuild to build packages + db:generate + css:codegen
- studio: add predeploy-studio to build packages so cli/dist exists before
`node ../cli/bin.js codegen`
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 25cc0d7 commit ea6ecda
3 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments