@geekmidas/cli 0.51.0 → 0.52.0

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.
package/dist/index.mjs CHANGED
@@ -30,7 +30,7 @@ import prompts from "prompts";
30
30
 
31
31
  //#region package.json
32
32
  var name = "@geekmidas/cli";
33
- var version = "0.51.0";
33
+ var version = "0.52.0";
34
34
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
35
35
  var private$1 = false;
36
36
  var type = "module";
@@ -3384,14 +3384,8 @@ WORKDIR /app
3384
3384
  # Copy source (deps already installed)
3385
3385
  COPY . .
3386
3386
 
3387
- # Debug: Show node_modules/.bin contents and build production server
3388
- RUN echo "=== node_modules/.bin contents ===" && \
3389
- ls -la node_modules/.bin/ 2>/dev/null || echo "node_modules/.bin not found" && \
3390
- echo "=== Checking for gkm ===" && \
3391
- which gkm 2>/dev/null || echo "gkm not in PATH" && \
3392
- ls -la node_modules/.bin/gkm 2>/dev/null || echo "gkm binary not found in node_modules/.bin" && \
3393
- echo "=== Running build ===" && \
3394
- ./node_modules/.bin/gkm build --provider server --production
3387
+ # Build production server using gkm
3388
+ RUN pnpm exec gkm build --provider server --production
3395
3389
 
3396
3390
  # Stage 3: Production
3397
3391
  FROM ${baseImage} AS runner
@@ -3472,14 +3466,8 @@ WORKDIR /app
3472
3466
  # Copy pruned source
3473
3467
  COPY --from=pruner /app/out/full/ ./
3474
3468
 
3475
- # Debug: Show node_modules/.bin contents and build production server
3476
- RUN echo "=== node_modules/.bin contents ===" && \
3477
- ls -la node_modules/.bin/ 2>/dev/null || echo "node_modules/.bin not found" && \
3478
- echo "=== Checking for gkm ===" && \
3479
- which gkm 2>/dev/null || echo "gkm not in PATH" && \
3480
- ls -la node_modules/.bin/gkm 2>/dev/null || echo "gkm binary not found in node_modules/.bin" && \
3481
- echo "=== Running build ===" && \
3482
- ./node_modules/.bin/gkm build --provider server --production
3469
+ # Build production server using gkm
3470
+ RUN pnpm exec gkm build --provider server --production
3483
3471
 
3484
3472
  # Stage 4: Production
3485
3473
  FROM ${baseImage} AS runner
@@ -3800,7 +3788,7 @@ RUN if [ -n "$GKM_ENCRYPTED_CREDENTIALS" ]; then \
3800
3788
  fi
3801
3789
 
3802
3790
  # Build production server using gkm
3803
- RUN cd ${appPath} && ./node_modules/.bin/gkm build --provider server --production
3791
+ RUN cd ${appPath} && pnpm exec gkm build --provider server --production
3804
3792
 
3805
3793
  # Stage 4: Production
3806
3794
  FROM ${baseImage} AS runner