Commit fa4cf84
committed
fix(shared): restore cache-paths subpath export (required at runtime)
Reverts the previous "keep cache-paths internal" change, which broke the
Playground Integration Tests with ERR_PACKAGE_PATH_NOT_EXPORTED. The export IS
load-bearing on a path the earlier verification missed: dev-playground runs its
server via `tsx` under the `development` export condition, so @databricks/appkit
resolves to SOURCE, whose `import "shared/cli/commands/cache-paths"` is a bare
cross-package specifier that tsx resolves through shared's package.json exports
map at runtime — tsconfig `paths` do not apply there. Without the export the
server never boots and Playwright times out.
Re-add the tsdown entry (which regenerates the export) with a comment
explaining the runtime dependency so it isn't dropped again. The export is
monorepo-internal only: shared is private and appkit bundles it inline
(noExternal), so it never reaches published-appkit consumers. Verified by
booting the dev-playground server under the development condition (starts
clean, no export error).
xavier loop: iteration 8 -- restore runtime-required cache-paths export
Co-authored-by: Isaac
Signed-off-by: Atila Fassina <atila@fassina.eu>1 parent 640d464 commit fa4cf84
2 files changed
Lines changed: 16 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| |||
0 commit comments