@multiplatform.one/cli 2.1.5 → 2.1.7
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.
|
@@ -195,7 +195,7 @@ var waitServices = [
|
|
|
195
195
|
"postgres",
|
|
196
196
|
"keycloak"
|
|
197
197
|
];
|
|
198
|
-
program.command("wait").description("wait for a service to be ready").option("-i, --interval <interval>", "interval to wait for",
|
|
198
|
+
program.command("wait").description("wait for a service to be ready").option("-i, --interval <interval>", "interval to wait for", "1000").option("-t, --timeout <timeout>", "timeout to wait for", "600000").option("-e, --dotenv <dotenv>", "dotenv file path", ".env").argument("<services>", `the services to wait for (${waitServices.join(", ")})`).action(async (servicesString, options) => {
|
|
199
199
|
dotenv.config({
|
|
200
200
|
path: options.dotenv
|
|
201
201
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"author": "BitSpur <support@bitspur.com> (https://bitspur.com)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"node": ">= 16.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@multiplatform.one/utils": "0.1.
|
|
51
|
+
"@multiplatform.one/utils": "0.1.8",
|
|
52
52
|
"@types/inquirer": "^9.0.7",
|
|
53
53
|
"@types/node": "~20.12.13",
|
|
54
54
|
"tsup": "^8.3.0",
|
|
@@ -285,8 +285,8 @@ const waitServices = ["api", "frappe", "postgres", "keycloak"];
|
|
|
285
285
|
program
|
|
286
286
|
.command("wait")
|
|
287
287
|
.description("wait for a service to be ready")
|
|
288
|
-
.option("-i, --interval <interval>", "interval to wait for", 1000)
|
|
289
|
-
.option("-t, --timeout <timeout>", "timeout to wait for", 600000)
|
|
288
|
+
.option("-i, --interval <interval>", "interval to wait for", "1000")
|
|
289
|
+
.option("-t, --timeout <timeout>", "timeout to wait for", "600000")
|
|
290
290
|
.option("-e, --dotenv <dotenv>", "dotenv file path", ".env")
|
|
291
291
|
.argument(
|
|
292
292
|
"<services>",
|