Commit 4641a0c
refactor: move platform workspaces from packages/ to apps/ and decouple site deps
Platform packages are internal deployment wrappers, not publishable
artifacts. Moving them out of packages/ keeps the publish workflow's
globs untouched and matches the repo convention (apps/* = internal,
packages/* = published).
Also removes @node-core/platform-vercel and @node-core/platform-cloudflare
from apps/site's dependencies. They're now declared as optional peer
dependencies so:
- A standalone install (no DEPLOY_TARGET) pulls in zero platform deps.
- Vercel's installCommand scopes install to @node-core/website and
@node-core/platform-vercel (skipping Cloudflare/OpenNext deps).
- The Cloudflare deploy workflow scopes install to @node-core/website
and @node-core/platform-cloudflare (skipping @vercel/* deps).
Co-Authored-By: Claude Opus 4.7 <[email protected]>1 parent 0ac46dc commit 4641a0c
29 files changed
Lines changed: 100 additions & 90 deletions
File tree
- .github
- workflows
- apps
- cloudflare
- src
- site
- vercel
- __tests__
- src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments