@kood/claude-code 0.1.3 → 0.1.4

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.
@@ -106,7 +106,7 @@ export default defineConfig({
106
106
  "$schema": "https://railway.app/railway.schema.json",
107
107
  "build": {
108
108
  "builder": "NIXPACKS",
109
- "buildCommand": "pnpm install && pnpm build"
109
+ "buildCommand": "yarn install && yarn build"
110
110
  },
111
111
  "deploy": {
112
112
  "startCommand": "node .output/server/index.mjs",
@@ -124,7 +124,7 @@ export default defineConfig({
124
124
  # railway.toml
125
125
  [build]
126
126
  builder = "nixpacks"
127
- buildCommand = "pnpm install && pnpm build"
127
+ buildCommand = "yarn install && yarn build"
128
128
 
129
129
  [deploy]
130
130
  startCommand = "node .output/server/index.mjs"
@@ -141,10 +141,10 @@ restartPolicyMaxRetries = 3
141
141
  nixPkgs = ["nodejs_20"]
142
142
 
143
143
  [phases.install]
144
- cmds = ["corepack enable pnpm", "pnpm install"]
144
+ cmds = ["yarn install"]
145
145
 
146
146
  [phases.build]
147
- cmds = ["pnpm build"]
147
+ cmds = ["yarn build"]
148
148
 
149
149
  [start]
150
150
  cmd = "node .output/server/index.mjs"
@@ -200,10 +200,10 @@ Railway는 Dockerfile을 자동으로 감지합니다.
200
200
  # Dockerfile
201
201
  FROM node:20-alpine AS builder
202
202
  WORKDIR /app
203
- COPY package.json pnpm-lock.yaml ./
204
- RUN corepack enable pnpm && pnpm install
203
+ COPY package.json yarn.lock ./
204
+ RUN yarn install --frozen-lockfile
205
205
  COPY . .
206
- RUN pnpm build
206
+ RUN yarn build
207
207
 
208
208
  FROM node:20-alpine
209
209
  WORKDIR /app
@@ -449,7 +449,7 @@ Railway 대시보드에서 설정:
449
449
 
450
450
  | 문제 | 원인 | 해결 |
451
451
  |------|------|------|
452
- | 빌드 실패 | 의존성 오류 | `pnpm-lock.yaml` 커밋 확인 |
452
+ | 빌드 실패 | 의존성 오류 | `yarn.lock` 커밋 확인 |
453
453
  | 포트 바인딩 실패 | 하드코딩된 포트 | `process.env.PORT` 사용 |
454
454
  | 메모리 초과 | 메모리 누수 | 리소스 제한 증가 또는 코드 최적화 |
455
455
  | 헬스체크 실패 | 엔드포인트 없음 | `/health` 엔드포인트 추가 |
@@ -458,7 +458,7 @@ Railway 대시보드에서 설정:
458
458
 
459
459
  ```bash
460
460
  # 로컬에서 Railway 환경 시뮬레이션
461
- railway run pnpm dev
461
+ railway run yarn dev
462
462
 
463
463
  # 환경 변수 확인
464
464
  railway variables
@@ -22,7 +22,7 @@ export default defineNitroConfig({
22
22
  ```json
23
23
  // vercel.json
24
24
  {
25
- "buildCommand": "pnpm build",
25
+ "buildCommand": "yarn build",
26
26
  "outputDirectory": ".vercel/output"
27
27
  }
28
28
  ```
@@ -115,10 +115,10 @@ export default defineConfig({
115
115
  ```json
116
116
  {
117
117
  "$schema": "https://openapi.vercel.sh/vercel.json",
118
- "buildCommand": "pnpm build",
118
+ "buildCommand": "yarn build",
119
119
  "outputDirectory": ".vercel/output",
120
120
  "framework": null,
121
- "installCommand": "pnpm install"
121
+ "installCommand": "yarn install"
122
122
  }
123
123
  ```
124
124
 
@@ -127,7 +127,7 @@ export default defineConfig({
127
127
  ```json
128
128
  {
129
129
  "$schema": "https://openapi.vercel.sh/vercel.json",
130
- "buildCommand": "pnpm build",
130
+ "buildCommand": "yarn build",
131
131
  "outputDirectory": ".vercel/output",
132
132
 
133
133
  "functions": {
@@ -165,9 +165,9 @@ export default defineConfig({
165
165
 
166
166
  2. **빌드 설정**
167
167
  - Framework Preset: "Other"
168
- - Build Command: `pnpm build`
168
+ - Build Command: `yarn build`
169
169
  - Output Directory: `.vercel/output`
170
- - Install Command: `pnpm install`
170
+ - Install Command: `yarn install`
171
171
 
172
172
  3. **환경 변수 설정**
173
173
  - Vercel 대시보드에서 Settings → Environment Variables
@@ -355,8 +355,8 @@ export default defineNitroConfig({
355
355
  ```json
356
356
  {
357
357
  "$schema": "https://openapi.vercel.sh/vercel.json",
358
- "installCommand": "pnpm install",
359
- "buildCommand": "pnpm --filter web build",
358
+ "installCommand": "yarn install",
359
+ "buildCommand": "yarn workspace web build",
360
360
  "outputDirectory": "apps/web/.vercel/output"
361
361
  }
362
362
  ```
@@ -410,22 +410,17 @@ jobs:
410
410
  steps:
411
411
  - uses: actions/checkout@v4
412
412
 
413
- - name: Setup pnpm
414
- uses: pnpm/action-setup@v2
415
- with:
416
- version: 8
417
-
418
413
  - name: Setup Node.js
419
414
  uses: actions/setup-node@v4
420
415
  with:
421
416
  node-version: '20'
422
- cache: 'pnpm'
417
+ cache: 'yarn'
423
418
 
424
419
  - name: Install dependencies
425
- run: pnpm install
420
+ run: yarn install --frozen-lockfile
426
421
 
427
422
  - name: Build
428
- run: pnpm build
423
+ run: yarn build
429
424
 
430
425
  - name: Deploy to Vercel
431
426
  uses: amondnet/vercel-action@v25
@@ -498,7 +493,7 @@ vercel domains inspect example.com
498
493
  | Function Timeout | 실행 시간 초과 | `maxDuration` 증가 또는 최적화 |
499
494
  | Edge 호환성 오류 | Node.js API 사용 | Edge 호환 API로 변경 |
500
495
  | 환경 변수 누락 | 설정 안됨 | Vercel 대시보드에서 설정 |
501
- | 빌드 실패 | 의존성 문제 | `pnpm-lock.yaml` 확인 |
496
+ | 빌드 실패 | 의존성 문제 | `yarn.lock` 확인 |
502
497
 
503
498
  ### 디버깅
504
499
 
@@ -66,10 +66,6 @@ npm install -D prisma@7
66
66
  yarn add @prisma/client@7
67
67
  yarn add -D prisma@7
68
68
 
69
- # pnpm
70
- pnpm add @prisma/client@7
71
- pnpm add -D prisma@7
72
-
73
69
  # 초기화
74
70
  npx prisma init
75
71
  ```
@@ -13,10 +13,6 @@ npm install -D prisma@7
13
13
  yarn add @prisma/client@7
14
14
  yarn add -D prisma@7
15
15
 
16
- # pnpm
17
- pnpm add @prisma/client@7
18
- pnpm add -D prisma@7
19
-
20
16
  # bun
21
17
  bun add @prisma/client@7
22
18
  bun add prisma@7 --dev
@@ -34,9 +30,6 @@ npm install -D prisma@7
34
30
 
35
31
  # yarn
36
32
  yarn up prisma@7 @prisma/client@7
37
-
38
- # pnpm
39
- pnpm upgrade prisma@7 @prisma/client@7
40
33
  ```
41
34
 
42
35
  ### Generator 변경 (필수)