feat: Turbo 설정 추가 및 스크립트 업데이트
This commit is contained in:
@@ -158,3 +158,5 @@ packages/infra/prisma/generated/
|
||||
#개발용 임시 코드
|
||||
.devbox
|
||||
docker-compose.override.yml
|
||||
|
||||
.turbo/
|
||||
+7
-5
@@ -3,17 +3,19 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "0.0.0",
|
||||
"packageManager": "pnpm@10.26.2",
|
||||
"scripts": {
|
||||
"lint": "pnpm -r lint",
|
||||
"test": "pnpm -r test",
|
||||
"build": "pnpm -r typecheck && pnpm -r build",
|
||||
"typecheck": "pnpm -r typecheck",
|
||||
"dev": "pnpm -r dev",
|
||||
"lint": "turbo lint",
|
||||
"test": "turbo test",
|
||||
"build": "turbo build",
|
||||
"typecheck": "turbo typecheck",
|
||||
"dev": "turbo dev",
|
||||
"build:server": "pnpm --filter ./tools/build-scripts build:server --"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.0.3",
|
||||
"tsdown": "^0.18.4",
|
||||
"turbo": "^2.7.2",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +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')\"",
|
||||
"prisma:generate": "pnpm prisma:generate:game && pnpm prisma:generate:gateway",
|
||||
"typecheck": "tsc -b",
|
||||
"prisma:generate:game": "prisma generate --schema prisma/game.prisma",
|
||||
"prisma:generate:gateway": "prisma generate --schema prisma/gateway.prisma",
|
||||
|
||||
Generated
+64
@@ -14,6 +14,9 @@ importers:
|
||||
tsdown:
|
||||
specifier: ^0.18.4
|
||||
version: 0.18.4(typescript@5.9.3)(vue-tsc@3.2.1(typescript@5.9.3))
|
||||
turbo:
|
||||
specifier: ^2.7.2
|
||||
version: 2.7.2
|
||||
typescript:
|
||||
specifier: ^5.9.3
|
||||
version: 5.9.3
|
||||
@@ -2466,6 +2469,40 @@ packages:
|
||||
tslib@2.8.1:
|
||||
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
|
||||
|
||||
turbo-darwin-64@2.7.2:
|
||||
resolution: {integrity: sha512-dxY3X6ezcT5vm3coK6VGixbrhplbQMwgNsCsvZamS/+/6JiebqW9DKt4NwpgYXhDY2HdH00I7FWs3wkVuan4rA==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
turbo-darwin-arm64@2.7.2:
|
||||
resolution: {integrity: sha512-1bXmuwPLqNFt3mzrtYcVx1sdJ8UYb124Bf48nIgcpMCGZy3kDhgxNv1503kmuK/37OGOZbsWSQFU4I08feIuSg==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
turbo-linux-64@2.7.2:
|
||||
resolution: {integrity: sha512-kP+TiiMaiPugbRlv57VGLfcjFNsFbo8H64wMBCPV2270Or2TpDCBULMzZrvEsvWFjT3pBFvToYbdp8/Kw0jAQg==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
turbo-linux-arm64@2.7.2:
|
||||
resolution: {integrity: sha512-VDJwQ0+8zjAfbyY6boNaWfP6RIez4ypKHxwkuB6SrWbOSk+vxTyW5/hEjytTwK8w/TsbKVcMDyvpora8tEsRFw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
turbo-windows-64@2.7.2:
|
||||
resolution: {integrity: sha512-rPjqQXVnI6A6oxgzNEE8DNb6Vdj2Wwyhfv3oDc+YM3U9P7CAcBIlKv/868mKl4vsBtz4ouWpTQNXG8vljgJO+w==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
turbo-windows-arm64@2.7.2:
|
||||
resolution: {integrity: sha512-tcnHvBhO515OheIFWdxA+qUvZzNqqcHbLVFc1+n+TJ1rrp8prYicQtbtmsiKgMvr/54jb9jOabU62URAobnB7g==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
turbo@2.7.2:
|
||||
resolution: {integrity: sha512-5JIA5aYBAJSAhrhbyag1ZuMSgUZnHtI+Sq3H8D3an4fL8PeF+L1yYvbEJg47akP1PFfATMf5ehkqFnxfkmuwZQ==}
|
||||
hasBin: true
|
||||
|
||||
tv4@1.3.0:
|
||||
resolution: {integrity: sha512-afizzfpJgvPr+eDkREK4MxJ/+r8nEEHcmitwgnPUqpaP+FpwQyadnxNoSACbgc/b1LsZYtODGoPiFxQrgJgjvw==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
@@ -4701,6 +4738,33 @@ snapshots:
|
||||
|
||||
tslib@2.8.1: {}
|
||||
|
||||
turbo-darwin-64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo-darwin-arm64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo-linux-64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo-linux-arm64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo-windows-64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo-windows-arm64@2.7.2:
|
||||
optional: true
|
||||
|
||||
turbo@2.7.2:
|
||||
optionalDependencies:
|
||||
turbo-darwin-64: 2.7.2
|
||||
turbo-darwin-arm64: 2.7.2
|
||||
turbo-linux-64: 2.7.2
|
||||
turbo-linux-arm64: 2.7.2
|
||||
turbo-windows-64: 2.7.2
|
||||
turbo-windows-arm64: 2.7.2
|
||||
|
||||
tv4@1.3.0: {}
|
||||
|
||||
tx2@1.0.5:
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"ui": "tui",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build", "typecheck"],
|
||||
"outputs": ["dist/**"]
|
||||
},
|
||||
"typecheck": {
|
||||
"dependsOn": ["^typecheck", "prisma:generate"],
|
||||
"cache": true
|
||||
},
|
||||
"prisma:generate": {
|
||||
"inputs": ["prisma/*.prisma"],
|
||||
"outputs": ["node_modules/.prisma/client/**", "prisma/generated/**"],
|
||||
"cache": true
|
||||
},
|
||||
"lint": {
|
||||
"cache": true
|
||||
},
|
||||
"test": {
|
||||
"cache": true
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user