@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.
- package/dist/cli.js +23 -21
- package/dist/cmds/convert.js +2 -2
- package/dist/cmds/delete.js +2 -2
- package/dist/cmds/deploy.js +2 -2
- package/dist/cmds/dev.js +2 -2
- package/dist/cmds/editor.js +2 -2
- package/dist/cmds/link.js +2 -2
- package/dist/cmds/list.js +2 -2
- package/dist/cmds/login.js +2 -2
- package/dist/cmds/project/index.js +2 -2
- package/dist/cmds/project/update.js +2 -2
- package/dist/cmds/test.js +2 -2
- package/dist/cmds/tunnel/create.js +2 -2
- package/dist/cmds/tunnel/delete.js +2 -2
- package/dist/cmds/tunnel/describe.js +2 -2
- package/dist/cmds/tunnel/index.js +2 -2
- package/dist/cmds/tunnel/list.js +2 -2
- package/dist/cmds/tunnel/rotate-token.js +2 -2
- package/dist/cmds/tunnel/services/describe.js +2 -2
- package/dist/cmds/tunnel/services/index.js +2 -2
- package/dist/cmds/tunnel/services/update.js +2 -2
- package/dist/cmds/variable/create.js +2 -2
- package/dist/cmds/variable/index.js +2 -2
- package/dist/cmds/variable/update.js +2 -2
- package/dist/common/alias.js +2 -2
- package/dist/common/analytics/lib.js +2 -2
- package/dist/common/api/lib.js +2 -2
- package/dist/common/constants.js +2 -2
- package/dist/common/deno-utils/locator.js +2 -2
- package/dist/common/handler.js +2 -2
- package/dist/common/logger.js +2 -2
- package/dist/common/machine-id/lib.js +2 -2
- package/dist/common/middleware/user-configuration.js +2 -2
- package/dist/common/middleware/user-identification.js +2 -2
- package/dist/common/models.js +2 -2
- package/dist/common/output.js +2 -2
- package/dist/common/settings.js +2 -2
- package/dist/common/upgraders/lib.js +2 -2
- package/dist/common/upgraders/package-json-upgrader.js +2 -2
- package/dist/common/upgraders/vscode-settings-json-upgrader.js +2 -2
- package/dist/common/validators/file-system-validator.js +2 -2
- package/dist/common/validators/lib.js +2 -2
- package/dist/common/validators/login-state-validator.js +2 -2
- package/dist/common/validators/project-name-validator.js +2 -2
- package/dist/common/xdg/lib.js +2 -2
- package/dist/convert/engine.js +2 -2
- package/dist/convert/handler.js +2 -2
- package/dist/convert/routes.generated.js +2 -2
- package/dist/delete/handler.js +2 -2
- package/dist/delete/poll-deployment.js +2 -2
- package/dist/deploy/archive.js +2 -2
- package/dist/deploy/file-upload.js +2 -2
- package/dist/deploy/handler.js +2 -2
- package/dist/deploy/poll-deployment.js +2 -2
- package/dist/dev/handler.js +13 -3
- package/dist/editor/assets/index-03352ce7.js +43 -43
- package/dist/editor/handler.js +2 -2
- package/dist/editor/server/cors-plugin.js +2 -2
- package/dist/editor/server/server.js +39 -13
- package/dist/editor/server/xfs.js +2 -2
- package/dist/link/handler.js +2 -2
- package/dist/link/populate.js +2 -2
- package/dist/list/handler.js +2 -2
- package/dist/login/handler.js +2 -2
- package/dist/login/server.js +2 -2
- package/dist/project/update/handler.js +2 -2
- package/dist/test/esbuild-config.js +2 -2
- package/dist/test/esbuild-plugins/deno-test-prep-plugin.js +2 -2
- package/dist/test/handler.js +2 -2
- package/dist/test/invoke-test.js +2 -2
- package/dist/tunnel/create/handler.js +2 -2
- package/dist/tunnel/delete/handler.js +2 -2
- package/dist/tunnel/delete/poll-teardown-operation.js +2 -2
- package/dist/tunnel/describe/handler.js +2 -2
- package/dist/tunnel/list/handler.js +2 -2
- package/dist/tunnel/models.js +2 -2
- package/dist/tunnel/rotate-token/handler.js +2 -2
- package/dist/tunnel/services/describe/handler.js +2 -2
- package/dist/tunnel/services/update/handler.js +2 -2
- package/dist/tunnel/services/update/poll-provisioning-operations.js +2 -2
- package/dist/variable/create/handler.js +2 -2
- package/dist/variable/models.js +2 -2
- package/dist/variable/update/handler.js +2 -2
- package/package.json +4 -4
package/dist/editor/handler.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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 '
|
|
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,
|
|
82
|
+
const projectConfigPath = path.join(this.workingDir, CONFIG_DIR);
|
|
78
83
|
if (!(await dirExists(projectConfigPath))) {
|
|
79
|
-
request.log.warn(`Cannot find the project '
|
|
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 '
|
|
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
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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.
|
|
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
|
-
|
|
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=
|
|
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]="
|
|
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=
|
|
23
|
+
//# debugId=1b54efb0-e801-5361-9801-9ede9473aab8
|
package/dist/link/handler.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
83
|
+
//# debugId=58dd100d-a3cc-5513-8100-f19039643f55
|
package/dist/link/populate.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
69
|
+
//# debugId=50bbf97c-4d18-5bc7-a456-bcf385c394c2
|
package/dist/list/handler.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
29
|
+
//# debugId=d0ecad85-2c6c-57cf-b9e7-541651faca67
|
package/dist/login/handler.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
78
|
+
//# debugId=9953f515-a669-5828-bb13-a7d715329281
|
package/dist/login/server.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
99
|
+
//# debugId=56373cfd-334d-515f-8073-fb8560249602
|
package/dist/test/handler.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
30
|
+
//# debugId=3013b06a-1c1b-580e-bea6-b42c687d931d
|
package/dist/test/invoke-test.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
37
|
+
//# debugId=990fb347-877a-523a-a03b-d91459bf7dcc
|
package/dist/tunnel/models.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
34
|
+
//# debugId=98224ccb-ce96-5060-b338-fa84913d0689
|
package/dist/variable/models.js
CHANGED
|
@@ -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]="
|
|
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=
|
|
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]="
|
|
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=
|
|
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.
|
|
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.
|
|
62
|
-
"@zuplo/pino-pretty-configurations": "^1.
|
|
63
|
-
"@zuplo/runtime": "5.
|
|
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",
|