fix: 서버 work-tree에서 프론트 빌드 실패(tsc 없음) 해결

서버 checkout에는 node_modules가 없어 npm run build만 실행하면 tsc를 찾지 못함.
build-frontend.sh로 npm ci 후 workspace 빌드를 수행하고,
frontend build 스크립트는 npx tsc/vite build로 통일.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-02 23:14:16 +09:00
parent 2950442f69
commit 9c620b32e2
3 changed files with 38 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@
"frontend"
],
"scripts": {
"build:frontend": "npm run build -w react-trading-chart",
"dev:app": "npm run dev -w @goldenchart/app",
"build:app": "npm run build -w @goldenchart/app",
"cap:sync": "npm run cap:sync -w @goldenchart/app",