@geekmidas/cli 0.16.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.cjs +9 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/docker/templates.ts +8 -4
- package/tsconfig.tsbuildinfo +1 -0
package/dist/index.cjs
CHANGED
|
@@ -25,7 +25,7 @@ const node_crypto = require_chunk.__toESM(require("node:crypto"));
|
|
|
25
25
|
|
|
26
26
|
//#region package.json
|
|
27
27
|
var name = "@geekmidas/cli";
|
|
28
|
-
var version = "0.
|
|
28
|
+
var version = "0.18.0";
|
|
29
29
|
var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
|
|
30
30
|
var private$1 = false;
|
|
31
31
|
var type = "module";
|
|
@@ -1599,6 +1599,7 @@ function getPmConfig(pm) {
|
|
|
1599
1599
|
cacheTarget: "/root/.local/share/pnpm/store",
|
|
1600
1600
|
cacheId: "pnpm",
|
|
1601
1601
|
run: "pnpm",
|
|
1602
|
+
exec: "pnpm exec",
|
|
1602
1603
|
dlx: "pnpm dlx",
|
|
1603
1604
|
addGlobal: "pnpm add -g"
|
|
1604
1605
|
},
|
|
@@ -1610,6 +1611,7 @@ function getPmConfig(pm) {
|
|
|
1610
1611
|
cacheTarget: "/root/.npm",
|
|
1611
1612
|
cacheId: "npm",
|
|
1612
1613
|
run: "npm run",
|
|
1614
|
+
exec: "npx",
|
|
1613
1615
|
dlx: "npx",
|
|
1614
1616
|
addGlobal: "npm install -g"
|
|
1615
1617
|
},
|
|
@@ -1621,6 +1623,7 @@ function getPmConfig(pm) {
|
|
|
1621
1623
|
cacheTarget: "/root/.yarn/cache",
|
|
1622
1624
|
cacheId: "yarn",
|
|
1623
1625
|
run: "yarn",
|
|
1626
|
+
exec: "yarn exec",
|
|
1624
1627
|
dlx: "yarn dlx",
|
|
1625
1628
|
addGlobal: "yarn global add"
|
|
1626
1629
|
},
|
|
@@ -1632,6 +1635,7 @@ function getPmConfig(pm) {
|
|
|
1632
1635
|
cacheTarget: "/root/.bun/install/cache",
|
|
1633
1636
|
cacheId: "bun",
|
|
1634
1637
|
run: "bun run",
|
|
1638
|
+
exec: "bunx",
|
|
1635
1639
|
dlx: "bunx",
|
|
1636
1640
|
addGlobal: "bun add -g"
|
|
1637
1641
|
}
|
|
@@ -1688,8 +1692,8 @@ WORKDIR /app
|
|
|
1688
1692
|
# Copy source (deps already installed)
|
|
1689
1693
|
COPY . .
|
|
1690
1694
|
|
|
1691
|
-
# Build production server using CLI from
|
|
1692
|
-
RUN ${pm.
|
|
1695
|
+
# Build production server using CLI from project dependencies
|
|
1696
|
+
RUN ${pm.exec} gkm build --provider server --production
|
|
1693
1697
|
|
|
1694
1698
|
# Stage 3: Production
|
|
1695
1699
|
FROM ${baseImage} AS runner
|
|
@@ -1770,8 +1774,8 @@ WORKDIR /app
|
|
|
1770
1774
|
# Copy pruned source
|
|
1771
1775
|
COPY --from=pruner /app/out/full/ ./
|
|
1772
1776
|
|
|
1773
|
-
# Build production server using CLI from
|
|
1774
|
-
RUN ${pm.
|
|
1777
|
+
# Build production server using CLI from project dependencies
|
|
1778
|
+
RUN ${pm.exec} gkm build --provider server --production
|
|
1775
1779
|
|
|
1776
1780
|
# Stage 4: Production
|
|
1777
1781
|
FROM ${baseImage} AS runner
|