chore(tests): 测试脚本依赖查找路径从网页端仓改到桌面端仓
validate / validate (push) Canceled after 0s

本仓只服务桌面宿主 image-workbench-desktop,与网页端无限画布工具无关。
14 个测试/工具脚本里共 15 处仍把 image-workbench-web 当 playwright/esbuild
的依赖后备目录(含 path.resolve、报错文案、album viewer-e2e 的多余候选),
全部改为 image-workbench-desktop;album 里重复的 web 仓候选直接删掉。

这些常量只用于找 node_modules,不参与任何插件逻辑,行为零变化。
桌面仓已确认有 playwright 1.64.1 / esbuild 0.28.2,改后依赖解析有效。

本轮不动 6 处 test.image-workbench-web.pages.dev 网址(属于网页端 e2e
脚本的废弃处理,另案);插件源码与版本未动,不需要发市场。
This commit is contained in:
qiqi committed 2026-11-25 15:55:46 +08:00
1 parent c1001ed61e
commit e614fca7a3
14 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import { createRequire } from 'node:module'
const HERE = path.dirname(fileURLToPath(import.meta.url))
const PLUGIN = path.resolve(HERE, '../plugin')
const HOST_REPO = '/Users/qiqi/open/github/image-workbench-web'
const HOST_REPO = '/Users/qiqi/open/github/image-workbench-desktop'
const REPO = path.resolve(HERE, '../..')
export function esbuildModule() {