fix: add tsconfig paths for workspace package resolution

bun workspace:^ deps don't create node_modules symlinks,
so tsc can't resolve @uncaged/* packages by name.
Add explicit paths mapping to fix tsc --build.
This commit is contained in:
2026-05-25 04:08:14 +00:00
parent 0706307e85
commit b062fcbc44
+5
View File
@@ -10,6 +10,11 @@
"noImplicitOverride": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"paths": {
"@uncaged/json-cas": ["./packages/json-cas/src/index.ts"],
"@uncaged/json-cas-fs": ["./packages/json-cas-fs/src/index.ts"],
"@uncaged/json-cas-workflow": ["./packages/json-cas-workflow/src/index.ts"]
},
"composite": true,
"declaration": true,
"declarationMap": true,