Files
zeekayandHanzo Dev 341175f458 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
next 14/15 and @typescript-eslint cannot read it. It comes in aliased as tsgo
and does the typechecking; typescript stays on the 6 line for the tools.

Five things the 6 line no longer accepts came with the bump. app/site targeted
ES5, which is gone, so it targets ES2017. app/investor's side-effect import of
globals.css needs an ambient declaration. base64ToBytes returns a
Uint8Array<ArrayBuffer>, which is what Blob takes now. pkg/ui skips lib checks
like every other project here. pkg/brand really does use process, Buffer and
require, so it depends on @types/node and asks for it by name.

Two diagnostics before and after, the same two under both compilers.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 22:46:30 -07:00

40 lines
1.1 KiB
JSON

{
"name": "@luxbank/investor",
"version": "0.1.1",
"private": true,
"scripts": {
"typecheck": "../../node_modules/tsgo/bin/tsc --noEmit --incremental false",
"dev": "next dev -p 3002",
"build": "next build",
"export": "STATIC_EXPORT=true next build",
"deploy:cf": "pnpm export && wrangler pages deploy out --project-name=lux-financial-investor",
"start": "next start -p 3002",
"lint": "next lint",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@hanzo/font": "^1.9.3",
"@luxbank/brand": "workspace:*",
"@luxfi/logo": "^1.0.0",
"jose": "^5.9.6",
"next": "^15.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/node": "^20",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4",
"happy-dom": "^15.11.7",
"postcss": "^8.4.49",
"tailwindcss": "^4.0.0",
"typescript": "6.0.3",
"vitest": "^2.1.8"
}
}