Commit cebef55
`packages/console/README.md` claimed `resolveConsolePath()` "prefers
`@objectstack/console` and falls back to `@object-ui/console` when present
— so cloud's Docker overlay (which `cp -r`s its build over
`node_modules/@object-ui/console`) keeps working." Both halves are false
against `packages/cli/src/utils/console.ts`.
Strategies 1 and 2 (`require.resolve('@objectstack/console/package.json')`
from the app and from the CLI itself; direct
`<cwd>/node_modules/@objectstack/console`) each require the resolved
`package.json` to be named `@objectstack/console`, so the legacy npm
package is never consulted. `@object-ui/console` survives only in strategy
3, the sibling-repo dev fallback, which matches the `name` field of a
checked-out `../objectui/apps/console` source tree — a source-checkout
probe, not a package resolution. The corrected text keeps the two apart.
The trailing consequence was the load-bearing half: cloud and objectos
Docker images overlay into `@objectstack/console`'s `dist/`, so the README
told an operator their overlay works by a mechanism that no longer exists.
Docs only. The removal of the npm-package fallback was deliberate and is
not restored here; `packages/cli/src/utils/console.ts` is unchanged.
Claude-Session: https://claude.ai/code/session_019siH5jDmk5hrayvfyojUqR
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5e3caa1 commit cebef55
2 files changed
Lines changed: 48 additions & 4 deletions
| 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 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
0 commit comments