dsh-sa-workbench 0.1.29 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -283,6 +283,11 @@ export function apply(ctx) {
283
283
  const bytes=await readFile(join(LIB_DIR,'assets','version-plan-template.xlsx'))
284
284
  return json(res,200,{ok:true,name:'版本计划模板.xlsx',content:bytes.toString('base64')})
285
285
  }
286
+ if (route === '/reading-mermaid' && req.method === 'GET') {
287
+ const bytes=await readFile(join(LIB_DIR,'assets','reading-mermaid.js'))
288
+ res.writeHead(200,{'content-type':'text/javascript; charset=utf-8','x-content-type-options':'nosniff','cache-control':'no-store'})
289
+ return res.end(bytes)
290
+ }
286
291
  if (route === '/overview-font' && req.method === 'GET') {
287
292
  const bytes=await readFile(join(LIB_DIR,'assets','outfit-latin-wght-normal.woff2'))
288
293
  return json(res,200,{ok:true,content:bytes.toString('base64')})
@@ -1 +1 @@
1
- {"type":"module","version":"0.1.29"}
1
+ {"type":"module","version":"0.1.30"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sa-workbench",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "SA 工作台:需求整理、方案、PRD、原型和交付归档,一个插件统一安装与更新。",
5
5
  "type": "module",
6
6
  "main": "index.js",