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

51 lines
1.8 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,
"types": ["vite/client", "jest", "@testing-library/jest-dom"],
"paths": {
"*": ["./*"],
"@/*": ["../web/src/*"],
"@/public/*": ["../web/public/*"],
"@/storybook/*": ["../web/.storybook/*"],
"src/*": ["../web/src/*"],
"@safe-global/theme/*": ["../../packages/theme/src/*"],
"@safe-global/store/*": ["../../packages/store/src/*"],
"@safe-global/utils/*": ["../../packages/utils/src/*"],
"@safe-global/test/*": ["../../config/test/*"],
"@safe-global/safe-apps-sdk/dist/types/types/permissions": [
"../../node_modules/@safe-global/safe-apps-sdk/dist/types/types/permissions"
],
"@gnosis.pm/zodiac/dist/cjs/types/Delay": ["../../node_modules/@gnosis.pm/zodiac/dist/cjs/types/Delay"],
"next/dist/client/resolve-href": ["./src/compat/next-resolve-href.ts"],
"next/router": ["./src/compat/next-router.tsx"],
"next/link": ["./src/compat/next-link.tsx"],
"next/head": ["./src/compat/next-head.tsx"],
"next/dynamic": ["./src/compat/next-dynamic.tsx"],
"next/image": ["./src/compat/next-image.tsx"],
"next/app": ["./src/compat/next-app.ts"],
"next/navigation": ["./src/compat/next-navigation.tsx"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"vite.config.ts",
"../web/src/definitions.d.ts",
"../web/src/components/theme/mui.d.ts"
],
"exclude": ["node_modules", "dist", "cypress"]
}