Skip to content

Commit 11fb8ae

Browse files
committed
refactor: tsconfig.json 단순화
1 parent 9692997 commit 11fb8ae

8 files changed

Lines changed: 51 additions & 178 deletions

File tree

apps/pyconkr-2025/tsconfig.json

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"useDefineForClassFields": true,
5-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6-
"module": "ESNext",
7-
"skipLibCheck": true,
8-
9-
/* Bundler mode */
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"isolatedModules": true,
13-
"moduleDetection": "force",
14-
"noEmit": true,
15-
"jsx": "react-jsx",
16-
17-
/* Linting */
18-
"strict": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true,
22-
"noUncheckedSideEffectImports": true,
23-
"forceConsistentCasingInFileNames": false,
24-
25-
/* Paths */
26-
"baseUrl": ".",
27-
"paths": {
28-
"@apps/pyconkr-2025/*": ["apps/pyconkr-2025/src/*"],
29-
}
30-
},
31-
"include": ["src", "vite.config.mts", "vite-env.d.ts", "../../types"],
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["src", "vite.config.mts", "vite-env.d.ts", "../../types"]
324
}

apps/pyconkr-2026/tsconfig.json

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"useDefineForClassFields": true,
5-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6-
"module": "ESNext",
7-
"skipLibCheck": true,
8-
9-
/* Bundler mode */
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"isolatedModules": true,
13-
"moduleDetection": "force",
14-
"noEmit": true,
15-
"jsx": "react-jsx",
16-
17-
/* Linting */
18-
"strict": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true,
22-
"noUncheckedSideEffectImports": true,
23-
"forceConsistentCasingInFileNames": false,
24-
25-
/* Paths */
26-
"baseUrl": ".",
27-
"paths": {
28-
"@apps/pyconkr-2026/*": ["apps/pyconkr-2026/src/*"]
29-
}
30-
},
2+
"extends": "../../tsconfig.base.json",
313
"include": ["src", "vite.config.mts", "vite-env.d.ts", "../../types"]
324
}

apps/pyconkr-admin/tsconfig.json

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"useDefineForClassFields": true,
5-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6-
"module": "ESNext",
7-
"skipLibCheck": true,
8-
9-
/* Bundler mode */
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"isolatedModules": true,
13-
"moduleDetection": "force",
14-
"noEmit": true,
15-
"jsx": "react-jsx",
16-
17-
/* Linting */
18-
"strict": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true,
22-
"noUncheckedSideEffectImports": true,
23-
"forceConsistentCasingInFileNames": false,
24-
25-
/* Paths */
26-
"baseUrl": ".",
27-
"paths": {
28-
"@apps/pyconkr-admin/*": ["apps/pyconkr-admin/src/*"],
29-
}
30-
},
31-
"include": ["src", "vite.config.ts", "vite-env.d.ts", "../../types"],
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["src", "vite.config.ts", "vite-env.d.ts", "../../types"]
324
}
Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"useDefineForClassFields": true,
5-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6-
"module": "ESNext",
7-
"skipLibCheck": true,
8-
9-
/* Bundler mode */
10-
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"isolatedModules": true,
13-
"moduleDetection": "force",
14-
"noEmit": true,
15-
"jsx": "react-jsx",
16-
17-
/* Linting */
18-
"strict": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true,
22-
"noUncheckedSideEffectImports": true,
23-
"forceConsistentCasingInFileNames": false,
24-
25-
/* Paths */
26-
"baseUrl": ".",
27-
"paths": {
28-
"@apps/pyconkr-participant-portal/*": ["apps/pyconkr-participant-portal/src/*"],
29-
}
30-
},
31-
"include": ["src", "vite.config.mts", "vite-env.d.ts", "../../types"],
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["src", "vite.config.mts", "vite-env.d.ts", "../../types"]
324
}

packages/common/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"module": "ESNext",
5-
"moduleResolution": "node",
6-
"declaration": true,
7-
"outDir": "dist",
8-
"strict": true,
9-
"jsx": "react"
10-
},
11-
"include": ["src", "vite.config.ts", "vite-env.d.ts", "../../types"],
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["src", "../../types"]
124
}

packages/shop/tsconfig.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2022",
4-
"module": "ESNext",
5-
"moduleResolution": "node",
6-
"declaration": true,
7-
"outDir": "dist",
8-
"strict": true,
9-
"jsx": "react",
10-
"types": ["vite/client", "@types/node"]
11-
},
12-
"include": ["src"]
13-
}
2+
"extends": "../../tsconfig.base.json",
3+
"include": ["src", "../../types"]
4+
}

tsconfig.base.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"useDefineForClassFields": true,
5+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
6+
"module": "ESNext",
7+
"skipLibCheck": true,
8+
9+
/* Bundler mode */
10+
"moduleResolution": "bundler",
11+
"allowImportingTsExtensions": true,
12+
"isolatedModules": true,
13+
"moduleDetection": "force",
14+
"noEmit": true,
15+
"jsx": "react-jsx",
16+
17+
/* Linting */
18+
"strict": true,
19+
"noUnusedLocals": true,
20+
"noUnusedParameters": true,
21+
"noFallthroughCasesInSwitch": true,
22+
"noUncheckedSideEffectImports": true,
23+
"forceConsistentCasingInFileNames": false,
24+
25+
/* Paths */
26+
"baseUrl": ".",
27+
"paths": {
28+
"@apps/pyconkr-2025/*": ["apps/pyconkr-2025/src/*"],
29+
"@apps/pyconkr-2026/*": ["apps/pyconkr-2026/src/*"],
30+
"@apps/pyconkr-admin/*": ["apps/pyconkr-admin/src/*"],
31+
"@apps/pyconkr-participant-portal/*": ["apps/pyconkr-participant-portal/src/*"],
32+
"@frontend/common": ["packages/common/src/index.ts"],
33+
"@frontend/common/*": ["packages/common/src/*"],
34+
"@frontend/shop": ["packages/shop/src/index.ts"],
35+
"@frontend/shop/*": ["packages/shop/src/*"]
36+
}
37+
}
38+
}

tsconfig.json

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4-
"target": "ES2022",
5-
"useDefineForClassFields": true,
6-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
7-
"module": "ESNext",
8-
"skipLibCheck": true,
9-
10-
/* Bundler mode */
11-
"moduleResolution": "bundler",
12-
"allowImportingTsExtensions": true,
13-
"isolatedModules": true,
14-
"moduleDetection": "force",
15-
"noEmit": true,
16-
"jsx": "react-jsx",
17-
18-
/* Linting */
19-
"strict": true,
20-
"noUnusedLocals": true,
21-
"noUnusedParameters": true,
22-
"noFallthroughCasesInSwitch": true,
23-
"noUncheckedSideEffectImports": true,
24-
"forceConsistentCasingInFileNames": false,
25-
26-
/* Paths */
27-
"baseUrl": ".",
28-
"paths": {
29-
"@apps/pyconkr-2025/*": ["apps/pyconkr-2025/src/*"],
30-
"@apps/pyconkr-2026/*": ["apps/pyconkr-2026/src/*"],
31-
"@apps/pyconkr-admin/*": ["apps/pyconkr-admin/src/*"],
32-
"@apps/pyconkr-participant-portal/*": ["apps/pyconkr-participant-portal/src/*"],
33-
"@frontend/common": ["packages/common/src/index.ts"],
34-
"@frontend/common/*": ["packages/common/src/*"],
35-
"@frontend/shop": ["packages/shop/src/index.ts"],
36-
"@frontend/shop/*": ["packages/shop/src/*"],
37-
}
38-
},
2+
"extends": "./tsconfig.base.json",
393
"include": ["apps", "packages", "types", "eslint.config.js"]
404
}

0 commit comments

Comments
 (0)