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

39 lines
1.5 KiB
JSON

{
"private": true,
"name": "@safe-global/store",
"version": "1.0.0",
"main": "./src/index.ts",
"scripts": {
"test": "jest",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"type-check": "../../node_modules/tsgo/bin/tsc --noEmit --incremental false",
"prettier": "prettier --check . --config ../../.prettierrc --ignore-path ../../.prettierignore",
"prettier:fix": "prettier --write . --config ../../.prettierrc --ignore-path ../../.prettierignore",
"fetch-schema": "ts-node ./scripts/fetch-schema.ts > scripts/api-schema/schema.json",
"generate-api": "npx @rtk-query/codegen-openapi scripts/openapi-config.ts",
"write-schema-hash": "ts-node scripts/write-schema-hash.ts",
"build": "yarn fetch-schema && yarn generate-api && yarn write-schema-hash",
"build:dev": "NODE_ENV=dev yarn fetch-schema && yarn generate-api && yarn write-schema-hash",
"build:local": "NODE_ENV=local yarn fetch-schema && yarn generate-api && yarn write-schema-hash",
"check-sync": "ts-node scripts/check-auto-generated-sync.ts"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@safe-global/test": "workspace:^",
"@types/jest": "^29.5.14",
"eslint": "^9.29.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"jest": "^29.7.0",
"prettier": "^3.6.2",
"typescript": "6.0.3",
"typescript-eslint": "^8.31.1"
},
"dependencies": {
"jest-fixed-jsdom": "^0.0.10",
"redux-persist": "^6.0.0",
"ts-node": "^10.9.2"
}
}