@lumerahq/cli 0.19.13 → 0.19.14
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.
|
@@ -116,10 +116,10 @@ async function deploy(options) {
|
|
|
116
116
|
throw new Error(`Deploy failed: ${await res.text()}`);
|
|
117
117
|
}
|
|
118
118
|
const result = await res.json();
|
|
119
|
-
const launchUrl = result.launch_url
|
|
119
|
+
const launchUrl = result.launch_url;
|
|
120
120
|
console.log(pc.green(`
|
|
121
121
|
Deployed! ${launchUrl}`));
|
|
122
|
-
return {
|
|
122
|
+
return { launchUrl, version };
|
|
123
123
|
}
|
|
124
124
|
function isPortInUse(port, host = "127.0.0.1") {
|
|
125
125
|
return new Promise((resolve2) => {
|
package/dist/index.js
CHANGED
|
@@ -219,29 +219,29 @@ async function main() {
|
|
|
219
219
|
switch (command) {
|
|
220
220
|
// Resource commands
|
|
221
221
|
case "plan":
|
|
222
|
-
await import("./resources-
|
|
222
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.plan(args.slice(1)));
|
|
223
223
|
break;
|
|
224
224
|
case "apply":
|
|
225
|
-
await import("./resources-
|
|
225
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.apply(args.slice(1)));
|
|
226
226
|
break;
|
|
227
227
|
case "pull":
|
|
228
|
-
await import("./resources-
|
|
228
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.pull(args.slice(1)));
|
|
229
229
|
break;
|
|
230
230
|
case "destroy":
|
|
231
|
-
await import("./resources-
|
|
231
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.destroy(args.slice(1)));
|
|
232
232
|
break;
|
|
233
233
|
case "list":
|
|
234
|
-
await import("./resources-
|
|
234
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.list(args.slice(1)));
|
|
235
235
|
break;
|
|
236
236
|
case "show":
|
|
237
|
-
await import("./resources-
|
|
237
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.show(args.slice(1)));
|
|
238
238
|
break;
|
|
239
239
|
case "diff":
|
|
240
|
-
await import("./resources-
|
|
240
|
+
await import("./resources-UZ3TNZ4K.js").then((m) => m.diff(args.slice(1)));
|
|
241
241
|
break;
|
|
242
242
|
// Development
|
|
243
243
|
case "dev":
|
|
244
|
-
await import("./dev-
|
|
244
|
+
await import("./dev-PONRO7VN.js").then((m) => m.dev(args.slice(1)));
|
|
245
245
|
break;
|
|
246
246
|
case "run":
|
|
247
247
|
await import("./run-R6MO23U7.js").then((m) => m.run(args.slice(1)));
|
package/package.json
CHANGED
|
@@ -126,7 +126,7 @@ const link = getShareableAppUrl(); // preserves current path/search/hash
|
|
|
126
126
|
const invoiceLink = buildShareableAppUrl('/invoices/123', { router: 'hash' });
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
When reporting a deployed app, use `launch_url`
|
|
129
|
+
When reporting a deployed app, use `launch_url` from the deploy response. Do not share `iframe_url`; it is only the internal iframe/static asset mount.
|
|
130
130
|
|
|
131
131
|
## Preview and Verification
|
|
132
132
|
|