Files
iwb-plugins-desktop/package.json
T
qiqi e7b6e23f8f feat(plugin): 新增 image-annotate 标注/修图插件 + 构建链
- 编辑器逐字移植自 iwb-plaus/iwb-cutout-extension(11 模块 + 2 个 shared 文件,纯 Canvas 2D、零第三方库)
- plugin/ 存 ESM 源码,src/index.js 是构建产物(提交进仓,CI 只校验不构建)
- scripts/build-plugin.mjs:esbuild 打包 + banner/footer 手写单引号 manifest + 产物自检
- 能力 commands / nodeActions / canvas / canvasWrite;入口 = 节点漂浮菜单 + 右键命令
- 导出模式按编辑器字面量映射:replace → setNodeImage,newNode → createImageNode
2026-10-19 14:03:55 +08:00

14 lines
315 B
JSON

{
"name": "@iwb-plugin/workspace",
"private": true,
"version": "1.0.0",
"description": "IWB 插件仓:只写插件,不复制宿主契约",
"scripts": {
"validate": "node scripts/validate.mjs",
"build": "node scripts/build-plugin.mjs"
},
"devDependencies": {
"esbuild": "^0.24.2"
}
}