@geekmidas/cli 0.17.0 → 0.18.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
@@ -29,7 +29,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
29
29
  //#endregion
30
30
  //#region package.json
31
31
  var name = "@geekmidas/cli";
32
- var version = "0.17.0";
32
+ var version = "0.18.0";
33
33
  var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
34
34
  var private$1 = false;
35
35
  var type = "module";
@@ -1603,6 +1603,7 @@ function getPmConfig(pm) {
1603
1603
  cacheTarget: "/root/.local/share/pnpm/store",
1604
1604
  cacheId: "pnpm",
1605
1605
  run: "pnpm",
1606
+ exec: "pnpm exec",
1606
1607
  dlx: "pnpm dlx",
1607
1608
  addGlobal: "pnpm add -g"
1608
1609
  },
@@ -1614,6 +1615,7 @@ function getPmConfig(pm) {
1614
1615
  cacheTarget: "/root/.npm",
1615
1616
  cacheId: "npm",
1616
1617
  run: "npm run",
1618
+ exec: "npx",
1617
1619
  dlx: "npx",
1618
1620
  addGlobal: "npm install -g"
1619
1621
  },
@@ -1625,6 +1627,7 @@ function getPmConfig(pm) {
1625
1627
  cacheTarget: "/root/.yarn/cache",
1626
1628
  cacheId: "yarn",
1627
1629
  run: "yarn",
1630
+ exec: "yarn exec",
1628
1631
  dlx: "yarn dlx",
1629
1632
  addGlobal: "yarn global add"
1630
1633
  },
@@ -1636,6 +1639,7 @@ function getPmConfig(pm) {
1636
1639
  cacheTarget: "/root/.bun/install/cache",
1637
1640
  cacheId: "bun",
1638
1641
  run: "bun run",
1642
+ exec: "bunx",
1639
1643
  dlx: "bunx",
1640
1644
  addGlobal: "bun add -g"
1641
1645
  }
@@ -1692,8 +1696,8 @@ WORKDIR /app
1692
1696
  # Copy source (deps already installed)
1693
1697
  COPY . .
1694
1698
 
1695
- # Build production server using CLI from npm
1696
- RUN ${pm.dlx} @geekmidas/cli build --provider server --production
1699
+ # Build production server using CLI from project dependencies
1700
+ RUN ${pm.exec} gkm build --provider server --production
1697
1701
 
1698
1702
  # Stage 3: Production
1699
1703
  FROM ${baseImage} AS runner
@@ -1774,8 +1778,8 @@ WORKDIR /app
1774
1778
  # Copy pruned source
1775
1779
  COPY --from=pruner /app/out/full/ ./
1776
1780
 
1777
- # Build production server using CLI from npm
1778
- RUN ${pm.dlx} @geekmidas/cli build --provider server --production
1781
+ # Build production server using CLI from project dependencies
1782
+ RUN ${pm.exec} gkm build --provider server --production
1779
1783
 
1780
1784
  # Stage 4: Production
1781
1785
  FROM ${baseImage} AS runner