claudeship 0.2.16 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/apps/server/dist/chat/claude-cli.service.js +6 -1
  2. package/apps/server/dist/chat/claude-cli.service.js.map +1 -1
  3. package/apps/server/dist/tsconfig.tsbuildinfo +1 -1
  4. package/apps/server/package.json +1 -1
  5. package/apps/server/prisma/dev.db +0 -0
  6. package/apps/web/.next/BUILD_ID +1 -1
  7. package/apps/web/.next/app-build-manifest.json +5 -5
  8. package/apps/web/.next/app-path-routes-manifest.json +1 -1
  9. package/apps/web/.next/build-manifest.json +2 -2
  10. package/apps/web/.next/cache/.previewinfo +1 -1
  11. package/apps/web/.next/cache/.rscinfo +1 -1
  12. package/apps/web/.next/cache/config.json +3 -3
  13. package/apps/web/.next/cache/eslint/.cache_j3uhuz +1 -1
  14. package/apps/web/.next/cache/webpack/client-production/0.pack +0 -0
  15. package/apps/web/.next/cache/webpack/client-production/index.pack +0 -0
  16. package/apps/web/.next/cache/webpack/edge-server-production/index.pack +0 -0
  17. package/apps/web/.next/cache/webpack/server-production/0.pack +0 -0
  18. package/apps/web/.next/cache/webpack/server-production/index.pack +0 -0
  19. package/apps/web/.next/prerender-manifest.json +10 -10
  20. package/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/apps/web/.next/server/app/_not-found.html +1 -1
  22. package/apps/web/.next/server/app/_not-found.rsc +1 -1
  23. package/apps/web/.next/server/app/index.html +1 -1
  24. package/apps/web/.next/server/app/index.rsc +2 -2
  25. package/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  26. package/apps/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  27. package/apps/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  28. package/apps/web/.next/server/app/settings.html +1 -1
  29. package/apps/web/.next/server/app/settings.rsc +1 -1
  30. package/apps/web/.next/server/app-paths-manifest.json +1 -1
  31. package/apps/web/.next/server/pages/404.html +1 -1
  32. package/apps/web/.next/server/pages/500.html +1 -1
  33. package/apps/web/.next/server/server-reference-manifest.json +1 -1
  34. package/apps/web/.next/static/chunks/574-8fbf7d67ac55f996.js +1 -0
  35. package/apps/web/.next/static/chunks/app/page-637614a00e18faa8.js +1 -0
  36. package/apps/web/.next/trace +18 -18
  37. package/apps/web/package.json +1 -1
  38. package/package.json +1 -1
  39. package/scripts/setup.sh +37 -0
  40. package/apps/web/.next/static/chunks/574-1fe2bcd6cfb41646.js +0 -1
  41. package/apps/web/.next/static/chunks/app/page-8310956d8eae9762.js +0 -1
  42. /package/apps/web/.next/static/{KPVdAK1JjO7W2NYgwPhFs → _uY1B78_jnG7JywlmeEpm}/_buildManifest.js +0 -0
  43. /package/apps/web/.next/static/{KPVdAK1JjO7W2NYgwPhFs → _uY1B78_jnG7JywlmeEpm}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudeship/web",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "node scripts/dev-with-recovery.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudeship",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "AI-Powered App Builder using Claude Code CLI",
5
5
  "bin": {
6
6
  "claudeship": "./bin/claudeship.js"
package/scripts/setup.sh CHANGED
@@ -3,6 +3,7 @@
3
3
  # 프로젝트 초기 설정 스크립트
4
4
  # - Git hooks 설치
5
5
  # - .env 파일 생성
6
+ # - Prisma 데이터베이스 설정
6
7
 
7
8
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
9
  ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
@@ -78,11 +79,47 @@ setup_env_files() {
78
79
  echo ""
79
80
  }
80
81
 
82
+ # ===========================================
83
+ # 3. Prisma 데이터베이스 설정
84
+ # ===========================================
85
+ setup_database() {
86
+ echo "📌 데이터베이스 설정 중..."
87
+
88
+ local server_dir="$ROOT_DIR/apps/server"
89
+
90
+ if [ ! -f "$server_dir/.env" ]; then
91
+ echo " ⚠️ .env 파일이 없습니다. 데이터베이스 설정을 건너뜁니다."
92
+ return
93
+ fi
94
+
95
+ # pnpm이 설치되어 있는지 확인
96
+ if ! command -v pnpm &> /dev/null; then
97
+ echo " ⚠️ pnpm이 설치되어 있지 않습니다. 데이터베이스 설정을 건너뜁니다."
98
+ return
99
+ fi
100
+
101
+ # Prisma 클라이언트 생성 및 DB 푸시
102
+ cd "$server_dir"
103
+ pnpm prisma generate > /dev/null 2>&1
104
+ pnpm prisma db push > /dev/null 2>&1
105
+
106
+ if [ $? -eq 0 ]; then
107
+ echo " ✓ 데이터베이스 스키마 적용됨"
108
+ else
109
+ echo " ⚠️ 데이터베이스 설정 실패. 수동으로 'pnpm prisma db push'를 실행하세요."
110
+ fi
111
+
112
+ cd "$ROOT_DIR"
113
+ echo " 완료!"
114
+ echo ""
115
+ }
116
+
81
117
  # ===========================================
82
118
  # 실행
83
119
  # ===========================================
84
120
  setup_git_hooks
85
121
  setup_env_files
122
+ setup_database
86
123
 
87
124
  echo "=========================================="
88
125
  echo " ✅ 초기 설정 완료!"