Files
zeekayandHanzo Dev 0988173773 build: 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,
ts-jest and typescript-eslint cannot read it. It comes in aliased as tsgo and
does the typechecking; typescript stays on the 6 line for those tools.

Four settings the native compiler removed move with it. baseUrl is gone, so every
tsconfig that used it spells its own root as a "*" path; the shared base config's
@safe-global/* paths were only correct because baseUrl re-rooted them, and now
name the real directories from where they are written. moduleResolution node10
becomes bundler, downlevelIteration goes (it was a no-op at target esnext), and
apps/web declares '*.css' and '*.md'. Two sources follow: the faker import drops
its trailing '/.', and the IntersectionObserver mock gains scrollMargin.

All eight packages report 0 diagnostics before and after, identical on 6.0.3 and
7.0.2.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:44:22 -07:00

55 lines
1.5 KiB
JSON

{
"compilerOptions": {
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"*": ["./*"],
"@/*": ["./src/*"],
"@safe-global/safe-apps-sdk/*": ["../../node_modules/@safe-global/safe-apps-sdk/*"],
"@gnosis.pm/zodiac/*": ["../../node_modules/@gnosis.pm/zodiac/*"],
"@cowprotocol/app-data": ["../../node_modules/@cowprotocol/app-data"],
"@/public/*": ["./public/*"],
"@safe-global/theme/*": ["../../packages/theme/src/*"],
"@safe-global/store/*": ["../../packages/store/src/*"],
"@safe-global/utils/*": ["../../packages/utils/src/*"],
"@safe-global/test/*": ["../../config/test/*"],
"@/storybook/*": ["./.storybook/*"]
},
"plugins": [
{
"name": "typescript-plugin-css-modules"
},
{
"name": "next"
}
]
},
"include": [
"apps/web/next-env.d.ts",
"src/definitions.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".storybook/**/*.ts",
".storybook/**/*.tsx",
".storybook-vite/**/*.ts",
".storybook-vite/**/*.tsx",
"./jest.setup.js",
"./eslint.config.mjs",
"../../config/test/**/*.ts"
],
"exclude": ["node_modules", "src/types/contracts"]
}