feat: tsconfig 및 package.json 수정으로 타입 체크 및 빌드 설정 개선

This commit is contained in:
2025-12-28 16:32:43 +00:00
parent 54252dc6b4
commit f7d9d423fa
27 changed files with 138 additions and 49 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/common --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.json --noEmit"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"js-sha512": "^0.9.0"
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": false
},
"include": ["src"]
}
+1 -2
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.paths.json",
"compilerOptions": {
"baseUrl": "../..",
"outDir": "dist",
"rootDir": "src",
"composite": true
+1 -1
View File
@@ -10,7 +10,7 @@
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/infra --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@prisma/client": "^5.18.0",
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": false
},
"include": ["src"]
}
+1 -2
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.paths.json",
"compilerOptions": {
"baseUrl": "../..",
"outDir": "dist",
"rootDir": "src",
"composite": true
+1 -1
View File
@@ -16,7 +16,7 @@
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/logic --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.build.json --noEmit"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
+20 -6
View File
@@ -1,11 +1,25 @@
{
"extends": "./tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "../..",
"composite": false
"rootDir": "src",
"outDir": "dist",
"composite": false,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2023",
"lib": ["ES2024"],
"verbatimModuleSyntax": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": [
"src",
"../common/src"
"include": ["src"],
"references": [
{ "path": "../common" }
]
}
+5 -3
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.paths.json",
"compilerOptions": {
"baseUrl": "../..",
"outDir": "dist",
"rootDir": "src",
"composite": true,
@@ -19,5 +18,8 @@
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src"]
"include": ["src"],
"references": [
{ "path": "../common" }
]
}