Files
bridge/package.json
T
zeekayandHanzo Dev eb72965d75 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
ts-jest and typescript-eslint cannot read it (an earlier bare-7 pin here
had to be reverted for exactly that). It comes in aliased as tsgo and does
the typechecking; typescript stays on the 6 line for the tools. tsgo
surfaced two native-compiler gaps not present under tsc 6.0.3: a JS-inference
miss on two @luxfi/utila exports (app/server), and a missing CSS side-effect
ambient declaration that also covers @luxdefi/ui's own unbuilt .tsx source
(app/explorer). Both fixed with narrow ambient declarations. 16 diagnostics
across the 11 workspace packages before and after.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 23:05:44 -07:00

50 lines
1.2 KiB
JSON

{
"name": "bridge",
"version": "1.1.1",
"description": "Lux Bridge - Decentralized cross-chain bridge using MPC",
"packageManager": "[email protected]",
"main": "index.js",
"scripts": {
"start": "node index.js",
"install:all": "pnpm install",
"postinstall": "node scripts/patch-hanzogui-exports.cjs",
"test": "echo 'Run tests in individual packages'",
"ci:test": "pnpm -r test",
"typecheck": "for d in app/bridge app/bridge3 app/explorer app/server pkg/bridge pkg/core pkg/settings pkg/threshold pkg/ui pkg/utila e2e; do node_modules/tsgo/bin/tsc --noEmit --incremental false -p $d/tsconfig.json || exit 1; done"
},
"keywords": [
"bridge",
"mpc",
"cross-chain",
"lux"
],
"author": "Lux Network",
"license": "BSD-3-Clause",
"dependencies": {
"@noble/ed25519": "^3.1.0"
},
"workspaces": [
"app/*",
"pkg/*",
"contracts"
],
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@hanzo/auth",
"@hanzo/commerce",
"firebase",
"firebase-admin"
]
},
"overrides": {
"keccak": "3.0.4",
"lucide-react": "1.16.0"
}
},
"devDependencies": {
"playwright": "^1.60.0",
"tsgo": "npm:[email protected]"
}
}