chore: 补充遗漏提交 — 日志分类/导航配置/依赖声明/路径别名

- shared/types/logging.ts: 新增 canvas + canvas-window 日志分类
- nav-config.ts: 移除合规素材库导航项 (合规素材库页面待后续实现)
- package.json + lock: 补充 zustand 依赖声明
- tsconfig.node.json: 补充 @shared/* 路径别名 (主进程导入)
- .gitignore: 排除 infinite_canvas_140 目录

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-24 20:08:28 +08:00
parent b04b5a0390
commit e0d91335c7
6 changed files with 43 additions and 24 deletions

34
package-lock.json generated
View File

@@ -14,7 +14,8 @@
"electron-updater": "^6.8.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sql.js": "^1.14.1"
"sql.js": "^1.14.1",
"zustand": "^5.0.14"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
@@ -2684,7 +2685,7 @@
"version": "19.2.16",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.16.tgz",
"integrity": "sha512-esJiCAnl0kfpNdE69f3So4WJUXy95dLZydX0KwK46riIHDzHM7O9Vtf9xCHW0PXIqvgqNrswl522kA/5yx+F4w==",
"dev": true,
"devOptional": true,
"license": "MIT",
"dependencies": {
"csstype": "^3.2.2"
@@ -8309,6 +8310,35 @@
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
}
},
"node_modules/zustand": {
"version": "5.0.14",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",
"integrity": "sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==",
"license": "MIT",
"engines": {
"node": ">=12.20.0"
},
"peerDependencies": {
"@types/react": ">=18.0.0",
"immer": ">=9.0.6",
"react": ">=18.0.0",
"use-sync-external-store": ">=1.2.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"immer": {
"optional": true
},
"react": {
"optional": true
},
"use-sync-external-store": {
"optional": true
}
}
}
}
}