@cedarjs/cli 5.0.0-canary.2565 → 5.0.0-canary.2566
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/dev/devHandler.js +2 -0
- package/dist/commands/dev.js +3 -0
- package/package.json +12 -12
|
@@ -20,6 +20,7 @@ const handler = async ({
|
|
|
20
20
|
forward = "",
|
|
21
21
|
generate = true,
|
|
22
22
|
apiDebugPort,
|
|
23
|
+
debugBrk,
|
|
23
24
|
ud = false
|
|
24
25
|
}) => {
|
|
25
26
|
recordTelemetryAttributes({
|
|
@@ -177,6 +178,7 @@ const handler = async ({
|
|
|
177
178
|
` --port ${webAvailablePort}`,
|
|
178
179
|
` --apiPort ${apiAvailablePort}`,
|
|
179
180
|
getApiDebugFlag(apiDebugPort, apiAvailablePort),
|
|
181
|
+
debugBrk ? "--debug-brk" : "",
|
|
180
182
|
forward
|
|
181
183
|
].join(" ").replace(/\s+/g, " ").trim();
|
|
182
184
|
};
|
package/dist/commands/dev.js
CHANGED
|
@@ -24,6 +24,9 @@ const builder = (yargs) => {
|
|
|
24
24
|
}).option("apiDebugPort", {
|
|
25
25
|
type: "number",
|
|
26
26
|
description: "Port on which to expose API server debugger. If you supply the flag with no value it defaults to 1 prepended to the api port (e.g. api port 8913 -> debug port 18913)."
|
|
27
|
+
}).option("debugBrk", {
|
|
28
|
+
type: "boolean",
|
|
29
|
+
description: "Wait for a debugger to connect before starting the API dev server, similar to Node.js --inspect-brk. Only works in --ud mode."
|
|
27
30
|
}).option("ud", {
|
|
28
31
|
type: "boolean",
|
|
29
32
|
default: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "5.0.0-canary.
|
|
3
|
+
"version": "5.0.0-canary.2566",
|
|
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": "5.0.0-canary.
|
|
37
|
-
"@cedarjs/cli-helpers": "5.0.0-canary.
|
|
38
|
-
"@cedarjs/fastify-web": "5.0.0-canary.
|
|
39
|
-
"@cedarjs/internal": "5.0.0-canary.
|
|
40
|
-
"@cedarjs/prerender": "5.0.0-canary.
|
|
41
|
-
"@cedarjs/project-config": "5.0.0-canary.
|
|
42
|
-
"@cedarjs/structure": "5.0.0-canary.
|
|
43
|
-
"@cedarjs/telemetry": "5.0.0-canary.
|
|
44
|
-
"@cedarjs/utils": "5.0.0-canary.
|
|
45
|
-
"@cedarjs/vite": "5.0.0-canary.
|
|
46
|
-
"@cedarjs/web-server": "5.0.0-canary.
|
|
36
|
+
"@cedarjs/api-server": "5.0.0-canary.2566",
|
|
37
|
+
"@cedarjs/cli-helpers": "5.0.0-canary.2566",
|
|
38
|
+
"@cedarjs/fastify-web": "5.0.0-canary.2566",
|
|
39
|
+
"@cedarjs/internal": "5.0.0-canary.2566",
|
|
40
|
+
"@cedarjs/prerender": "5.0.0-canary.2566",
|
|
41
|
+
"@cedarjs/project-config": "5.0.0-canary.2566",
|
|
42
|
+
"@cedarjs/structure": "5.0.0-canary.2566",
|
|
43
|
+
"@cedarjs/telemetry": "5.0.0-canary.2566",
|
|
44
|
+
"@cedarjs/utils": "5.0.0-canary.2566",
|
|
45
|
+
"@cedarjs/vite": "5.0.0-canary.2566",
|
|
46
|
+
"@cedarjs/web-server": "5.0.0-canary.2566",
|
|
47
47
|
"@listr2/prompt-adapter-enquirer": "4.2.1",
|
|
48
48
|
"@opentelemetry/api": "1.9.1",
|
|
49
49
|
"@opentelemetry/core": "1.30.1",
|