Skip to content

Commit 40cb56f

Browse files
committed
chore: upgrade TypeScript to 6.0.2
1 parent 6c85bde commit 40cb56f

3 files changed

Lines changed: 31 additions & 27 deletions

File tree

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
"release": "node ./scripts/release.mjs",
2828
"bump": "npx bumpp --no-push --no-tag --no-commit"
2929
},
30-
"files": ["client", "dist", "exports"],
30+
"files": [
31+
"client",
32+
"dist",
33+
"exports"
34+
],
3135
"simple-git-hooks": {
3236
"pre-commit": "npx nano-staged"
3337
},
@@ -52,7 +56,7 @@
5256
"semver": "7.7.4",
5357
"simple-git-hooks": "^2.13.1",
5458
"ts-node": "^10.9.2",
55-
"typescript": "5.9.3"
59+
"typescript": "^6.0.2"
5660
},
5761
"dependencies": {
5862
"error-stack-parser": "^2.1.4"

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
{
22
"compilerOptions": {
3-
"module": "preserve",
4-
"moduleResolution": "bundler",
5-
"target": "ES2021",
6-
"esModuleInterop": true,
3+
"rootDir": "./src",
4+
"outDir": "./dist",
5+
"target": "ES2023",
6+
"types": ["node"],
7+
"lib": ["DOM", "ESNext"],
78
"declaration": true,
89
"isolatedModules": true,
9-
"sourceMap": true,
10-
"declarationMap": true,
11-
"composite": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"allowJs": true,
14-
"checkJs": true,
15-
"strict": true,
1610
"skipLibCheck": true,
17-
"noUnusedLocals": true,
18-
"outDir": "dist",
19-
"rootDir": "src"
11+
"module": "nodenext",
12+
"moduleResolution": "nodenext"
2013
},
2114
"include": ["src"]
2215
}

0 commit comments

Comments
 (0)