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

44 lines
1.4 KiB
JSON

{
"private": true,
"name": "@safe-global/utils",
"description": "A collection of utility functions used across the Safe apps",
"version": "1.0.0",
"scripts": {
"test": "jest",
"test:integration": "jest --config jest.integration.config.js",
"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",
"test:coverage": "jest --coverage"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@faker-js/faker": "^9.0.3",
"@types/jest": "^29.5.14",
"eslint": "^9.29.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"ethers": "6.17.0",
"jest": "^29.7.0",
"prettier": "^3.6.2",
"typescript": "6.0.3",
"typescript-eslint": "^8.31.1"
},
"dependencies": {
"@cowprotocol/sdk-app-data": "5.3.2",
"@noble/curves": "1.9.7",
"@noble/hashes": "1.8.0",
"@testing-library/react": "^16.3.0",
"date-fns": "^4.1.0",
"jest-fixed-jsdom": "^0.0.10",
"ts-node": "^10.9.2"
},
"peerDependencies": {
"@safe-global/protocol-kit": "^8.0.6",
"@safe-global/store": "*",
"@safe-global/types-kit": "^3.1.x"
}
}