依赖更新,vite-plugin-components升级为unplugin-vue-components

This commit is contained in:
hooray 2021-08-30 20:52:35 +08:00
parent 12c7506828
commit e09880dc34
3 changed files with 95 additions and 19 deletions

View File

@ -48,9 +48,9 @@
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.20.1",
"svgo": "^2.5.0",
"unplugin-vue-components": "^0.14.4",
"vite": "^2.5.1",
"vite-plugin-banner": "^0.1.3",
"vite-plugin-components": "^0.13.2",
"vite-plugin-compression": "^0.3.5",
"vite-plugin-html": "^2.1.0",
"vite-plugin-mock": "^2.9.6",

View File

@ -28,9 +28,9 @@ specifiers:
stylelint-scss: ^3.20.1
svgo: ^2.5.0
tinymce: ^5.9.1
unplugin-vue-components: ^0.14.4
vite: ^2.5.1
vite-plugin-banner: ^0.1.3
vite-plugin-components: ^0.13.2
vite-plugin-compression: ^0.3.5
vite-plugin-html: ^2.1.0
vite-plugin-mock: ^2.9.6
@ -75,9 +75,9 @@ devDependencies:
stylelint-config-standard: registry.nlark.com/stylelint-config-standard/22.0.0_stylelint@13.13.1
stylelint-scss: registry.nlark.com/stylelint-scss/3.20.1_stylelint@13.13.1
svgo: registry.nlark.com/svgo/2.5.0
unplugin-vue-components: registry.nlark.com/unplugin-vue-components/0.14.4_vite@2.5.1+vue@3.2.6
vite: registry.nlark.com/vite/2.5.1
vite-plugin-banner: registry.nlark.com/vite-plugin-banner/0.1.3
vite-plugin-components: registry.nlark.com/vite-plugin-components/0.13.2_vite@2.5.1
vite-plugin-compression: registry.nlark.com/vite-plugin-compression/0.3.5_vite@2.5.1
vite-plugin-html: registry.nlark.com/vite-plugin-html/2.1.0_vite@2.5.1
vite-plugin-mock: registry.nlark.com/vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@2.5.1
@ -97,6 +97,8 @@ packages:
'@babel/core': registry.nlark.com/@babel/core/7.15.0
postcss: registry.nlark.com/postcss/7.0.36
postcss-syntax: 0.36.2_postcss@7.0.36
transitivePeerDependencies:
- supports-color
dev: true
/@stylelint/postcss-markdown/0.36.2_2b33a41d320e3e2012e5b3b0fadc703b:
@ -1260,6 +1262,10 @@ packages:
kind-of: registry.nlark.com/kind-of/3.2.2
dev: true
/sourcemap-codec/1.4.8:
resolution: {integrity: sha1-6oBL2UhXQC5pktBaOO8a41qatMQ=, tarball: sourcemap-codec/download/sourcemap-codec-1.4.8.tgz}
dev: true
/spdx-exceptions/2.3.0:
resolution: {integrity: sha1-PyjOGnegA3JoPq3kpDMYNSeiFj0=, tarball: spdx-exceptions/download/spdx-exceptions-2.3.0.tgz}
dev: true
@ -1537,6 +1543,8 @@ packages:
json5: registry.nlark.com/json5/2.2.0
semver: 6.3.0
source-map: registry.nlark.com/source-map/0.5.7
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/@babel/generator/7.15.0:
@ -1746,6 +1754,8 @@ packages:
'@babel/types': registry.nlark.com/@babel/types/7.15.0
debug: registry.nlark.com/debug/4.3.2
globals: registry.nlark.com/globals/11.12.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/@babel/types/7.15.0:
@ -1778,6 +1788,8 @@ packages:
js-yaml: registry.nlark.com/js-yaml/3.14.1
minimatch: 3.0.4
strip-json-comments: registry.nlark.com/strip-json-comments/3.1.1
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/@humanwhocodes/config-array/0.5.0:
@ -1789,6 +1801,8 @@ packages:
'@humanwhocodes/object-schema': registry.nlark.com/@humanwhocodes/object-schema/1.2.0
debug: registry.nlark.com/debug/4.3.2
minimatch: 3.0.4
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/@humanwhocodes/object-schema/1.2.0:
@ -2839,6 +2853,11 @@ packages:
name: debug
version: 4.3.2
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
dependencies:
ms: registry.nlark.com/ms/2.1.2
dev: true
@ -3148,6 +3167,8 @@ packages:
natural-compare: registry.nlark.com/natural-compare/1.4.0
semver: 6.3.0
vue-eslint-parser: registry.nlark.com/vue-eslint-parser/7.10.0_eslint@7.32.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/eslint-scope/5.1.1:
@ -3230,6 +3251,8 @@ packages:
table: registry.nlark.com/table/6.7.1
text-table: registry.nlark.com/text-table/0.2.0
v8-compile-cache: registry.nlark.com/v8-compile-cache/2.3.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/espree/6.2.1:
@ -3829,6 +3852,12 @@ packages:
engines: {node: '>=8'}
dev: true
registry.nlark.com/has-pkg/0.0.1:
resolution: {integrity: sha1-+dkTntg+JIferl60rBMYKi6QOFc=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/has-pkg/download/has-pkg-0.0.1.tgz}
name: has-pkg
version: 0.0.1
dev: true
registry.nlark.com/has-symbols/1.0.2:
resolution: {integrity: sha1-Fl0wcMADCXUqEjakeTMeOsVvFCM=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/has-symbols/download/has-symbols-1.0.2.tgz}
name: has-symbols
@ -4477,6 +4506,8 @@ packages:
please-upgrade-node: registry.nlark.com/please-upgrade-node/3.2.0
string-argv: 0.3.1
stringify-object: registry.nlark.com/stringify-object/3.3.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/listr2/3.11.0_enquirer@2.3.6:
@ -4564,6 +4595,14 @@ packages:
yallist: registry.nlark.com/yallist/4.0.0
dev: true
registry.nlark.com/magic-string/0.25.7:
resolution: {integrity: sha1-P0l9b9NMZpxnmNy4IfLvMfVEUFE=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/magic-string/download/magic-string-0.25.7.tgz}
name: magic-string
version: 0.25.7
dependencies:
sourcemap-codec: 1.4.8
dev: true
registry.nlark.com/map-obj/1.0.1:
resolution: {integrity: sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/map-obj/download/map-obj-1.0.1.tgz}
name: map-obj
@ -6294,6 +6333,8 @@ packages:
table: registry.nlark.com/table/6.7.1
v8-compile-cache: registry.nlark.com/v8-compile-cache/2.3.0
write-file-atomic: registry.nlark.com/write-file-atomic/3.0.3
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/sugarss/2.0.0:
@ -6572,6 +6613,43 @@ packages:
version: 4.1.0
dev: true
registry.nlark.com/unplugin-vue-components/0.14.4_vite@2.5.1+vue@3.2.6:
resolution: {integrity: sha1-tkiUMS0HYg2ZD96P0/jGDMR4wl4=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/unplugin-vue-components/download/unplugin-vue-components-0.14.4.tgz}
id: registry.nlark.com/unplugin-vue-components/0.14.4
name: unplugin-vue-components
version: 0.14.4
peerDependencies:
vue: 2 || 3
dependencies:
'@rollup/pluginutils': registry.nlark.com/@rollup/pluginutils/4.1.1
debug: registry.nlark.com/debug/4.3.2
fast-glob: registry.nlark.com/fast-glob/3.2.7
has-pkg: registry.nlark.com/has-pkg/0.0.1
magic-string: registry.nlark.com/magic-string/0.25.7
minimatch: 3.0.4
unplugin: registry.nlark.com/unplugin/0.2.3_vite@2.5.1
vue: registry.nlark.com/vue/3.2.6
transitivePeerDependencies:
- rollup
- supports-color
- vite
- webpack
dev: true
registry.nlark.com/unplugin/0.2.3_vite@2.5.1:
resolution: {integrity: sha1-AaQF5Mtp1UIph1yBVhkw17FjCpc=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/unplugin/download/unplugin-0.2.3.tgz}
id: registry.nlark.com/unplugin/0.2.3
name: unplugin
version: 0.2.3
peerDependencies:
rollup: ^2.50.0
vite: ^2.3.0
webpack: ^4.0.0
dependencies:
vite: registry.nlark.com/vite/2.5.1
webpack-virtual-modules: registry.nlark.com/webpack-virtual-modules/0.4.3
dev: true
registry.nlark.com/unset-value/1.0.0:
resolution: {integrity: sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/unset-value/download/unset-value-1.0.0.tgz}
name: unset-value
@ -6701,21 +6779,6 @@ packages:
version: 0.1.3
dev: true
registry.nlark.com/vite-plugin-components/0.13.2_vite@2.5.1:
resolution: {integrity: sha1-nhsbkMqKgXlU9axezCTbvfHMFoQ=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/vite-plugin-components/download/vite-plugin-components-0.13.2.tgz}
id: registry.nlark.com/vite-plugin-components/0.13.2
name: vite-plugin-components
version: 0.13.2
peerDependencies:
vite: ^2.0.0
dependencies:
debug: registry.nlark.com/debug/4.3.2
fast-glob: registry.nlark.com/fast-glob/3.2.7
magic-string: 0.25.7
minimatch: 3.0.4
vite: registry.nlark.com/vite/2.5.1
dev: true
registry.nlark.com/vite-plugin-compression/0.3.5_vite@2.5.1:
resolution: {integrity: sha1-HlM460PmASjebW8isqq/Dj3AwX8=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/vite-plugin-compression/download/vite-plugin-compression-0.3.5.tgz}
id: registry.nlark.com/vite-plugin-compression/0.3.5
@ -6728,6 +6791,8 @@ packages:
debug: registry.nlark.com/debug/4.3.2
fs-extra: registry.nlark.com/fs-extra/10.0.0
vite: registry.nlark.com/vite/2.5.1
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/vite-plugin-html/2.1.0_vite@2.5.1:
@ -6770,6 +6835,7 @@ packages:
vite: registry.nlark.com/vite/2.5.1
transitivePeerDependencies:
- rollup
- supports-color
dev: true
registry.nlark.com/vite-plugin-restart/0.0.2_vite@2.5.1:
@ -6814,6 +6880,8 @@ packages:
svg-baker: 1.7.0
svgo: registry.nlark.com/svgo/2.5.0
vite: registry.nlark.com/vite/2.5.1
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/vite/2.5.1:
@ -6848,6 +6916,8 @@ packages:
esquery: registry.nlark.com/esquery/1.4.0
lodash: registry.nlark.com/lodash/4.17.21
semver: 6.3.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/vue-router/4.0.11_vue@3.2.6:
@ -6884,6 +6954,12 @@ packages:
vue: registry.nlark.com/vue/3.2.6
dev: false
registry.nlark.com/webpack-virtual-modules/0.4.3:
resolution: {integrity: sha1-zVl8bVHVpey0c+6hmDpY+ooX3tk=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/webpack-virtual-modules/download/webpack-virtual-modules-0.4.3.tgz}
name: webpack-virtual-modules
version: 0.4.3
dev: true
registry.nlark.com/word-wrap/1.2.3:
resolution: {integrity: sha1-YQY29rH3A4kb00dxzLF/uTtHB5w=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/word-wrap/download/word-wrap-1.2.3.tgz}
name: word-wrap

View File

@ -1,4 +1,4 @@
import components from 'vite-plugin-components'
import components from 'unplugin-vue-components/vite'
export default function createComponents() {
return components({