mirror of
https://github.com/hanzoai/extension.git
synced 2026-10-31 21:57:06 +00:00
The build stopped at tsup's dts step. tsup 8.5.1, the last release, passes `baseUrl` to the compiler it uses for declarations, and TypeScript 6 rejects `baseUrl` outright (TS5101), so every cards build failed. That build is the second step of the CI gate (hanzo.yml and .github/workflows/ci.yml), and publish.yml runs it without `|| true`, so it stopped CI and would stop the next npm publish. tsup still bundles the CJS and ESM JavaScript. The declarations come from `tsc -p tsconfig.build.json`, the compiler the package already has, with no option to silence. dist/ gains one .d.ts per source module where tsup wrote one bundled file; `types` still points at dist/index.d.ts. Co-authored-by: Hanzo Dev <[email protected]>
10 lines
173 B
JSON
10 lines
173 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"emitDeclarationOnly": true,
|
|
"declarationMap": false
|
|
},
|
|
"include": ["src/**/*"]
|
|
}
|