@geekmidas/cli 0.20.0 → 0.22.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 +18 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +18 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -6
- package/src/init/generators/docker.ts +15 -3
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ const node_module = require_chunk.__toESM(require("node:module"));
|
|
|
27
27
|
|
|
28
28
|
//#region package.json
|
|
29
29
|
var name = "@geekmidas/cli";
|
|
30
|
-
var version = "0.
|
|
30
|
+
var version = "0.22.0";
|
|
31
31
|
var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
|
|
32
32
|
var private$1 = false;
|
|
33
33
|
var type = "module";
|
|
@@ -71,6 +71,11 @@ var repository = {
|
|
|
71
71
|
};
|
|
72
72
|
var dependencies = {
|
|
73
73
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
74
|
+
"@geekmidas/constructs": "workspace:~",
|
|
75
|
+
"@geekmidas/envkit": "workspace:~",
|
|
76
|
+
"@geekmidas/errors": "workspace:~",
|
|
77
|
+
"@geekmidas/logger": "workspace:~",
|
|
78
|
+
"@geekmidas/schema": "workspace:~",
|
|
74
79
|
"chokidar": "~4.0.3",
|
|
75
80
|
"commander": "^12.1.0",
|
|
76
81
|
"dotenv": "~17.2.3",
|
|
@@ -88,13 +93,7 @@ var devDependencies = {
|
|
|
88
93
|
"vitest": "^3.2.4",
|
|
89
94
|
"zod": "~4.1.13"
|
|
90
95
|
};
|
|
91
|
-
var peerDependencies = {
|
|
92
|
-
"@geekmidas/constructs": "workspace:~",
|
|
93
|
-
"@geekmidas/envkit": "workspace:~",
|
|
94
|
-
"@geekmidas/logger": "workspace:~",
|
|
95
|
-
"@geekmidas/schema": "workspace:~",
|
|
96
|
-
"@geekmidas/telescope": "workspace:~"
|
|
97
|
-
};
|
|
96
|
+
var peerDependencies = { "@geekmidas/telescope": "workspace:~" };
|
|
98
97
|
var peerDependenciesMeta = { "@geekmidas/telescope": { "optional": true } };
|
|
99
98
|
var package_default = {
|
|
100
99
|
name,
|
|
@@ -4754,9 +4753,17 @@ function generateDockerFiles(options, template, dbApps) {
|
|
|
4754
4753
|
retries: 5`);
|
|
4755
4754
|
volumes.push(" rabbitmq_data:");
|
|
4756
4755
|
}
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4756
|
+
if (options.services.mail) services.push(` mailpit:
|
|
4757
|
+
image: axllent/mailpit:latest
|
|
4758
|
+
container_name: ${options.name}-mailpit
|
|
4759
|
+
restart: unless-stopped
|
|
4760
|
+
ports:
|
|
4761
|
+
- '1025:1025'
|
|
4762
|
+
- '8025:8025'
|
|
4763
|
+
environment:
|
|
4764
|
+
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
4765
|
+
MP_SMTP_AUTH_ALLOW_INSECURE: 1`);
|
|
4766
|
+
let dockerCompose = `services:
|
|
4760
4767
|
${services.join("\n\n")}
|
|
4761
4768
|
`;
|
|
4762
4769
|
if (volumes.length > 0) dockerCompose += `
|