mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
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:
@@ -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
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"target": "ES2020",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"ignoreDeprecations": "6.0",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"sourceMap": true,
|
||||
|
||||
Reference in New Issue
Block a user