Skip to content

Commit 0b0a996

Browse files
committed
fix(editor): 用 pnpm overrides 钉住 @codemirror/state 单一版本
新增 @codemirror/commands 依赖拉进了第二个 @codemirror/state(6.7.0 vs 6.6.0), 双实例破坏 Extension 的 instanceof 检查导致运行时报错;overrides 统一到 6.7.0。
1 parent cdf4fa0 commit 0b0a996

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
},
7979
"pnpm": {
8080
"overrides": {
81-
"@codemirror/autocomplete": "6.20.3"
81+
"@codemirror/autocomplete": "6.20.3",
82+
"@codemirror/state": "6.7.0"
8283
}
8384
}
8485
}

0 commit comments

Comments
 (0)