Files
yami a01a430845 monorepo: ygo-deck + ygo-deck-server + ygo-sdk + ygo-card
- npm workspaces 整合前端(Umijs)/后端(NestJS)/SDK/卡片渲染
- 修复 typeorm mysql 驱动配置
- 移除 SSR(webpack4 incompatible with node22)
- 修复 @/common → ygo-card 导入
- .umirc.ts 不含 src/common 依赖
2026-07-19 19:59:58 +08:00

19 lines
698 B
JSON

{
"name": "ygo-deck",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build:sdk": "cd packages/ygo-sdk && npm run build",
"build:server": "cd packages/ygo-deck-server && npm run build",
"build:fe": "cd packages/ygo-deck && npm run build",
"build": "npm run build:sdk && npm run build:server && npm run build:fe",
"dev:server": "cd packages/ygo-deck-server && npm run start:dev",
"dev:fe": "cd packages/ygo-deck && npm start",
"install:all": "npm install",
"postinstall": "cd packages/ygo-sdk && npm run build",
"setup": "npm install && npm run postinstall",
"start": "concurrently \"npm run dev:server\" \"npm run dev:fe\""
}
}