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