chore: 更新vite@5.0.7

This commit is contained in:
roymondchen 2023-12-11 11:29:06 +08:00
parent 25a8456312
commit fc89d4cbe8
24 changed files with 1982 additions and 1491 deletions

View File

@ -16,7 +16,7 @@ https://tencent.github.io/tmagic-editor/playground/index.html
## 环境准备
node.js >= 16
node.js >= 18
pnpm >= 8

View File

@ -1,10 +1,10 @@
# 快速开始
tmagic-editor的编辑器我们已经封装成一个 npm 包,可以直接安装使用。编辑器是使用 vue3 开发的,但使用编辑器的业务可以不限框架,可以用 vue2、react 等开发业务组件。
tmagic-editor的编辑器我们已经封装成一个 npm 包,可以直接安装使用。编辑器是使用 vue3 开发的(仅支持vue3),但使用编辑器的业务(runtime)可以不限框架,可以用 vue2、react 等开发业务组件。
## 安装
node.js > 14
node.js >= 18
可以通过[Vite](https://cn.vitejs.dev/) 或 [Vue CLI](https://cli.vuejs.org/zh/)快速创建项目。

View File

@ -31,7 +31,7 @@
"release": "node scripts/release.cjs"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"workspaces": [
"packages/*"
@ -45,11 +45,11 @@
"@babel/core": "^7.18.0",
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@types/node": "^18.15.11",
"@types/node": "^18.19.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-c8": "^0.30.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitest/coverage-v8": "^1.0.4",
"c8": "^7.11.3",
"chalk": "^4.1.0",
"commitizen": "^4.3.0",
@ -77,9 +77,9 @@
"serialize-javascript": "^6.0.0",
"shx": "^0.3.4",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vitepress": "1.0.0-rc.24",
"vitest": "^0.31.1",
"vite": "^5.0.7",
"vitepress": "1.0.0-rc.31",
"vitest": "^1.0.4",
"vue": "^3.3.8"
},
"config": {

View File

@ -16,7 +16,7 @@
"lib"
],
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",

View File

@ -27,7 +27,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -46,9 +46,9 @@
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -41,9 +41,9 @@
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"tsc-alias": "^1.8.5",
"typescript": "^4.7.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -34,9 +34,9 @@
"@tmagic/utils": "1.3.5"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -43,13 +43,13 @@
"vue": "^3.3.8"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@vitejs/plugin-vue": "^4.2.3",
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}

View File

@ -29,7 +29,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -75,16 +75,16 @@
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"@types/serialize-javascript": "^5.0.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"tsc-alias": "^1.8.5",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -47,9 +47,9 @@
"vue": "^3.3.8"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -29,7 +29,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -49,15 +49,15 @@
"devDependencies": {
"@babel/core": "^7.18.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"@types/sortablejs": "^1.10.7",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}

View File

@ -20,7 +20,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"license": "Apache-2.0",
"repository": {
@ -28,9 +28,9 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -43,10 +43,10 @@
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -27,7 +27,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -47,14 +47,14 @@
"devDependencies": {
"@types/color": "^3.0.1",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@vitejs/plugin-vue": "^4.2.3",
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -47,11 +47,11 @@
"vue": "^3.3.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.3.8",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -4,7 +4,7 @@
"type": "module",
"main": "src/index.ts",
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",

View File

@ -4,7 +4,7 @@
"type": "module",
"main": "src/index.ts",
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -22,7 +22,6 @@
"vue": "^2.7.4"
},
"devDependencies": {
"vite": "^4.4.4",
"vue-template-compiler": "^2.7.4"
}
}

View File

@ -4,7 +4,7 @@
"type": "module",
"main": "src/index.ts",
"engines": {
"node": ">=14"
"node": ">=18"
},
"license": "Apache-2.0",
"repository": {

View File

@ -23,7 +23,7 @@
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": {
"type": "git",
@ -37,9 +37,9 @@
"dayjs": "^1.11.4"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -29,18 +29,18 @@
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/node": "^15.12.4",
"@types/node": "^18.19.0",
"@types/serialize-javascript": "^5.0.1",
"@vitejs/plugin-legacy": "^4.1.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.3.8",
"sass": "^1.35.1",
"terser": "^5.14.2",
"typescript": "^5.0.4",
"unplugin-auto-import": "^0.12.0",
"unplugin-vue-components": "^0.22.11",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}

3320
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -41,10 +41,10 @@
"@types/lodash-es": "^4.17.4",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-legacy": "^4.1.0",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"recast": "^0.20.4",
"typescript": "^5.0.4",
"vite": "^4.4.4"
"vite": "^5.0.7"
}
}

View File

@ -38,9 +38,9 @@
"rollup": "^2.25.0",
"rollup-plugin-external-globals": "^0.6.1",
"sass": "^1.35.1",
"vite": "^4.4.4",
"@vitejs/plugin-legacy": "^4.1.0",
"@vitejs/plugin-vue2": "^2.2.0",
"vite": "^5.0.7",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-vue2": "^2.3.1",
"vue-template-compiler": "^2.7.4"
}
}

View File

@ -30,10 +30,10 @@
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/node": "^15.12.4",
"@vitejs/plugin-legacy": "^4.1.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@types/node": "^18.19.0",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"recast": "^0.20.4",
@ -42,7 +42,7 @@
"sass": "^1.35.1",
"terser": "^5.14.2",
"typescript": "^4.3.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
"vite": "^5.0.7",
"vue-tsc": "^1.8.25"
}
}