@zuplo/cli 1.79.0 → 1.81.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.
Files changed (84) hide show
  1. package/dist/cli.js +23 -21
  2. package/dist/cmds/convert.js +2 -2
  3. package/dist/cmds/delete.js +2 -2
  4. package/dist/cmds/deploy.js +2 -2
  5. package/dist/cmds/dev.js +2 -2
  6. package/dist/cmds/editor.js +2 -2
  7. package/dist/cmds/link.js +2 -2
  8. package/dist/cmds/list.js +2 -2
  9. package/dist/cmds/login.js +2 -2
  10. package/dist/cmds/project/index.js +2 -2
  11. package/dist/cmds/project/update.js +2 -2
  12. package/dist/cmds/test.js +2 -2
  13. package/dist/cmds/tunnel/create.js +2 -2
  14. package/dist/cmds/tunnel/delete.js +2 -2
  15. package/dist/cmds/tunnel/describe.js +2 -2
  16. package/dist/cmds/tunnel/index.js +2 -2
  17. package/dist/cmds/tunnel/list.js +2 -2
  18. package/dist/cmds/tunnel/rotate-token.js +2 -2
  19. package/dist/cmds/tunnel/services/describe.js +2 -2
  20. package/dist/cmds/tunnel/services/index.js +2 -2
  21. package/dist/cmds/tunnel/services/update.js +2 -2
  22. package/dist/cmds/variable/create.js +2 -2
  23. package/dist/cmds/variable/index.js +2 -2
  24. package/dist/cmds/variable/update.js +2 -2
  25. package/dist/common/alias.js +2 -2
  26. package/dist/common/analytics/lib.js +2 -2
  27. package/dist/common/api/lib.js +2 -2
  28. package/dist/common/constants.js +2 -2
  29. package/dist/common/deno-utils/locator.js +2 -2
  30. package/dist/common/handler.js +2 -2
  31. package/dist/common/logger.js +2 -2
  32. package/dist/common/machine-id/lib.js +2 -2
  33. package/dist/common/middleware/user-configuration.js +2 -2
  34. package/dist/common/middleware/user-identification.js +2 -2
  35. package/dist/common/models.js +2 -2
  36. package/dist/common/output.js +2 -2
  37. package/dist/common/settings.js +2 -2
  38. package/dist/common/upgraders/lib.js +2 -2
  39. package/dist/common/upgraders/package-json-upgrader.js +2 -2
  40. package/dist/common/upgraders/vscode-settings-json-upgrader.js +2 -2
  41. package/dist/common/validators/file-system-validator.js +2 -2
  42. package/dist/common/validators/lib.js +2 -2
  43. package/dist/common/validators/login-state-validator.js +2 -2
  44. package/dist/common/validators/project-name-validator.js +2 -2
  45. package/dist/common/xdg/lib.js +2 -2
  46. package/dist/convert/engine.js +2 -2
  47. package/dist/convert/handler.js +2 -2
  48. package/dist/convert/routes.generated.js +2 -2
  49. package/dist/delete/handler.js +2 -2
  50. package/dist/delete/poll-deployment.js +2 -2
  51. package/dist/deploy/archive.js +2 -2
  52. package/dist/deploy/file-upload.js +2 -2
  53. package/dist/deploy/handler.js +2 -2
  54. package/dist/deploy/poll-deployment.js +2 -2
  55. package/dist/dev/handler.js +13 -3
  56. package/dist/editor/assets/index-03352ce7.js +43 -43
  57. package/dist/editor/handler.js +2 -2
  58. package/dist/editor/server/cors-plugin.js +2 -2
  59. package/dist/editor/server/server.js +39 -13
  60. package/dist/editor/server/xfs.js +2 -2
  61. package/dist/link/handler.js +2 -2
  62. package/dist/link/populate.js +2 -2
  63. package/dist/list/handler.js +2 -2
  64. package/dist/login/handler.js +2 -2
  65. package/dist/login/server.js +2 -2
  66. package/dist/project/update/handler.js +2 -2
  67. package/dist/test/esbuild-config.js +2 -2
  68. package/dist/test/esbuild-plugins/deno-test-prep-plugin.js +2 -2
  69. package/dist/test/handler.js +2 -2
  70. package/dist/test/invoke-test.js +2 -2
  71. package/dist/tunnel/create/handler.js +2 -2
  72. package/dist/tunnel/delete/handler.js +2 -2
  73. package/dist/tunnel/delete/poll-teardown-operation.js +2 -2
  74. package/dist/tunnel/describe/handler.js +2 -2
  75. package/dist/tunnel/list/handler.js +2 -2
  76. package/dist/tunnel/models.js +2 -2
  77. package/dist/tunnel/rotate-token/handler.js +2 -2
  78. package/dist/tunnel/services/describe/handler.js +2 -2
  79. package/dist/tunnel/services/update/handler.js +2 -2
  80. package/dist/tunnel/services/update/poll-provisioning-operations.js +2 -2
  81. package/dist/variable/create/handler.js +2 -2
  82. package/dist/variable/models.js +2 -2
  83. package/dist/variable/update/handler.js +2 -2
  84. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7eb1c399-ebb2-5b8a-a80f-f827c9bac32d")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a91948d7-c2a9-5d47-a291-0780bc4b373e")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { ApiServer } from "./server/server.js";
5
5
  export async function editor(argv) {
@@ -18,4 +18,4 @@ export async function editor(argv) {
18
18
  });
19
19
  }
20
20
  //# sourceMappingURL=handler.js.map
21
- //# debugId=7eb1c399-ebb2-5b8a-a80f-f827c9bac32d
21
+ //# debugId=a91948d7-c2a9-5d47-a291-0780bc4b373e
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c771966-b118-5f81-8fe4-56b64755a2f5")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4")}catch(e){}}();
3
3
  import fp from 'fastify-plugin';
4
4
  import cors from '@fastify/cors';
5
5
  export const corsPlugin = fp(async function (fastify, opts) {
@@ -16,4 +16,4 @@ export const corsPlugin = fp(async function (fastify, opts) {
16
16
  });
17
17
  });
18
18
  //# sourceMappingURL=cors-plugin.js.map
19
- //# debugId=2c771966-b118-5f81-8fe4-56b64755a2f5
19
+ //# debugId=6dd8502e-8d2f-5f28-aa0e-50cb0ead72d4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="91beac2e-2f71-54d6-8ec4-22de6a806272")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="70ff8667-6414-5c3f-83ad-33606a7805f6")}catch(e){}}();
3
3
  import fastifyStatic from "@fastify/static";
4
4
  import chokidar from "chokidar";
5
5
  import Fastify from "fastify";
@@ -8,18 +8,23 @@ import fs, { readdir } from "node:fs/promises";
8
8
  import path from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
  import { logger } from "../../common/logger.js";
11
+ import { printDiagnosticsToConsole } from "../../common/output.js";
11
12
  import { corsPlugin } from "./cors-plugin.js";
12
13
  import { dirExists, fileExists } from "./xfs.js";
13
14
  const POLICIES_FILENAME = "policies.json";
15
+ const CONFIG_DIR = "config";
14
16
  export class ApiServer {
15
17
  fastify;
16
18
  listenerPort;
17
19
  listenerHost;
18
20
  workingDir;
21
+ watcher;
22
+ sseContext;
19
23
  constructor(workingDir) {
20
24
  this.workingDir = workingDir ?? ".";
21
25
  this.listenerPort = 5500;
22
26
  this.listenerHost = "localhost";
27
+ this.watcher = chokidar.watch(path.join(this.workingDir, CONFIG_DIR));
23
28
  this.fastify = Fastify({
24
29
  logger: logger,
25
30
  trustProxy: true,
@@ -54,7 +59,7 @@ export class ApiServer {
54
59
  const policiesPath = path.join(this.workingDir, "config", POLICIES_FILENAME);
55
60
  if (!(await fileExists(policiesPath))) {
56
61
  return reply.code(404).send({
57
- message: `Cannot find a '${POLICIES_FILENAME}' file in the 'config'`,
62
+ message: `Cannot find a '${POLICIES_FILENAME}' file in the '${CONFIG_DIR}'`,
58
63
  });
59
64
  }
60
65
  const openApiFileContent = await fs.readFile(openApiFilePath, "utf-8");
@@ -74,11 +79,11 @@ export class ApiServer {
74
79
  });
75
80
  instance.get("/open-api-files", {
76
81
  handler: async (request, reply) => {
77
- const projectConfigPath = path.join(this.workingDir, "config");
82
+ const projectConfigPath = path.join(this.workingDir, CONFIG_DIR);
78
83
  if (!(await dirExists(projectConfigPath))) {
79
- request.log.warn(`Cannot find the project 'config' folder. Make sure '${this.workingDir}' has a 'config' folder.`);
84
+ request.log.warn(`Cannot find the project '${CONFIG_DIR}' folder. Make sure '${this.workingDir}' has a '${CONFIG_DIR}' folder.`);
80
85
  return reply.code(404).send({
81
- message: `Cannot find the project 'config' folder. Make sure '${this.workingDir}' has a 'config' folder.`,
86
+ message: `Cannot find the project '${CONFIG_DIR}' folder. Make sure '${this.workingDir}' has a '${CONFIG_DIR}' folder.`,
82
87
  });
83
88
  }
84
89
  const files = await readdir(projectConfigPath);
@@ -105,19 +110,22 @@ export class ApiServer {
105
110
  });
106
111
  instance.get("/updates", {
107
112
  handler: async (request, reply) => {
108
- const projectConfigPath = path.join(this.workingDir, "config");
109
- const watcher = chokidar.watch(projectConfigPath);
110
- watcher.on("change", (filePath) => {
113
+ if (this.watcher && this.watcher.closed === true) {
114
+ this.watcher = chokidar.watch(path.join(this.workingDir, CONFIG_DIR));
115
+ }
116
+ this.watcher.on("change", (filePath) => {
111
117
  const eventData = JSON.stringify({ type: "update", filePath });
112
118
  reply.sse({ id: Date.now().toString(), data: eventData });
113
119
  });
114
- request.raw.on("close", () => {
115
- watcher.close();
120
+ request.raw.on("close", async () => {
121
+ await this.watcher.close();
116
122
  });
117
123
  reply.sse({
118
124
  id: Date.now().toString(),
119
125
  data: JSON.stringify({ filePath: POLICIES_FILENAME, type: "init" }),
126
+ retry: 10,
120
127
  });
128
+ this.sseContext = reply.sseContext;
121
129
  },
122
130
  });
123
131
  instance.get("/modules-data", {
@@ -152,18 +160,30 @@ export class ApiServer {
152
160
  reply.code(200).send(results);
153
161
  },
154
162
  });
163
+ instance.get("/ping", {
164
+ handler: async (_request, reply) => {
165
+ reply.code(200).send();
166
+ },
167
+ });
155
168
  done();
156
169
  });
157
170
  };
158
171
  start = async () => {
159
172
  await this.init();
173
+ this.fastify.log.level = "silent";
160
174
  const start = async () => {
161
175
  return new Promise((resolve, reject) => {
162
176
  this.fastify.listen({ port: this.listenerPort, host: this.listenerHost }, (err) => {
163
177
  if (err) {
164
178
  reject(err);
165
179
  }
166
- this.fastify.log.info(`API server listening on: http://${this.listenerHost}:${this.listenerPort}`);
180
+ this.fastify.log.level = "info";
181
+ printDiagnosticsToConsole("Started route designer");
182
+ printDiagnosticsToConsole("Ctrl+C to exit");
183
+ printDiagnosticsToConsole("");
184
+ printDiagnosticsToConsole(`📘 Route Designer: http://${this.listenerHost}:${this.listenerPort}`);
185
+ printDiagnosticsToConsole("");
186
+ printDiagnosticsToConsole("");
167
187
  resolve();
168
188
  });
169
189
  });
@@ -174,8 +194,14 @@ export class ApiServer {
174
194
  return this.fastify.ready();
175
195
  };
176
196
  close = async () => {
177
- this.fastify.log.info("Closing api server");
197
+ printDiagnosticsToConsole("Closing route designer");
178
198
  try {
199
+ if (this.sseContext) {
200
+ this.sseContext.source.end();
201
+ }
202
+ if (this.watcher) {
203
+ await this.watcher.close();
204
+ }
179
205
  await this.fastify.close();
180
206
  }
181
207
  catch (err) {
@@ -185,4 +211,4 @@ export class ApiServer {
185
211
  };
186
212
  }
187
213
  //# sourceMappingURL=server.js.map
188
- //# debugId=91beac2e-2f71-54d6-8ec4-22de6a806272
214
+ //# debugId=70ff8667-6414-5c3f-83ad-33606a7805f6
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="789e8c6e-c34f-5e44-8883-e3cc42dff578")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b54efb0-e801-5361-9801-9ede9473aab8")}catch(e){}}();
3
3
  import fs from 'node:fs/promises';
4
4
  export async function fileExists(fsPath) {
5
5
  try {
@@ -20,4 +20,4 @@ export async function dirExists(fsPath) {
20
20
  }
21
21
  }
22
22
  //# sourceMappingURL=xfs.js.map
23
- //# debugId=789e8c6e-c34f-5e44-8883-e3cc42dff578
23
+ //# debugId=1b54efb0-e801-5361-9801-9ede9473aab8
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ebabd7dc-5b6b-51bd-bf6f-d8997a9bad4f")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="58dd100d-a3cc-5513-8100-f19039643f55")}catch(e){}}();
3
3
  import { select } from "@inquirer/prompts";
4
4
  import { readFile } from "node:fs/promises";
5
5
  import { join } from "node:path";
@@ -80,4 +80,4 @@ Successfully linked your local directory to the ${project} project in the ${acco
80
80
  .env.zuplo and zuplo.jsonc have been updated with the new values.`);
81
81
  }
82
82
  //# sourceMappingURL=handler.js.map
83
- //# debugId=ebabd7dc-5b6b-51bd-bf6f-d8997a9bad4f
83
+ //# debugId=58dd100d-a3cc-5513-8100-f19039643f55
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a4ba6780-1db5-59a6-af4e-76cebc9e9a1e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50bbf97c-4d18-5bc7-a456-bcf385c394c2")}catch(e){}}();
3
3
  import { applyEdits, modify } from "jsonc-parser";
4
4
  import { existsSync } from "node:fs";
5
5
  import { readFile, writeFile } from "node:fs/promises";
@@ -66,4 +66,4 @@ export async function pullSystemConfig(dir, options) {
66
66
  await writeFile(zuploPreferredConfigFile, content);
67
67
  }
68
68
  //# sourceMappingURL=populate.js.map
69
- //# debugId=a4ba6780-1db5-59a6-af4e-76cebc9e9a1e
69
+ //# debugId=50bbf97c-4d18-5bc7-a456-bcf385c394c2
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b92cf828-73b6-5f1c-9a8a-1545e96cc93e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d0ecad85-2c6c-57cf-b9e7-541651faca67")}catch(e){}}();
3
3
  import { logger } from "../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../common/output.js";
5
5
  import settings from "../common/settings.js";
@@ -26,4 +26,4 @@ export async function list(argv) {
26
26
  }
27
27
  }
28
28
  //# sourceMappingURL=handler.js.map
29
- //# debugId=b92cf828-73b6-5f1c-9a8a-1545e96cc93e
29
+ //# debugId=d0ecad85-2c6c-57cf-b9e7-541651faca67
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="678d01cf-2b77-5d58-8b82-98a0fd47a94e")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9953f515-a669-5828-bb13-a7d715329281")}catch(e){}}();
3
3
  import crypto from "node:crypto";
4
4
  import { existsSync, mkdirSync } from "node:fs";
5
5
  import { writeFile } from "node:fs/promises";
@@ -75,4 +75,4 @@ export async function login(args) {
75
75
  printResultToConsoleAndExitGracefully("Successfully authenticated.");
76
76
  }
77
77
  //# sourceMappingURL=handler.js.map
78
- //# debugId=678d01cf-2b77-5d58-8b82-98a0fd47a94e
78
+ //# debugId=9953f515-a669-5828-bb13-a7d715329281
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0e67bc58-b817-5fe0-8e05-53b8a9375c97")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a4c1761e-d022-5f51-95b8-a151c837e0e3")}catch(e){}}();
3
3
  import http from "node:http";
4
4
  import opn from "open";
5
5
  import { printCriticalFailureToConsoleAndExit } from "../common/output.js";
@@ -35,4 +35,4 @@ export async function browserAuth(authorizationUrl) {
35
35
  return params;
36
36
  }
37
37
  //# sourceMappingURL=server.js.map
38
- //# debugId=0e67bc58-b817-5fe0-8e05-53b8a9375c97
38
+ //# debugId=a4c1761e-d022-5f51-95b8-a151c837e0e3
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b06a2506-c7df-54cc-805a-49ae467e40af")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4ec643f3-3663-54ed-ae6a-1c72fda19548")}catch(e){}}();
3
3
  import { confirm } from "@inquirer/prompts";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../../common/output.js";
5
5
  import { PackageJsonUpgrader } from "../../common/upgraders/package-json-upgrader.js";
@@ -26,4 +26,4 @@ export async function update(argv) {
26
26
  }
27
27
  }
28
28
  //# sourceMappingURL=handler.js.map
29
- //# debugId=b06a2506-c7df-54cc-805a-49ae467e40af
29
+ //# debugId=4ec643f3-3663-54ed-ae6a-1c72fda19548
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="83d43197-be5e-5d4b-8a4a-0972a6339917")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f13aec76-f70a-5053-8b92-7e9a9134dbfc")}catch(e){}}();
3
3
  import { TEST_OUT_FOLDER } from "../common/constants.js";
4
4
  import { denoTestPrepPlugin } from "./esbuild-plugins/deno-test-prep-plugin.js";
5
5
  export function generateBuildOptionsForTest(argv) {
@@ -20,4 +20,4 @@ export function generateBuildOptionsForTest(argv) {
20
20
  };
21
21
  }
22
22
  //# sourceMappingURL=esbuild-config.js.map
23
- //# debugId=83d43197-be5e-5d4b-8a4a-0972a6339917
23
+ //# debugId=f13aec76-f70a-5053-8b92-7e9a9134dbfc
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d99da9ce-3bab-5cdb-b8a7-edfe098a9ff1")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="56373cfd-334d-515f-8073-fb8560249602")}catch(e){}}();
3
3
  export function denoTestPrepPlugin(argv, options) {
4
4
  const aliases = Object.keys(options);
5
5
  const re = new RegExp(`^(${aliases.map((x) => escapeRegExp(x)).join("|")})$`);
@@ -96,4 +96,4 @@ function generateTestContents(argv) {
96
96
  `;
97
97
  }
98
98
  //# sourceMappingURL=deno-test-prep-plugin.js.map
99
- //# debugId=d99da9ce-3bab-5cdb-b8a7-edfe098a9ff1
99
+ //# debugId=56373cfd-334d-515f-8073-fb8560249602
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aca6c312-c3e9-57ed-928a-8fe7fd3e5dde")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3013b06a-1c1b-580e-bea6-b42c687d931d")}catch(e){}}();
3
3
  import fg from "fast-glob";
4
4
  import { promisify } from "node:util";
5
5
  import rimraf from "rimraf";
@@ -27,4 +27,4 @@ export async function test(argv) {
27
27
  }
28
28
  }
29
29
  //# sourceMappingURL=handler.js.map
30
- //# debugId=aca6c312-c3e9-57ed-928a-8fe7fd3e5dde
30
+ //# debugId=3013b06a-1c1b-580e-bea6-b42c687d931d
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="47367187-aa4c-5f3c-b7cd-a8a57cc30bc9")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6dd3ed4-5d26-57b8-bdbe-7165fe72db14")}catch(e){}}();
3
3
  import { execa } from "execa";
4
4
  import { TEST_OUT_FOLDER } from "../common/constants.js";
5
5
  import { locateDenoExecutable, MissingDenoExecutableError, } from "../common/deno-utils/locator.js";
@@ -35,4 +35,4 @@ export async function runTests(argv) {
35
35
  }
36
36
  }
37
37
  //# sourceMappingURL=invoke-test.js.map
38
- //# debugId=47367187-aa4c-5f3c-b7cd-a8a57cc30bc9
38
+ //# debugId=f6dd3ed4-5d26-57b8-bdbe-7165fe72db14
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2c727de1-d0e0-517c-9b8d-63612d480be0")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d9fada0f-c7c3-56a6-bce9-cab68dcf53e4")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -27,4 +27,4 @@ export async function create(argv) {
27
27
  }
28
28
  }
29
29
  //# sourceMappingURL=handler.js.map
30
- //# debugId=2c727de1-d0e0-517c-9b8d-63612d480be0
30
+ //# debugId=d9fada0f-c7c3-56a6-bce9-cab68dcf53e4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b4d4a60a-f5a8-5bb4-a1a8-1afcb9c6f3e8")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aca65d67-321d-5925-a1f9-4d8bb8db8267")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -38,4 +38,4 @@ export async function deleteTunnel(argv) {
38
38
  }
39
39
  }
40
40
  //# sourceMappingURL=handler.js.map
41
- //# debugId=b4d4a60a-f5a8-5bb4-a1a8-1afcb9c6f3e8
41
+ //# debugId=aca65d67-321d-5925-a1f9-4d8bb8db8267
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3b7326d-95c8-51d5-a4dd-6233db93bce9")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="805ecf52-ac85-501d-abe2-1e012168f448")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -37,4 +37,4 @@ export async function pollTeardownOperation(args) {
37
37
  throw new Error("Unexpected error while polling for teardown operation status");
38
38
  }
39
39
  //# sourceMappingURL=poll-teardown-operation.js.map
40
- //# debugId=a3b7326d-95c8-51d5-a4dd-6233db93bce9
40
+ //# debugId=805ecf52-ac85-501d-abe2-1e012168f448
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="653458ca-187f-5bbc-8553-788deb7155bd")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d8e69d19-9af3-5a6d-aea1-cd87b110be3c")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -25,4 +25,4 @@ export async function describe(argv) {
25
25
  }
26
26
  }
27
27
  //# sourceMappingURL=handler.js.map
28
- //# debugId=653458ca-187f-5bbc-8553-788deb7155bd
28
+ //# debugId=d8e69d19-9af3-5a6d-aea1-cd87b110be3c
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="25e1eea1-68c6-522e-bb2c-bfbd57517091")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="990fb347-877a-523a-a03b-d91459bf7dcc")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, printTableToConsoleAndExitGracefully, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -34,4 +34,4 @@ export async function list(argv) {
34
34
  }
35
35
  }
36
36
  //# sourceMappingURL=handler.js.map
37
- //# debugId=25e1eea1-68c6-522e-bb2c-bfbd57517091
37
+ //# debugId=990fb347-877a-523a-a03b-d91459bf7dcc
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="98f421de-65b0-5e62-a8e4-9ed089f92ec8")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30085b72-4d54-5ac4-8286-11868105744e")}catch(e){}}();
3
3
  export {};
4
4
  //# sourceMappingURL=models.js.map
5
- //# debugId=98f421de-65b0-5e62-a8e4-9ed089f92ec8
5
+ //# debugId=30085b72-4d54-5ac4-8286-11868105744e
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="127b1934-09f2-505c-a8ad-28c355e9109c")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2760f758-b825-53b4-ae0c-479e3191c5b5")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printTableToConsoleAndExitGracefully, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -25,4 +25,4 @@ export async function rotateToken(argv) {
25
25
  }
26
26
  }
27
27
  //# sourceMappingURL=handler.js.map
28
- //# debugId=127b1934-09f2-505c-a8ad-28c355e9109c
28
+ //# debugId=2760f758-b825-53b4-ae0c-479e3191c5b5
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="51788ca8-ed69-5b21-8faf-ae8aaa026e95")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ac3d5242-b625-5ed3-99a5-fc49939536d7")}catch(e){}}();
3
3
  import { logger } from "../../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../../common/output.js";
5
5
  import settings from "../../../common/settings.js";
@@ -25,4 +25,4 @@ export async function describe(argv) {
25
25
  }
26
26
  }
27
27
  //# sourceMappingURL=handler.js.map
28
- //# debugId=51788ca8-ed69-5b21-8faf-ae8aaa026e95
28
+ //# debugId=ac3d5242-b625-5ed3-99a5-fc49939536d7
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0e1f9e61-8829-5ae3-b4cd-c1a79dc2191b")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07ec52bc-313d-5695-a620-9b116ff2e761")}catch(e){}}();
3
3
  import { readFile } from "node:fs/promises";
4
4
  import { logger } from "../../../common/logger.js";
5
5
  import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, textOrJson, } from "../../../common/output.js";
@@ -48,4 +48,4 @@ export async function updateServices(argv) {
48
48
  }
49
49
  }
50
50
  //# sourceMappingURL=handler.js.map
51
- //# debugId=0e1f9e61-8829-5ae3-b4cd-c1a79dc2191b
51
+ //# debugId=07ec52bc-313d-5695-a620-9b116ff2e761
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="79be439d-42a8-5591-9774-6d9603f9d845")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="54671849-0d7c-5c9c-874e-fc123d31756c")}catch(e){}}();
3
3
  import { logger } from "../../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, textOrJson, } from "../../../common/output.js";
5
5
  import settings from "../../../common/settings.js";
@@ -41,4 +41,4 @@ export async function pollProvisioningOperation(args) {
41
41
  throw new Error("Unexpected error while polling for provisioning operation status");
42
42
  }
43
43
  //# sourceMappingURL=poll-provisioning-operations.js.map
44
- //# debugId=79be439d-42a8-5591-9774-6d9603f9d845
44
+ //# debugId=54671849-0d7c-5c9c-874e-fc123d31756c
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf9a9d71-d13d-5770-b18d-a33e79514601")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="98224ccb-ce96-5060-b338-fa84913d0689")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsole, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -31,4 +31,4 @@ export async function create(argv) {
31
31
  }
32
32
  }
33
33
  //# sourceMappingURL=handler.js.map
34
- //# debugId=bf9a9d71-d13d-5770-b18d-a33e79514601
34
+ //# debugId=98224ccb-ce96-5060-b338-fa84913d0689
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a902ed7c-29ac-5feb-a4ac-3265b900fd30")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7dcd8ba4-ede4-5c12-8ac5-c36fff4cb5ec")}catch(e){}}();
3
3
  export {};
4
4
  //# sourceMappingURL=models.js.map
5
- //# debugId=a902ed7c-29ac-5feb-a4ac-3265b900fd30
5
+ //# debugId=7dcd8ba4-ede4-5c12-8ac5-c36fff4cb5ec
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e2ce8efc-1641-5b90-9475-8e36ca9c534c")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5f8e63c2-c667-52bb-95b6-4d0e27522ca4")}catch(e){}}();
3
3
  import { logger } from "../../common/logger.js";
4
4
  import { printDiagnosticsToConsole, printResultToConsole, textOrJson, } from "../../common/output.js";
5
5
  import settings from "../../common/settings.js";
@@ -29,4 +29,4 @@ export async function update(argv) {
29
29
  }
30
30
  }
31
31
  //# sourceMappingURL=handler.js.map
32
- //# debugId=e2ce8efc-1641-5b90-9475-8e36ca9c534c
32
+ //# debugId=5f8e63c2-c667-52bb-95b6-4d0e27522ca4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "1.79.0",
3
+ "version": "1.81.0",
4
4
  "type": "module",
5
5
  "repository": "https://github.com/zuplo/cli",
6
6
  "description": "The command-line interface for Zuplo",
@@ -58,9 +58,9 @@
58
58
  "@inquirer/prompts": "^3.0.4",
59
59
  "@sentry/node": "7.69.0",
60
60
  "@swc/core": "1.3.78",
61
- "@zuplo/core": "5.1305.0",
62
- "@zuplo/pino-pretty-configurations": "^1.4.0",
63
- "@zuplo/runtime": "5.1305.0",
61
+ "@zuplo/core": "5.1324.0",
62
+ "@zuplo/pino-pretty-configurations": "^1.5.0",
63
+ "@zuplo/runtime": "5.1324.0",
64
64
  "chalk": "^5.1.2",
65
65
  "chokidar": "^3.5.3",
66
66
  "deno-bin": "1.31.1",