@cedarjs/cli 6.0.0-canary.2789 → 6.0.0-canary.2792
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/commands/serve.js +2 -13
- package/dist/commands/serveBothHandler.js +2 -2
- package/package.json +12 -12
package/dist/commands/serve.js
CHANGED
|
@@ -6,7 +6,6 @@ import { terminalLink } from "termi-link";
|
|
|
6
6
|
import * as apiServerCLIConfig from "@cedarjs/api-server/apiCliConfig";
|
|
7
7
|
import * as bothServerCLIConfig from "@cedarjs/api-server/bothCliConfig";
|
|
8
8
|
import { recordTelemetryAttributes, colors as c } from "@cedarjs/cli-helpers";
|
|
9
|
-
import { projectIsEsm } from "@cedarjs/project-config";
|
|
10
9
|
import * as webServerCLIConfig from "@cedarjs/web-server";
|
|
11
10
|
import { getPaths, getConfig } from "../lib/index.js";
|
|
12
11
|
import { serverFileExists } from "../lib/project.js";
|
|
@@ -162,12 +161,7 @@ const builder = async (yargs) => {
|
|
|
162
161
|
const serveBothHandlers = await import("./serveBothHandler.js");
|
|
163
162
|
await serveBothHandlers.bothSsrRscServerHandler(argv, rscEnabled);
|
|
164
163
|
} else {
|
|
165
|
-
|
|
166
|
-
const { handler } = await import("@cedarjs/api-server/cjs/bothCliConfigHandler");
|
|
167
|
-
await handler(argv);
|
|
168
|
-
} else {
|
|
169
|
-
await bothServerCLIConfig.handler(argv);
|
|
170
|
-
}
|
|
164
|
+
await bothServerCLIConfig.handler(argv);
|
|
171
165
|
}
|
|
172
166
|
}
|
|
173
167
|
}).command({
|
|
@@ -219,12 +213,7 @@ const builder = async (yargs) => {
|
|
|
219
213
|
const { apiServerFileHandler } = await import("./serveApiHandler.js");
|
|
220
214
|
await apiServerFileHandler(argv);
|
|
221
215
|
} else {
|
|
222
|
-
|
|
223
|
-
const { handler } = await import("@cedarjs/api-server/cjs/apiCliConfigHandler");
|
|
224
|
-
await handler(argv);
|
|
225
|
-
} else {
|
|
226
|
-
await apiServerCLIConfig.handler(argv);
|
|
227
|
-
}
|
|
216
|
+
await apiServerCLIConfig.handler(argv);
|
|
228
217
|
}
|
|
229
218
|
}
|
|
230
219
|
}).command({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import concurrently from "concurrently";
|
|
3
|
-
import { handler as apiServerHandler } from "@cedarjs/api-server/
|
|
3
|
+
import { handler as apiServerHandler } from "@cedarjs/api-server/apiCliConfigHandler";
|
|
4
4
|
import {
|
|
5
5
|
getAPIHost,
|
|
6
6
|
getAPIPort,
|
|
7
7
|
getAPIRootPath,
|
|
8
8
|
getWebHost,
|
|
9
9
|
getWebPort
|
|
10
|
-
} from "@cedarjs/api-server/
|
|
10
|
+
} from "@cedarjs/api-server/cliHelpers";
|
|
11
11
|
import { formatRunBinCommand } from "@cedarjs/cli-helpers/packageManager/display";
|
|
12
12
|
import { runBin } from "@cedarjs/cli-helpers/packageManager/exec";
|
|
13
13
|
import { getConfig, getPaths } from "@cedarjs/project-config";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2792",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/parser": "7.29.7",
|
|
35
35
|
"@babel/preset-typescript": "7.29.7",
|
|
36
|
-
"@cedarjs/api-server": "6.0.0-canary.
|
|
37
|
-
"@cedarjs/cli-helpers": "6.0.0-canary.
|
|
38
|
-
"@cedarjs/fastify-web": "6.0.0-canary.
|
|
39
|
-
"@cedarjs/internal": "6.0.0-canary.
|
|
40
|
-
"@cedarjs/prerender": "6.0.0-canary.
|
|
41
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
42
|
-
"@cedarjs/structure": "6.0.0-canary.
|
|
43
|
-
"@cedarjs/telemetry": "6.0.0-canary.
|
|
44
|
-
"@cedarjs/utils": "6.0.0-canary.
|
|
45
|
-
"@cedarjs/vite": "6.0.0-canary.
|
|
46
|
-
"@cedarjs/web-server": "6.0.0-canary.
|
|
36
|
+
"@cedarjs/api-server": "6.0.0-canary.2792",
|
|
37
|
+
"@cedarjs/cli-helpers": "6.0.0-canary.2792",
|
|
38
|
+
"@cedarjs/fastify-web": "6.0.0-canary.2792",
|
|
39
|
+
"@cedarjs/internal": "6.0.0-canary.2792",
|
|
40
|
+
"@cedarjs/prerender": "6.0.0-canary.2792",
|
|
41
|
+
"@cedarjs/project-config": "6.0.0-canary.2792",
|
|
42
|
+
"@cedarjs/structure": "6.0.0-canary.2792",
|
|
43
|
+
"@cedarjs/telemetry": "6.0.0-canary.2792",
|
|
44
|
+
"@cedarjs/utils": "6.0.0-canary.2792",
|
|
45
|
+
"@cedarjs/vite": "6.0.0-canary.2792",
|
|
46
|
+
"@cedarjs/web-server": "6.0.0-canary.2792",
|
|
47
47
|
"@listr2/prompt-adapter-enquirer": "4.3.0",
|
|
48
48
|
"@opentelemetry/api": "1.9.1",
|
|
49
49
|
"@opentelemetry/core": "1.30.1",
|