The web packages were authored against the old single-stage layout where tsc emitted directly to lib/. Master compiles declarations to lib/types/ via tsc -b, then bundles JS into lib/ via tsdown. Point every web package's tsc outDir at lib/types, update package.json types/exports/files to the lib/types declaration + lib/ bundle shape (matching dsh-bash/dsh-tool-bash), and bundle tool-web's subpath entries from lib/types/*.js rather than src.
18 lines
439 B
JSON
18 lines
439 B
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": ["src"],
|
|
"references": [
|
|
{ "path": "../../../vendor/cosmokit" },
|
|
{ "path": "../../../vendor/cordis" },
|
|
{ "path": "../../../vendor/schemastery" },
|
|
{ "path": "../../llm/llm" },
|
|
{ "path": "../../core/tools" },
|
|
{ "path": "../../core/system-prompt" },
|
|
{ "path": "../web" }
|
|
]
|
|
}
|