@zuplo/cli 1.110.0 → 1.111.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/dev/handler.js +4 -6
- package/package.json +4 -4
package/dist/dev/handler.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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]="dde8dcee-5646-5949-b230-50ff08e9b24e")}catch(e){}}();
|
|
3
3
|
import { cpSync, existsSync } from "node:fs";
|
|
4
4
|
import { join, relative, resolve } from "node:path";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
6
|
-
import { locateDenoExecutable } from "../common/deno-utils/locator.js";
|
|
7
6
|
import { logger } from "../common/logger.js";
|
|
8
7
|
import { printDiagnosticsToConsole } from "../common/output.js";
|
|
9
8
|
import { ApiServer } from "../editor/server/server.js";
|
|
@@ -17,7 +16,6 @@ export async function dev(argv) {
|
|
|
17
16
|
});
|
|
18
17
|
}
|
|
19
18
|
process.env.GLOBAL_MODULE_LOCATION = fileURLToPath(new URL("../../node_modules", import.meta.url));
|
|
20
|
-
process.env.DENO_EXECUTABLE = await locateDenoExecutable();
|
|
21
19
|
const loadedEnvFiles = [];
|
|
22
20
|
const envFile = join(sourceDirectory, ".env");
|
|
23
21
|
if (existsSync(envFile)) {
|
|
@@ -33,9 +31,10 @@ export async function dev(argv) {
|
|
|
33
31
|
process.env.__ZUPLO_CONFIG = btoa(JSON.stringify(config));
|
|
34
32
|
const core = await import("@zuplo/core");
|
|
35
33
|
const port = argv.port;
|
|
36
|
-
|
|
34
|
+
await core.default.startDevServer({
|
|
37
35
|
sourceDirectory,
|
|
38
36
|
port,
|
|
37
|
+
devServerPort: undefined,
|
|
39
38
|
generateSourceMaps: true,
|
|
40
39
|
flags: {
|
|
41
40
|
remoteModules: false,
|
|
@@ -67,7 +66,6 @@ export async function dev(argv) {
|
|
|
67
66
|
return new Promise((resolve) => {
|
|
68
67
|
async function exit() {
|
|
69
68
|
printDiagnosticsToConsole("Closing local development setup");
|
|
70
|
-
serverProcess.kill();
|
|
71
69
|
if (argv["start-editor"]) {
|
|
72
70
|
printDiagnosticsToConsole("Closing local route designer");
|
|
73
71
|
await editor.close();
|
|
@@ -79,4 +77,4 @@ export async function dev(argv) {
|
|
|
79
77
|
});
|
|
80
78
|
}
|
|
81
79
|
//# sourceMappingURL=handler.js.map
|
|
82
|
-
//# debugId=
|
|
80
|
+
//# debugId=dde8dcee-5646-5949-b230-50ff08e9b24e
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zuplo/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.111.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "https://github.com/zuplo/cli",
|
|
6
6
|
"description": "The command-line interface for Zuplo",
|
|
@@ -60,15 +60,14 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@fastify/cors": "^8.3.0",
|
|
62
62
|
"@fastify/static": "^6.10.2",
|
|
63
|
-
"@google-cloud/tasks": "5.1.1",
|
|
64
63
|
"@inquirer/prompts": "^3.0.4",
|
|
65
64
|
"@opentelemetry/api": "^1.8.0",
|
|
66
65
|
"@sentry/node": "7.69.0",
|
|
67
66
|
"@swc/core": "1.3.78",
|
|
68
|
-
"@zuplo/core": "5.
|
|
67
|
+
"@zuplo/core": "5.2074.0",
|
|
69
68
|
"@zuplo/deno-bin": "1.37.1",
|
|
70
69
|
"@zuplo/pino-pretty-configurations": "^1.5.0",
|
|
71
|
-
"@zuplo/runtime": "5.
|
|
70
|
+
"@zuplo/runtime": "5.2074.0",
|
|
72
71
|
"chalk": "^5.1.2",
|
|
73
72
|
"chokidar": "^3.5.3",
|
|
74
73
|
"dotenv": "^16.3.1",
|
|
@@ -96,6 +95,7 @@
|
|
|
96
95
|
"tar": "^6.1.13",
|
|
97
96
|
"temp": "^0.9.4",
|
|
98
97
|
"uuid": "^9.0.1",
|
|
98
|
+
"workerd": "1.20240405.0",
|
|
99
99
|
"yargs": "^17.7.1"
|
|
100
100
|
}
|
|
101
101
|
}
|