♻️: 提炼 devDependencies 公共依赖

This commit is contained in:
就眠儀式 2022-05-11 09:31:41 +08:00
parent 385573cf5d
commit eafde8fa76
8 changed files with 84 additions and 1245 deletions

View File

@ -40,7 +40,20 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0",
"husky": "^7.0.4",
"prettier": "^2.5.1"
"prettier": "^2.5.1",
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/node": "^16.11.9",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"less": "^4.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"typescript": "^4.6.3",
"vite": "2.9.8"
},
"config": {
"commitizen": {

View File

@ -42,21 +42,6 @@
"uuid": "^8.3.2",
"vue-i18n": "^9.1.9"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/node": "^16.11.9",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"less": "^4.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"typescript": "^4.6.3",
"vite": "2.9.8"
},
"files": [
"lib",
"es",

View File

@ -203,12 +203,13 @@ const onFullscreenchange = function (event: KeyboardEvent) {
*/
const onKeydownF11 = function (event: KeyboardEvent) {
// DOM
let isRootNodeFullscreen = props.immersive && (!activeEl.value || activeEl.value === defaultElement)
let isRootNodeFullscreen =
props.immersive && (!activeEl.value || activeEl.value === defaultElement);
if (event.key === "F11" && isRootNodeFullscreen) {
event.preventDefault();
toggle();
}
}
};
onMounted(() => {
//@ts-ignore

View File

@ -17,25 +17,12 @@
"pinia-plugin-persist": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/markdown-it": "^12.2.3",
"@types/markdown-it-container": "^2.0.4",
"@types/node": "^16.11.9",
"@types/prettier": "^2.4.4",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"escape-html": "^1.0.3",
"less": "^4.1.2",
"markdown-it-container": "^3.0.0",
"prismjs": "^1.25.0",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"typescript": "^4.6.3",
"vite": "2.9.8",
"vite-plugin-md": "^0.12.4"
},
"files": [

View File

@ -26,21 +26,6 @@
],
"author": "就眠儀式",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/node": "^16.11.9",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"less": "^4.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"typescript": "^4.6.3",
"vite": "2.9.8"
},
"files": [
"lib",
"types"

View File

@ -23,21 +23,6 @@
"layui",
"vue"
],
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/node": "^16.11.9",
"@vitejs/plugin-vue": "^2.3.1",
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"less": "^4.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.70.1",
"typescript": "^4.6.3",
"vite": "2.9.8"
},
"files": [
"lib",
"types"

1243
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff