@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
|
@@ -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]="d154f5e9-c679-56f7-bd91-57416bf774ef")}catch(e){}}();
|
|
3
3
|
import { parse } from "jsonc-parser";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
import { readFile, writeFile } from "node:fs/promises";
|
|
@@ -93,4 +93,4 @@ export class VsCodeSettingsJsonUpgrader extends StandardUpgrader {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
//# sourceMappingURL=vscode-settings-json-upgrader.js.map
|
|
96
|
-
//# debugId=
|
|
96
|
+
//# debugId=d154f5e9-c679-56f7-bd91-57416bf774ef
|
|
@@ -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]="648539ee-2075-5ac0-b268-fc5ae066e234")}catch(e){}}();
|
|
3
3
|
import fg from "fast-glob";
|
|
4
4
|
import { existsSync, readdirSync } from "node:fs";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -163,4 +163,4 @@ export const validDeployDirectoryValidator = new CompositeValidator(new ZuploPro
|
|
|
163
163
|
export const validTestDirectoryValidator = new CompositeValidator(new ZuploProjectValidator(), new ZuploProjectHasTestsValidator());
|
|
164
164
|
export const validLinkDirectoryValidator = new CompositeValidator(new ZuploProjectValidator(), new UserIsLoggedInValidator());
|
|
165
165
|
//# sourceMappingURL=file-system-validator.js.map
|
|
166
|
-
//# debugId=
|
|
166
|
+
//# debugId=648539ee-2075-5ac0-b268-fc5ae066e234
|
|
@@ -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]="2f478e87-b9eb-58aa-a642-edebf3c67d1f")}catch(e){}}();
|
|
3
3
|
export class CompositeValidator {
|
|
4
4
|
validators = new Array();
|
|
5
5
|
constructor(...validators) {
|
|
@@ -31,4 +31,4 @@ export class YargsChecker {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
//# sourceMappingURL=lib.js.map
|
|
34
|
-
//# debugId=
|
|
34
|
+
//# debugId=2f478e87-b9eb-58aa-a642-edebf3c67d1f
|
|
@@ -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]="b7b6a78a-851e-5dd1-9612-d6e35ceab3cb")}catch(e){}}();
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -36,4 +36,4 @@ export class UserIsLoggedInValidator {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=login-state-validator.js.map
|
|
39
|
-
//# debugId=
|
|
39
|
+
//# debugId=b7b6a78a-851e-5dd1-9612-d6e35ceab3cb
|
|
@@ -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]="277e3041-3783-5b05-9c9e-046eccec3cf9")}catch(e){}}();
|
|
3
3
|
export class ProjectIsNotSet extends Error {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(`Missing project name. This command requires a project to be specified. Either specify it using --project or set it in zuplo.jsonc.
|
|
@@ -30,4 +30,4 @@ export class ProjectIsSetValidator {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
//# sourceMappingURL=project-name-validator.js.map
|
|
33
|
-
//# debugId=
|
|
33
|
+
//# debugId=277e3041-3783-5b05-9c9e-046eccec3cf9
|
package/dist/common/xdg/lib.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]="b489b940-9f72-5e46-bb6b-f86931bf9503")}catch(e){}}();
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { ZUPLO_CLI_XDG_FOLDER_NAME } from "../constants.js";
|
|
@@ -18,4 +18,4 @@ export const ZUPLO_XDG_CONFIG_HOME = path.join(XDG_CONFIG_HOME, ZUPLO_CLI_XDG_FO
|
|
|
18
18
|
export const ZUPLO_XDG_DATA_HOME = path.join(XDG_DATA_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
|
|
19
19
|
export const ZUPLO_XDG_STATE_HOME = path.join(XDG_STATE_HOME, ZUPLO_CLI_XDG_FOLDER_NAME);
|
|
20
20
|
//# sourceMappingURL=lib.js.map
|
|
21
|
-
//# debugId=
|
|
21
|
+
//# debugId=b489b940-9f72-5e46-bb6b-f86931bf9503
|
package/dist/convert/engine.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]="d65a6f87-4437-515b-b099-6e6be3b46f6e")}catch(e){}}();
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
export function convertRoutes(routesConfig) {
|
|
5
5
|
const base = generateBaseOpenAPIConfig();
|
|
@@ -73,4 +73,4 @@ function fullPath(path, context) {
|
|
|
73
73
|
return join(versionPrefix, path.path);
|
|
74
74
|
}
|
|
75
75
|
//# sourceMappingURL=engine.js.map
|
|
76
|
-
//# debugId=
|
|
76
|
+
//# debugId=d65a6f87-4437-515b-b099-6e6be3b46f6e
|
package/dist/convert/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]="98ec46cb-efc5-52e5-8f3c-7c9a206b4cf6")}catch(e){}}();
|
|
3
3
|
import { writeFileSync } from "node:fs";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
import { join, relative } from "node:path";
|
|
@@ -36,4 +36,4 @@ export async function convert(argv) {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=handler.js.map
|
|
39
|
-
//# debugId=
|
|
39
|
+
//# debugId=98ec46cb-efc5-52e5-8f3c-7c9a206b4cf6
|
|
@@ -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]="08f01bb2-9972-5856-87c5-86eced9af7f2")}catch(e){}}();
|
|
3
3
|
export {};
|
|
4
4
|
//# sourceMappingURL=routes.generated.js.map
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=08f01bb2-9972-5856-87c5-86eced9af7f2
|
package/dist/delete/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]="c0e12a81-6398-5654-b44c-994a9ced2056")}catch(e){}}();
|
|
3
3
|
import { logger } from "../common/logger.js";
|
|
4
4
|
import { printCriticalFailureToConsoleAndExit, printResultToConsoleAndExitGracefully, } from "../common/output.js";
|
|
5
5
|
import settings from "../common/settings.js";
|
|
@@ -61,4 +61,4 @@ export async function deleteZup(argv) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
//# sourceMappingURL=handler.js.map
|
|
64
|
-
//# debugId=
|
|
64
|
+
//# debugId=c0e12a81-6398-5654-b44c-994a9ced2056
|
|
@@ -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]="a698b41b-5ddc-5fef-ba13-85d60383e927")}catch(e){}}();
|
|
3
3
|
import { printDiagnosticsToConsole } from "../common/output.js";
|
|
4
4
|
import settings from "../common/settings.js";
|
|
5
5
|
function wait(duration = settings.POLL_INTERVAL) {
|
|
@@ -20,4 +20,4 @@ export async function pingDeployment(argv) {
|
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=poll-deployment.js.map
|
|
23
|
-
//# debugId=
|
|
23
|
+
//# debugId=a698b41b-5ddc-5fef-ba13-85d60383e927
|
package/dist/deploy/archive.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]="f72f9cae-79e9-568c-8463-bf22056cdd05")}catch(e){}}();
|
|
3
3
|
import ignore from "ignore";
|
|
4
4
|
import minimatch from "minimatch";
|
|
5
5
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, } from "node:fs";
|
|
@@ -102,4 +102,4 @@ async function writeGeneratedMetadata(dir, metadata) {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
//# sourceMappingURL=archive.js.map
|
|
105
|
-
//# debugId=
|
|
105
|
+
//# debugId=f72f9cae-79e9-568c-8463-bf22056cdd05
|
|
@@ -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]="276fdbdc-f00d-56c1-9119-77780a0328cc")}catch(e){}}();
|
|
3
3
|
import { readFileSync, statSync } from "node:fs";
|
|
4
4
|
export async function upload(tarballPath, url) {
|
|
5
5
|
const stats = statSync(tarballPath);
|
|
@@ -14,4 +14,4 @@ export async function upload(tarballPath, url) {
|
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=file-upload.js.map
|
|
17
|
-
//# debugId=
|
|
17
|
+
//# debugId=276fdbdc-f00d-56c1-9119-77780a0328cc
|
package/dist/deploy/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]="a8d73cfc-a631-5b55-ba40-3fec95f13f5f")}catch(e){}}();
|
|
3
3
|
import { parse } from "node:path";
|
|
4
4
|
import { logger } from "../common/logger.js";
|
|
5
5
|
import { printCriticalFailureToConsoleAndExit, printDiagnosticsToConsole, printResultToConsoleAndExitGracefully, } from "../common/output.js";
|
|
@@ -49,4 +49,4 @@ export async function deploy(argv) {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
//# sourceMappingURL=handler.js.map
|
|
52
|
-
//# debugId=
|
|
52
|
+
//# debugId=a8d73cfc-a631-5b55-ba40-3fec95f13f5f
|
|
@@ -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]="d51d59c4-00c9-53e6-a25b-48339755ffa5")}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";
|
|
@@ -63,4 +63,4 @@ export async function pollDeployment(argv, fileId, account, project) {
|
|
|
63
63
|
return {};
|
|
64
64
|
}
|
|
65
65
|
//# sourceMappingURL=poll-deployment.js.map
|
|
66
|
-
//# debugId=
|
|
66
|
+
//# debugId=d51d59c4-00c9-53e6-a25b-48339755ffa5
|
package/dist/dev/handler.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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]="c73be6b5-a5f8-54e9-8902-e6c42cb6b377")}catch(e){}}();
|
|
3
3
|
import * as dotenv from "dotenv";
|
|
4
4
|
import { cpSync, existsSync } from "node:fs";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
6
6
|
import { join, relative, resolve } from "node:path";
|
|
7
7
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
8
8
|
import { locateDenoExecutable } from "../common/deno-utils/locator.js";
|
|
9
|
+
import { printDiagnosticsToConsole } from "../common/output.js";
|
|
9
10
|
export async function dev(argv) {
|
|
10
11
|
const sourceDirectory = resolve(join(relative(process.cwd(), argv.dir)));
|
|
11
12
|
const zuploRuntimePath = new URL("../../node_modules/@zuplo/runtime", import.meta.url);
|
|
@@ -36,9 +37,18 @@ export async function dev(argv) {
|
|
|
36
37
|
disableIntegratedDevPortalBuild: false,
|
|
37
38
|
},
|
|
38
39
|
});
|
|
40
|
+
printDiagnosticsToConsole("Started local development setup");
|
|
41
|
+
printDiagnosticsToConsole("Ctrl+C to exit");
|
|
42
|
+
printDiagnosticsToConsole("");
|
|
43
|
+
printDiagnosticsToConsole(`🚀 Zuplo Gateway: http://localhost:${port}`);
|
|
44
|
+
printDiagnosticsToConsole("");
|
|
45
|
+
printDiagnosticsToConsole("");
|
|
39
46
|
return new Promise((resolve) => {
|
|
40
|
-
serverProcess.on("exit",
|
|
47
|
+
serverProcess.on("exit", () => {
|
|
48
|
+
printDiagnosticsToConsole("Closing local development setup");
|
|
49
|
+
resolve(void 0);
|
|
50
|
+
});
|
|
41
51
|
});
|
|
42
52
|
}
|
|
43
53
|
//# sourceMappingURL=handler.js.map
|
|
44
|
-
//# debugId=
|
|
54
|
+
//# debugId=c73be6b5-a5f8-54e9-8902-e6c42cb6b377
|