feat: 각 패키지에 타입 체크 스크립트 추가 및 빌드 스크립트 수정

This commit is contained in:
2025-12-28 15:03:38 +00:00
parent 66ebf6b76e
commit a4c74b860e
12 changed files with 36 additions and 12 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api",
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\""
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"tsdown": "^0.18.3"
+2 -1
View File
@@ -7,7 +7,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-engine",
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-engine --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts"
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.build.json --noEmit"
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "../..",
"composite": false
},
"include": [
"src",
"../../packages/common/src",
"../../packages/logic/src"
]
}
+2 -1
View File
@@ -7,6 +7,7 @@
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\""
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
}
}
+2 -1
View File
@@ -7,7 +7,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/gateway-api",
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/gateway-api --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\""
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"tsdown": "^0.18.3"
+2 -1
View File
@@ -7,6 +7,7 @@
"build": "tsc -p tsconfig.json",
"dev": "node -e \"console.log('dev not configured')\"",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\""
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
}
}
+2 -1
View File
@@ -6,7 +6,8 @@
"scripts": {
"lint": "pnpm -r lint",
"test": "pnpm -r test",
"build": "pnpm -r build",
"build": "pnpm -r typecheck && pnpm -r build",
"typecheck": "pnpm -r typecheck",
"dev": "pnpm -r dev",
"build:server": "pnpm --filter ./tools/build-scripts build:server --"
},
+2 -1
View File
@@ -9,7 +9,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/common",
"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"
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"js-sha512": "^0.9.0"
+2 -1
View File
@@ -9,7 +9,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/infra",
"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')\""
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@prisma/client": "^5.18.0",
+2 -1
View File
@@ -15,7 +15,8 @@
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/logic",
"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"
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -p tsconfig.build.json --noEmit"
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
+5 -3
View File
@@ -1,9 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"paths": {}
"rootDir": "../..",
"composite": false
},
"references": [
{ "path": "../common" }
"include": [
"src",
"../common/src"
]
}
+1
View File
@@ -8,6 +8,7 @@
"dev": "node -e \"console.log('dev not configured')\"",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"build:server": "node ./build-server.mjs"
}
}