mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
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]>
28 lines
632 B
JSON
28 lines
632 B
JSON
{
|
|
"name": "@safe-wallet/migrate-feature-codemod",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Codemod tool to migrate features to v3 architecture",
|
|
"type": "module",
|
|
"bin": {
|
|
"migrate-feature": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"migrate": "node dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^22.13.1",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"inquirer": "^11.1.0",
|
|
"jscodeshift": "^17.1.1",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/inquirer": "^9.0.7",
|
|
"@types/jscodeshift": "^0.12.0"
|
|
}
|
|
}
|