summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichie Foreman <[email protected]>2025-08-12 14:53:11 -0400
committerGitHub <[email protected]>2025-08-12 18:53:11 +0000
commitf34012034ce5ae86c3b7fd7c902efdefed1062c4 (patch)
treec50294d2bacf2e00950ca26354146dc90b27f08e
parent4ecfb478b066ba8448eeef579a874ffedfa910ee (diff)
chore(vscode): Add `Build & Launch CLI` option to vscode project (#6027)
-rw-r--r--.vscode/launch.json4
-rw-r--r--package.json1
2 files changed, 3 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 9b9d150d..97c9eba5 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -7,9 +7,9 @@
{
"type": "node",
"request": "launch",
- "name": "Launch CLI",
+ "name": "Build & Launch CLI",
"runtimeExecutable": "npm",
- "runtimeArgs": ["run", "start"],
+ "runtimeArgs": ["run", "build-and-start"],
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
diff --git a/package.json b/package.json
index ffbd7628..e5a14de5 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,7 @@
"auth": "npm run auth:npm && npm run auth:docker",
"generate": "node scripts/generate-git-commit-info.js",
"build": "node scripts/build.js",
+ "build-and-start": "npm run build && npm run start",
"build:vscode": "node scripts/build_vscode_companion.js",
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
"build:packages": "npm run build --workspaces",