Commit 593d43b
feat(apps): split platform apps into one-app packages (ADR-0048) (#1813)
* feat(apps): scaffold @objectstack/studio app package (ADR-0048, boot-neutral)
ADR-0048 "one app per package": Studio becomes its own ObjectStack package
(`com.objectstack.studio`, namespace `studio`) so `/apps/<packageId>` resolves
unambiguously instead of being lost inside plugin-auth's multi-app manifest.
This commit is intentionally boot-neutral:
- New package `packages/apps/studio` with a thin `StudioAppPlugin` that registers
the Studio manifest; STUDIO_APP is still imported from platform-objects
(transitional) and the package is NOT yet wired into the dev/serve plugin set.
- Adds `packages/apps/*` to the pnpm workspace globs and `@objectstack/studio`
to the changeset fixed group.
Boot path (dev-plugin/serve.ts) and plugin-auth's manifest are untouched, so
`os dev`/`os serve` behaviour is unchanged. The boot-path switch (wire the new
package, drop the app from plugin-auth, move the AppSchema in) lands separately
so it can be verified against a live boot.
Builds clean (tsup CJS/ESM/DTS).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(apps): scaffold @objectstack/setup app package (ADR-0048, boot-neutral)
Mirrors @objectstack/studio: Setup becomes its own package
(`com.objectstack.setup`, namespace `setup`) carrying SETUP_APP and its baseline
SETUP_NAV_CONTRIBUTIONS. Boot-neutral (transitional import from platform-objects;
not yet wired into dev/serve). Added to the changeset fixed group. Builds clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(apps): reclaim @objectstack/account for console Account app; drop dead SPA (ADR-0048)
Removes the deprecated standalone account-portal SPA (apps/account) and reclaims
the @objectstack/account name for the console Account app as its own package
(`com.objectstack.account`, namespace `account`). Boot-neutral skeleton (mirrors
studio/setup): thin AccountAppPlugin, transitional import from platform-objects,
not yet wired into dev/serve. CLI's vestigial workspace dep now resolves to the
reclaimed package (no code imported the old SPA). Builds clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* feat(apps): wire Setup/Studio/Account app packages into dev+serve; drop from plugin-auth (ADR-0048)
1 parent 253b996 commit 593d43b
117 files changed
Lines changed: 808 additions & 15050 deletions
File tree
- .changeset
- apps/account
- mocks
- src
- components
- auth
- ui
- hooks
- i18n
- locales
- lib
- routes
- packages
- apps
- account
- src
- setup
- src
- studio
- src
- cli
- src
- commands
- plugins
- plugin-auth/src
- plugin-dev
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
This file was deleted.
0 commit comments