fix: resolve all TS errors, ESLint warnings, and npm warnings bump to v0.3.12
- Pin all @milkdown/* packages to exact 7.21.1, add phantom-dep plugins as direct deps - Fix TextSelection.create type error in useMilkdown.ts - Fix Backspace auto-pair dead-code bug (unreachable due to PAIRS check order) - Extract parseHeadings/Heading to outlineUtils.ts (react-refresh fix) - Extract StatusBar item components to StatusBarItems.tsx (react-refresh fix) - Configure npm allowScripts for electron and esbuild postinstall - Update QUALITY_REVIEW_REPORT.json with all fixes applied - Bump version to 0.3.12
This commit is contained in:
+17
-8
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marklite",
|
||||
"version": "0.3.11",
|
||||
"version": "0.3.12",
|
||||
"description": "Lightweight Markdown Editor for Windows",
|
||||
"main": "./dist/main/index.js",
|
||||
"scripts": {
|
||||
@@ -28,13 +28,18 @@
|
||||
"author": "MarkLite",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@milkdown/core": "^7.21.1",
|
||||
"@milkdown/ctx": "^7.21.1",
|
||||
"@milkdown/preset-commonmark": "^7.21.1",
|
||||
"@milkdown/preset-gfm": "^7.21.1",
|
||||
"@milkdown/prose": "^7.21.2",
|
||||
"@milkdown/react": "^7.21.1",
|
||||
"@milkdown/utils": "^7.21.1",
|
||||
"@milkdown/core": "7.21.1",
|
||||
"@milkdown/ctx": "7.21.1",
|
||||
"@milkdown/plugin-clipboard": "7.21.1",
|
||||
"@milkdown/plugin-history": "7.21.1",
|
||||
"@milkdown/plugin-indent": "7.21.1",
|
||||
"@milkdown/plugin-listener": "7.21.1",
|
||||
"@milkdown/plugin-trailing": "7.21.1",
|
||||
"@milkdown/preset-commonmark": "7.21.1",
|
||||
"@milkdown/preset-gfm": "7.21.1",
|
||||
"@milkdown/prose": "7.21.1",
|
||||
"@milkdown/react": "7.21.1",
|
||||
"@milkdown/utils": "7.21.1",
|
||||
"dexie": "^4.0.11",
|
||||
"nanoid": "^5.1.5",
|
||||
"react": "^18.3.1",
|
||||
@@ -120,5 +125,9 @@
|
||||
"icon": "assets/icon.ico"
|
||||
}
|
||||
]
|
||||
},
|
||||
"allowScripts": {
|
||||
"electron": true,
|
||||
"esbuild": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user