Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Web 主应用与部分浏览器扩展 UI 支持 **zh-CN**、**zh-TW**、**en-US*
1. **共享版本用 catalog** — 跨包共用的工具链版本集中在 `pnpm-workspace.yaml` 的 `catalog`(`typescript`、`vitest`、`wrangler`、`@types/node`、`marked`、`@codemirror/state|view` 等);workspace 内各 `package.json` 用 `"catalog:"` 引用。**仓库根 `package.json` 因 `private: false` 可被 npm 消费,须写普通 semver,勿用 `catalog:`。**包专属依赖可继续写版本号(`pnpm/json-enforce-catalog` 已关闭)
2. **Prettier 必须固定在 `2.8.8`** — 通过 catalog + `overrides.prettier` 强制(根 package 直接写 `2.8.8`)
3. **Patch 文件:** 如果打了 patch 的依赖升级了,必须同步更新 `patches/` 中对应的 patch 文件:
- `@codemirror/view` → `patches/@codemirror__view@6.43.14.patch`(导出 `MeasureRequest` 接口,修复 macOS 上 Alt+Shift 快捷键处理)
- `@codemirror/view` → `patches/@codemirror__view@6.43.15.patch`(导出 `MeasureRequest` 接口,修复 macOS 上 Alt+Shift 快捷键处理)
- `mermaid` → `patches/mermaid@12.2.0.patch`(流程图 HTML 标签在非整数 DPR 下按宽度换行,避免文字被裁切)
- `juice` 12.2.0 已在上游处理 `parseCSS` 空返回值,不再需要本地 patch
4. 更新 `pnpm-workspace.yaml` 中的 `patchedDependencies` 以匹配新版本
Expand Down
10 changes: 5 additions & 5 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"postinstall": "wxt prepare"
},
"dependencies": {
"@aws-sdk/client-s3": "3.1152.0",
"@aws-sdk/s3-request-presigner": "3.1152.0",
"@codemirror/autocomplete": "^6.20.3",
"@aws-sdk/client-s3": "3.1153.0",
"@aws-sdk/s3-request-presigner": "3.1153.0",
"@codemirror/autocomplete": "^6.20.4",
"@codemirror/language": "^6.13.1",
"@codemirror/state": "catalog:",
"@codemirror/view": "catalog:",
"@lucide/vue": "^1.58.0",
"@lucide/vue": "^1.59.0",
"@md/core": "workspace:*",
"@md/shared": "workspace:*",
"@vue/devtools-api": "^8.2.1",
Expand All @@ -56,7 +56,7 @@
"tailwind-merge": "^3.7.0",
"vee-validate": "^4.15.1",
"vue": "^3.5.44",
"vue-i18n": "^11.4.14",
"vue-i18n": "^11.4.16",
"vue-pick-colors": "^1.8.0",
"vue-sonner": "^2.0.9",
"zod": "catalog:"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"marked": "catalog:"
},
"dependencies": {
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/autocomplete": "^6.20.4",
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ diff --git a/dist/index.cjs b/dist/index.cjs
index 33ce13ed..460151e0 100644
--- a/dist/index.cjs
+++ b/dist/index.cjs
@@ -9263,7 +9263,8 @@ function runHandlers(map, event, view, scope) {
@@ -9293,7 +9293,8 @@ function runHandlers(map, event, view, scope) {
// Ctrl-Alt may be used for AltGr on Windows
!(browser.windows && event.ctrlKey && event.altKey) &&
// Alt-combinations on macOS tend to be typed characters
Expand Down Expand Up @@ -42,7 +42,7 @@ diff --git a/dist/index.js b/dist/index.js
index e4718ac9..62c67624 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -9258,7 +9258,8 @@ function runHandlers(map, event, view, scope) {
@@ -9288,7 +9288,8 @@ function runHandlers(map, event, view, scope) {
// Ctrl-Alt may be used for AltGr on Windows
!(browser.windows && event.ctrlKey && event.altKey) &&
// Alt-combinations on macOS tend to be typed characters
Expand All @@ -51,4 +51,4 @@ index e4718ac9..62c67624 100644
+ !(browser.mac && event.altKey && !event.shiftKey && !(event.ctrlKey || event.metaKey)) &&
(baseName = base[event.keyCode]) && baseName != name) {
if (runFor(scopeObj[prefix + modifiers(baseName, event, true)])) {
handled = true;
handled = true;
Loading
Loading