chore(vscode): run bun install before F5 compile task

Add a VSCode - Install task that runs bun install from the workspace
root, and make VSCode - Compile depend on it. This ensures dependencies
are up to date when launching the extension with F5.
This commit is contained in:
Mark IJbema
2026-03-23 12:03:50 +01:00
parent 63a9e9f6e9
commit 239bb41cc2
+15
View File
@@ -65,6 +65,20 @@
},
"problemMatcher": []
},
{
"label": "VSCode - Install",
"type": "shell",
"command": "bun",
"args": ["install"],
"group": "build",
"presentation": {
"reveal": "silent"
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "VSCode - Compile",
"type": "shell",
@@ -77,6 +91,7 @@
"options": {
"cwd": "${workspaceFolder}/packages/kilo-vscode"
},
"dependsOn": ["VSCode - Install"],
"problemMatcher": ["$tsc", "$eslint-stylish"]
},
{