Regenerated pnpm-lock.yaml online so it matches the manifests (it was missing typescript@^5.8.3 and @types/node) — `pnpm install --frozen-lockfile` now passes, which is exactly what Cloudflare runs (ERR_PNPM_OUTDATED_LOCKFILE gone). Regenerating resolved typescript 5.9.3 (from 5.8.x), which surfaced TS2488 in world-viewer: iterating a NodeListOf now needs DOM.Iterable in `lib`. Added it to packages/world-viewer/tsconfig.json. Full workspace build + typecheck + test are green under the new toolchain. Restored --frozen-lockfile in pr.yml/deploy-site.yml (the lock is correct now). Cloudflare: set the build command to `pnpm run build:site`; deploy stays `npx wrangler deploy`.
28 lines
810 B
JSON
28 lines
810 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noImplicitOverride": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noEmitOnError": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"rootDir": ".",
|
|
"outDir": "dist",
|
|
"skipLibCheck": true,
|
|
"paths": {
|
|
"@lawsynth/chart-core": ["../chart-core/dist/src/index.d.ts"],
|
|
"@lawsynth/layout-engine": ["../layout-engine/dist/src/index.d.ts"],
|
|
"@lawsynth/world-schema": ["../world-schema/dist/src/index.d.ts"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|