chore: 升级根目录与 catalog 依赖版本

This commit is contained in:
roymondchen 2026-10-19 16:42:31 +08:00
parent c6deac8524
commit 7f0e78bf6a
4 changed files with 1006 additions and 915 deletions

View File

@ -41,12 +41,12 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@commitlint/cli": "^21.2.4",
"@commitlint/config-conventional": "^21.2.4",
"@tmagic/eslint-config": "workspace:*",
"@types/node": "26.6.2",
"@vitejs/plugin-vue": "^6.0.9",
"@vitest/coverage-v8": "^5.0.1",
"@types/node": "26.6.5",
"@vitejs/plugin-vue": "^6.0.10",
"@vitest/coverage-v8": "^5.0.5",
"@vue/compiler-sfc": "catalog:",
"c8": "^12.0.0",
"commitizen": "^4.3.2",
@ -55,30 +55,30 @@
"cz-conventional-changelog": "^3.3.0",
"element-plus": "catalog:",
"enquirer": "^2.4.1",
"eslint": "^10.11.0",
"execa": "^10.0.1",
"happy-dom": "^20.14.5",
"eslint": "^10.13.0",
"execa": "^10.2.0",
"happy-dom": "^21.0.3",
"highlight.js": "^11.12.0",
"husky": "^9.1.7",
"jsdom": "^30.1.0",
"lint-staged": "^17.5.1",
"jsdom": "^30.1.3",
"lint-staged": "^17.6.0",
"minimist": "^1.2.8",
"picocolors": "^1.1.1",
"prettier": "^3.9.8",
"recast": "^0.23.20",
"prettier": "^3.9.10",
"recast": "^0.24.0",
"rimraf": "^6.1.3",
"rolldown": "^1.2.9",
"rolldown-plugin-dts": "^0.28.6",
"sass-embedded": "^1.104.1",
"rolldown": "^1.2.14",
"rolldown-plugin-dts": "^0.28.8",
"sass-embedded": "^1.105.2",
"semver": "^7.8.5",
"serialize-javascript": "^7.1.1",
"serialize-javascript": "^7.1.2",
"shx": "^0.4.0",
"typescript": "catalog:",
"vite": "catalog:",
"vitepress": "2.0.0-alpha.20",
"vitest": "^5.0.1",
"vue": "^3.5.43",
"vue-tsc": "^3.3.11"
"vitest": "^5.0.5",
"vue": "^3.5.44",
"vue-tsc": "^3.3.13"
},
"config": {
"commitizen": {

View File

@ -13,18 +13,14 @@
:data="{
type: 'button',
text: '页面',
handler: () => {
addPage(NodeType.PAGE);
},
handler: addNormalPage,
}"
></ToolButton>
<ToolButton
:data="{
type: 'button',
text: '页面片',
handler: () => {
addPage(NodeType.PAGE_FRAGMENT);
},
handler: addPageFragment,
}"
></ToolButton>
</TMagicPopover>
@ -62,4 +58,7 @@ const addPage = (type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => {
};
editorService.add(pageConfig);
};
const addNormalPage = () => addPage(NodeType.PAGE);
const addPageFragment = () => addPage(NodeType.PAGE_FRAGMENT);
</script>

1860
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -18,12 +18,12 @@ allowBuilds:
esbuild: true
catalog:
"@vue/compiler-sfc": ^3.5.43
"@vue/compiler-sfc": ^3.5.44
typescript: "^6.0.3"
vite: ^8.3.0
vue: ^3.5.43
element-plus: ^2.14.6
vite: ^8.3.4
vue: ^3.5.44
element-plus: ^2.14.7
overrides:
element-plus: ^2.14.6
vue: ^3.5.43
element-plus: ^2.14.7
vue: ^3.5.44