Skip to content

Commit 4d2da67

Browse files
committed
bug #13 Leverage tsconfig.json configuration to `@tsconfig/node22` (Kocal)
This PR was merged into the main branch. Discussion ---------- Leverage `tsconfig.json` configuration to ``@tsconfig`/node22` | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to open an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice with a description of your feature or bugfix. This helps reviewers and is a good starting point for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against the main branch. - Update or add documentation as required (we can help!). - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 4776d5e Leverage `tsconfig.json` configuration to ``@tsconfig`/node22`
2 parents 27a3819 + 4776d5e commit 4d2da67

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

assets/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"@hotwired/stimulus": "^3.2.2",
8080
"@rsbuild/core": "^2.1.5",
8181
"@rspack/core": "~2.1.3",
82+
"@tsconfig/node22": "^22.0.5",
8283
"@types/node": "^26.1.0",
8384
"jsdom": "^29.1.1",
8485
"nodemon": "^3.1.14",

assets/tsconfig.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
2+
"extends": "@tsconfig/node22/tsconfig.json",
23
"compilerOptions": {
3-
"target": "es2017",
4-
"lib": ["esnext", "DOM"],
5-
"module": "esnext",
6-
"moduleResolution": "bundler",
74
"resolveJsonModule": true,
8-
"strict": true,
9-
"strictNullChecks": true,
10-
"esModuleInterop": true
5+
"strictNullChecks": true
116
},
127
"exclude": ["dist"]
138
}

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)