Skip to content

Commit b7abf0f

Browse files
committed
chore: add utility command for showing installed pnpm package versions
1 parent d05c10f commit b7abf0f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.vscode/tasks.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,38 @@
204204
"focus": true,
205205
"panel": "shared"
206206
}
207+
},
208+
{
209+
"label": "Frontend :: Show Dependency Version",
210+
"detail": "Print the currently installed version of a dependency",
211+
"group": "build",
212+
"type": "process",
213+
"command": "pnpm",
214+
"args": ["list", "--fail-if-no-match", "${input:depName}"],
215+
"options": {
216+
"cwd": "${workspaceFolder}/invokeai/frontend/web"
217+
},
218+
"presentation": {
219+
"reveal": "always",
220+
"focus": true,
221+
"panel": "shared"
222+
}
223+
},
224+
{
225+
"label": "Frontend :: Show Dependency Version (All)",
226+
"detail": "Print the currently installed version of all dependencies",
227+
"group": "build",
228+
"type": "process",
229+
"command": "pnpm",
230+
"args": ["list", "--fail-if-no-match"],
231+
"options": {
232+
"cwd": "${workspaceFolder}/invokeai/frontend/web"
233+
},
234+
"presentation": {
235+
"reveal": "always",
236+
"focus": true,
237+
"panel": "shared"
238+
}
207239
}
208240
],
209241
"inputs": [

0 commit comments

Comments
 (0)