Add dependsOn for watch:esbuild script (#4026)

This commit is contained in:
Chris Estreich 2025-05-26 22:00:39 -07:00 committed by GitHub
parent b7d1c9ae4a
commit 057ac3e428
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 6 deletions

10
.vscode/tasks.json vendored
View file

@ -5,7 +5,7 @@
"tasks": [
{
"label": "watch",
"dependsOn": ["webview", "watch:tsc", "watch:esbuild"],
"dependsOn": ["watch:webview", "watch:bundle", "watch:tsc"],
"presentation": {
"reveal": "never"
},
@ -15,7 +15,7 @@
}
},
{
"label": "webview",
"label": "watch:webview",
"type": "shell",
"command": "pnpm --filter @roo-code/vscode-webview dev",
"group": "build",
@ -37,9 +37,9 @@
}
},
{
"label": "watch:esbuild",
"label": "watch:bundle",
"type": "shell",
"command": "pnpm --filter roo-cline watch:esbuild",
"command": "npx turbo watch:bundle",
"group": "build",
"problemMatcher": {
"owner": "esbuild",
@ -61,7 +61,7 @@
{
"label": "watch:tsc",
"type": "shell",
"command": "pnpm --filter roo-cline watch:tsc",
"command": "npx turbo watch:tsc",
"group": "build",
"problemMatcher": "$tsc-watch",
"isBackground": true,

View file

@ -327,7 +327,7 @@
"vscode:prepublish": "pnpm bundle --production",
"vsix": "mkdirp ../bin && npx vsce package --no-dependencies --out ../bin",
"publish:marketplace": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
"watch:esbuild": "pnpm bundle --watch",
"watch:bundle": "pnpm bundle --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"clean": "rimraf README.md CHANGELOG.md LICENSE dist webview-ui out mock .turbo"
},

View file

@ -30,6 +30,13 @@
"vsix:nightly": {
"dependsOn": ["bundle:nightly", "@roo-code/vscode-webview#build:nightly"],
"cache": false
},
"watch:bundle": {
"dependsOn": ["@roo-code/build#build", "@roo-code/types#build"],
"cache": false
},
"watch:tsc": {
"cache": false
}
}
}