Commit 640d464
committed
refactor(shared): keep cache-paths internal (drop public subpath export)
The cache-path resolvers are an internal monorepo helper, not part of the
shared package's public API. The previous commit exposed them as a
"./cli/commands/cache-paths" export (a side effect of adding a tsdown entry,
which makes the exports plugin generate the mapping) — leaking shared's
internal file layout for no benefit.
appkit resolves the import via its tsconfig `paths` alias and bundles shared
inline (noExternal), so the export is not load-bearing: dropping the tsdown
entry (and thus the generated export) keeps typecheck, appkit build, vitest,
and docs:build all green. shared stays private; cache-paths stays internal.
xavier loop: iteration 7 -- keep cache-paths internal
Co-authored-by: Isaac
Signed-off-by: Atila Fassina <atila@fassina.eu>1 parent bccf630 commit 640d464
2 files changed
Lines changed: 1 addition & 14 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
39 | 35 | | |
40 | 36 | | |
41 | 37 | | |
42 | | - | |
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 5 | + | |
14 | 6 | | |
15 | 7 | | |
16 | 8 | | |
| |||
0 commit comments