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