Skip to content

Commit 9a20d12

Browse files
committed
chore: 🔧 (tsconfig) bases の v2 推奨の記法に修正
1 parent da27dab commit 9a20d12

File tree

7 files changed

+18
-75
lines changed

7 files changed

+18
-75
lines changed

apps/website/v2/tsconfig.json

-6
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "@shio/tsconfig/tsconfig.nextjs.json",
44
"compilerOptions": {
5-
"plugins": [
6-
{
7-
"name": "next"
8-
}
9-
],
105
"baseUrl": "./",
11-
"ignoreDeprecations": "5.0",
126
"paths": {
137
"@/*": ["./src/*"]
148
},

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"license": "MIT",
66
"private": true,
77
"engines": {
8-
"node": ">=18.0.0 <19",
8+
"node": ">=20.0.0 <21",
99
"pnpm": ">=8.0.0"
1010
},
11-
"packageManager": "[email protected].2",
11+
"packageManager": "[email protected].5",
1212
"volta": {
13-
"node": "18.16.0",
14-
"pnpm": "8.6.2"
13+
"node": "20.3.1",
14+
"pnpm": "8.6.5"
1515
},
1616
"scripts": {
1717
"prepare": "husky install",

packages/tsconfig/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
},
1616
"devDependencies": {
1717
"@shio/prettier": "workspace:*",
18-
"@tsconfig/next-strictest": "1.0.1",
19-
"@tsconfig/node-lts-strictest": "18.12.1",
20-
"@tsconfig/node-lts-strictest-esm": "18.12.1",
18+
"@tsconfig/next": "2.0.0",
2119
"@tsconfig/strictest": "2.0.1",
2220
"eslint-config-shio-base": "workspace:*"
2321
}
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
// https://github.com/tsconfig/bases/blob/main/bases/next-strictest.json
4-
"extends": "@tsconfig/next-strictest/tsconfig.json",
3+
// https://github.com/tsconfig/bases/blob/main/bases/strictest.json
4+
// https://github.com/tsconfig/bases/blob/main/bases/next.json
5+
"extends": ["@tsconfig/strictest/tsconfig", "@tsconfig/next/tsconfig"],
56
"compilerOptions": {
6-
"allowJs": false,
77
"exactOptionalPropertyTypes": false
88
}
99
}

packages/tsconfig/tsconfig.node-esm.json

-16
This file was deleted.

packages/tsconfig/tsconfig.node.json

-16
This file was deleted.

pnpm-lock.yaml

+10-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)