feat: 각 패키지에 타입 체크 스크립트 추가 및 빌드 스크립트 수정
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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:*",
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "../..",
|
||||
"composite": false
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
"../../packages/common/src",
|
||||
"../../packages/logic/src"
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
@@ -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 --"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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:*",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {}
|
||||
"rootDir": "../..",
|
||||
"composite": false
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../common" }
|
||||
"include": [
|
||||
"src",
|
||||
"../common/src"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user