fix: bootstrap cloud web deps for workbench e2e

This commit is contained in:
lyon
2026-06-17 20:27:49 +08:00
parent 1e7b680535
commit 10dd36a061
2 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ import path from "node:path";
const webRelativePath = path.join("web", "hwlab-cloud-web");
const sharedWebDepsName = "hwlab-cloud-web-deps";
const requiredWebPackages = ["vite", "vue", "@vitejs/plugin-vue", "vue-tsc", "vitest"];
const requiredWebBins = [path.join(".bin", "vite"), path.join(".bin", "vue-tsc")];
const requiredWebPackages = ["vite", "vue", "@vitejs/plugin-vue", "vue-tsc", "vitest", "@playwright/test"];
const requiredWebBins = [path.join(".bin", "vite"), path.join(".bin", "vue-tsc"), path.join(".bin", "playwright")];
const allowedArgs = new Set(["--web", "--json", "--quiet", "--help"]);
const args = process.argv.slice(2);