Skip to content

Commit 13a508c

Browse files
committed
Upgrade typescript to v5.5.4
1 parent 45172cd commit 13a508c

File tree

3 files changed

+48
-31
lines changed

3 files changed

+48
-31
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"@storybook/react": "^6.5.9",
4545
"@storybook/theming": "^6.5.9",
4646
"@types/nodemailer": "^6.4.4",
47-
"@types/react": "18.0.21",
47+
"@types/react": "^18.3.3",
48+
"@types/react-dom": "^18.3.0",
4849
"autoprefixer": "^10.2.6",
4950
"babel-loader": "^8.2.2",
5051
"postcss": "^8.3.0",
@@ -54,7 +55,7 @@
5455
"tailwind-children": "^0.5.0",
5556
"tailwindcss": "^3.1.7",
5657
"tsconfig-paths-webpack-plugin": "^4.0.0",
57-
"typescript": "4.3.2"
58+
"typescript": "^5.5.4"
5859
},
5960
"packageManager": "[email protected]"
6061
}

tsconfig.json

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -15,14 +19,33 @@
1519
"jsx": "preserve",
1620
"baseUrl": ".",
1721
"paths": {
18-
"@ui/*": ["src/ui/*"],
19-
"@styles/*": ["src/styles/*"],
20-
"@public/*": ["public/*"],
21-
"@utils/*": ["src/utils/*"],
22-
"@base/*": ["*"],
23-
"@api": ["src/API.ts"]
24-
}
22+
"@ui/*": [
23+
"src/ui/*"
24+
],
25+
"@styles/*": [
26+
"src/styles/*"
27+
],
28+
"@public/*": [
29+
"public/*"
30+
],
31+
"@utils/*": [
32+
"src/utils/*"
33+
],
34+
"@base/*": [
35+
"*"
36+
],
37+
"@api": [
38+
"src/API.ts"
39+
]
40+
},
41+
"incremental": true
2542
},
26-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
27-
"exclude": ["node_modules"]
43+
"include": [
44+
"next-env.d.ts",
45+
"**/*.ts",
46+
"**/*.tsx"
47+
],
48+
"exclude": [
49+
"node_modules"
50+
]
2851
}

yarn.lock

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,35 +3018,28 @@
30183018
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.15.tgz#adde8a060ec9c305a82de1babc1056e73bd64dce"
30193019
integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==
30203020

3021+
"@types/react-dom@^18.3.0":
3022+
version "18.3.0"
3023+
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.0.tgz#0cbc818755d87066ab6ca74fbedb2547d74a82b0"
3024+
integrity sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==
3025+
dependencies:
3026+
"@types/react" "*"
3027+
30213028
"@types/react-transition-group@^4.4.10":
30223029
version "4.4.10"
30233030
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.10.tgz#6ee71127bdab1f18f11ad8fb3322c6da27c327ac"
30243031
integrity sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==
30253032
dependencies:
30263033
"@types/react" "*"
30273034

3028-
"@types/react@*":
3035+
"@types/react@*", "@types/react@^18.3.3":
30293036
version "18.3.3"
30303037
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f"
30313038
integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==
30323039
dependencies:
30333040
"@types/prop-types" "*"
30343041
csstype "^3.0.2"
30353042

3036-
3037-
version "18.0.21"
3038-
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.21.tgz#b8209e9626bb00a34c76f55482697edd2b43cc67"
3039-
integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==
3040-
dependencies:
3041-
"@types/prop-types" "*"
3042-
"@types/scheduler" "*"
3043-
csstype "^3.0.2"
3044-
3045-
"@types/scheduler@*":
3046-
version "0.23.0"
3047-
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.23.0.tgz#0a6655b3e2708eaabca00b7372fafd7a792a7b09"
3048-
integrity sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw==
3049-
30503043
"@types/source-list-map@*":
30513044
version "0.1.6"
30523045
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.6.tgz#164e169dd061795b50b83c19e4d3be09f8d3a454"
@@ -12299,10 +12292,10 @@ typedarray@^0.0.6:
1229912292
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1230012293
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
1230112294

12302-
typescript@4.3.2:
12303-
version "4.3.2"
12304-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
12305-
integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==
12295+
typescript@^5.5.4:
12296+
version "5.5.4"
12297+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
12298+
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
1230612299

1230712300
uglify-js@^3.1.4:
1230812301
version "3.19.1"

0 commit comments

Comments
 (0)