@cedarjs/cli 1.0.0-canary.12512 → 1.0.0-canary.12513
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.
|
@@ -50,7 +50,7 @@ const handler = async ({
|
|
|
50
50
|
if (hasServerFile) {
|
|
51
51
|
execa(`yarn node ${serverFilePath}`, execaConfig);
|
|
52
52
|
} else {
|
|
53
|
-
const { handler: handler2 } = await import("@cedarjs/api-server/
|
|
53
|
+
const { handler: handler2 } = await import("@cedarjs/api-server/apiCliConfigHandler");
|
|
54
54
|
handler2();
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -51,7 +51,7 @@ const handler = async ({ side, prisma, dataMigrate }) => {
|
|
|
51
51
|
if (hasServerFile) {
|
|
52
52
|
execa(`yarn node ${serverFilePath}`, execaConfig);
|
|
53
53
|
} else {
|
|
54
|
-
const { handler: handler2 } = await import("@cedarjs/api-server/
|
|
54
|
+
const { handler: handler2 } = await import("@cedarjs/api-server/apiCliConfigHandler");
|
|
55
55
|
handler2();
|
|
56
56
|
}
|
|
57
57
|
}
|
package/dist/commands/serve.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs-extra";
|
|
3
3
|
import { terminalLink } from "termi-link";
|
|
4
|
-
import * as apiServerCLIConfig from "@cedarjs/api-server/
|
|
5
|
-
import * as bothServerCLIConfig from "@cedarjs/api-server/
|
|
4
|
+
import * as apiServerCLIConfig from "@cedarjs/api-server/apiCliConfig";
|
|
5
|
+
import * as bothServerCLIConfig from "@cedarjs/api-server/bothCliConfig";
|
|
6
6
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
7
7
|
import * as webServerCLIConfig from "@cedarjs/web-server";
|
|
8
8
|
import c from "../lib/colors.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import concurrently from "concurrently";
|
|
3
3
|
import execa from "execa";
|
|
4
|
-
import { handler as apiServerHandler } from "@cedarjs/api-server/
|
|
4
|
+
import { handler as apiServerHandler } from "@cedarjs/api-server/apiCliConfigHandler";
|
|
5
5
|
import {
|
|
6
6
|
getAPIHost,
|
|
7
7
|
getAPIPort,
|
|
8
8
|
getWebHost,
|
|
9
9
|
getWebPort
|
|
10
|
-
} from "@cedarjs/api-server/
|
|
10
|
+
} from "@cedarjs/api-server/cliHelpers";
|
|
11
11
|
import { getConfig, getPaths } from "@cedarjs/project-config";
|
|
12
12
|
import { errorTelemetry } from "@cedarjs/telemetry";
|
|
13
13
|
import { exitWithError } from "../lib/exit.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12513+fa086fdda",
|
|
4
4
|
"description": "The Redwood Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime-corejs3": "7.27.6",
|
|
34
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
35
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
34
|
+
"@cedarjs/api-server": "1.0.0-canary.12513",
|
|
35
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.12513",
|
|
36
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12513",
|
|
37
|
+
"@cedarjs/internal": "1.0.0-canary.12513",
|
|
38
|
+
"@cedarjs/prerender": "1.0.0-canary.12513",
|
|
39
|
+
"@cedarjs/project-config": "1.0.0-canary.12513",
|
|
40
|
+
"@cedarjs/structure": "1.0.0-canary.12513",
|
|
41
|
+
"@cedarjs/telemetry": "1.0.0-canary.12513",
|
|
42
|
+
"@cedarjs/web-server": "1.0.0-canary.12513",
|
|
43
43
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
44
44
|
"@opentelemetry/api": "1.8.0",
|
|
45
45
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"typescript": "5.6.2",
|
|
99
99
|
"vitest": "3.2.4"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "fa086fdda596f6b7b4b822e3449b1bfb77738fa1"
|
|
102
102
|
}
|