Skip to content

Commit

Permalink
@tsconfig/node22
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Dec 18, 2024
1 parent 2fc8444 commit 613236d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ignores:
- '@metamask/phishing-warning' # statically hosted as part of some e2e tests
- '@metamask/test-dapp'
- '@metamask/design-tokens' # Only imported in index.css
- '@tsconfig/node20' # required dynamically by TS, used in tsconfig.json
- '@tsconfig/node22' # required dynamically by TS, used in tsconfig.json
- '@sentry/cli' # invoked as `sentry-cli`
- 'chromedriver'
- 'depcheck' # ooo meta
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@
"@testing-library/react": "^10.4.8",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@tsconfig/node20": "^20.1.2",
"@tsconfig/node22": "^22.0.0",
"@types/babelify": "^7.3.7",
"@types/browserify": "^12.0.37",
"@types/chrome": "^0.0.268",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// directories that make sense for their environment.
// I think this would eliminate a lot of eslint overrides complexity
// In the meantime, we need DOM libs and should target the ES version in
// "@tsconfig/node20/tsconfig.json" (`libs` here overwrites extends's `libs`)
// "@tsconfig/node22/tsconfig.json" (`libs` here overwrites extends's `libs`)
"lib": ["DOM", "es2023"],
// we only use tsc for type checking (yarn lint:tsc)
"noEmit": true,
Expand All @@ -30,7 +30,7 @@
"**/*.stories.ts"
],
// this should match our node version in .nvmrc
"extends": "@tsconfig/node20/tsconfig.json",
"extends": "@tsconfig/node22/tsconfig.json",
"include": [
"app",
"development",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10062,10 +10062,10 @@ __metadata:
languageName: node
linkType: hard

"@tsconfig/node20@npm:^20.1.2":
version: 20.1.2
resolution: "@tsconfig/node20@npm:20.1.2"
checksum: 10/fc126e15f0817bd328c15bd6be7972f01ef4d55ceb493c7a83ccb9dd545e39f218711f330e3df4072b116b11180c07943da2b2bfcd7adc58414cb586db52a4c8
"@tsconfig/node22@npm:^22.0.0":
version: 22.0.0
resolution: "@tsconfig/node22@npm:22.0.0"
checksum: 10/9fc45789304640e1e37e1f1e04c02dca593c290d4f1cb55af7e9cab799fb2c6356e1cc15ee9f140185591a81f491a4c7f2d6c08c1e5a3d758658ba69f1afee6d
languageName: node
linkType: hard

Expand Down Expand Up @@ -26691,7 +26691,7 @@ __metadata:
"@testing-library/react-hooks": "npm:^8.0.1"
"@testing-library/user-event": "npm:^14.4.3"
"@trezor/connect-web": "npm:^9.4.0"
"@tsconfig/node20": "npm:^20.1.2"
"@tsconfig/node22": "npm:^22.0.0"
"@types/babelify": "npm:^7.3.7"
"@types/browserify": "npm:^12.0.37"
"@types/chrome": "npm:^0.0.268"
Expand Down

0 comments on commit 613236d

Please sign in to comment.