chore(monorepo 建置工具): 由 npm workspaces 遷移至 pnpm workspace + Turborepo
This commit is contained in:
@@ -10,13 +10,14 @@
|
||||
"start": "node dist/main.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@kokorone/db": "*",
|
||||
"@kokorone/shared": "*",
|
||||
"@kokorone/db": "workspace:*",
|
||||
"@kokorone/shared": "workspace:*",
|
||||
"@nestjs/common": "^11.1.29",
|
||||
"@nestjs/core": "^11.1.29",
|
||||
"@nestjs/event-emitter": "^3.1.0",
|
||||
"@nestjs/platform-express": "^11.1.29",
|
||||
"dotenv": "^17.4.2",
|
||||
"ioredis": "^6.0.0",
|
||||
"node-cron": "^4.6.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"rxjs": "^7.8.2"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"main": "expo-router/entry",
|
||||
"dependencies": {
|
||||
"@expo/metro-runtime": "~57.0.9",
|
||||
"@kokorone/shared": "*",
|
||||
"@kokorone/shared": "workspace:*",
|
||||
"expo": "~57.0.12",
|
||||
"expo-constants": "~57.0.10",
|
||||
"expo-device": "~57.0.1",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"lint": "eslint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@kokorone/shared": "*",
|
||||
"@kokorone/shared": "workspace:*",
|
||||
"next": "16.3.0",
|
||||
"pixi.js": "^8.19.0",
|
||||
"react": "19.2.8",
|
||||
|
||||
Generated
-17332
File diff suppressed because it is too large
Load Diff
+3
-5
@@ -3,12 +3,9 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "心音(Kokorone)— 戀愛陪伴系統 monorepo",
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*"
|
||||
],
|
||||
"packageManager": "pnpm@11.21.0",
|
||||
"scripts": {
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"build": "turbo run build",
|
||||
"restart": "node scripts/dev-restart.mjs",
|
||||
"smoke": "node scripts/smoke/run.mjs"
|
||||
},
|
||||
@@ -19,6 +16,7 @@
|
||||
"@types/node": "^26.2.0",
|
||||
"dotenv": "^17.4.2",
|
||||
"prisma": "^7.9.1",
|
||||
"turbo": "^2.5.8",
|
||||
"typescript": "^7.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+11884
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
allowBuilds:
|
||||
'@prisma/engines': true
|
||||
better-sqlite3: true
|
||||
prisma: true
|
||||
unrs-resolver: true
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**", "*.tsbuildinfo", ".next/**", "!.next/cache/**"]
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["^build"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user