build(threshold,core): silence TS7 node10 moduleResolution deprecation

The bridge image build (root Dockerfile) compiles pkg/threshold + pkg/core
to dist/ before the Vite app build. Under the runner's TypeScript 7 the
deprecated moduleResolution:node (node10) is a hard error (TS5107), so
'Build & push' failed at 'pnpm -C pkg/threshold build'. Add the prescribed
ignoreDeprecations:6.0 escape (inherited by the .cjs.json configs via
extends) — no emit change. Unblocks ghcr.io/luxfi/bridge:main.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-07-19 01:46:53 -07:00
co-authored by Hanzo Dev
parent ec07ae9214
commit ff351f7ac1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
"target": "ES2022", // Use modern JavaScript features
"module": "ESNext", // Generate ES modules
"moduleResolution": "Node", // Resolve Node.js modules
"ignoreDeprecations": "6.0", // Silence TS7 node10 moduleResolution deprecation (build parity)
"strict": true, // Enable strict type-checking
"esModuleInterop": true, // Interop for CommonJS modules
"allowSyntheticDefaultImports": true, // Support default imports
+1
View File
@@ -3,6 +3,7 @@
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "node",
"ignoreDeprecations": "6.0",
"declaration": true,
"declarationMap": true,
"sourceMap": true,