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

This commit is contained in:
hooray
2021-08-30 20:54:43 +08:00
parent fe42f50596
commit 02fe2feae4
3 changed files with 91 additions and 19 deletions
+1 -1
View File
@@ -47,9 +47,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",
+89 -17
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:
@@ -3328,6 +3330,8 @@ packages:
json5: 2.2.0
semver: 6.3.0
source-map: 0.5.7
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/@babel/generator/7.15.0:
@@ -3537,6 +3541,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:
@@ -3569,6 +3575,8 @@ packages:
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:
@@ -3580,6 +3588,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:
@@ -4351,6 +4361,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
@@ -4480,6 +4495,8 @@ packages:
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:
@@ -4562,6 +4579,8 @@ packages:
table: registry.nlark.com/table/6.7.1
text-table: 0.2.0
v8-compile-cache: 2.3.0
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/espree/6.2.1:
@@ -4832,6 +4851,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
@@ -5079,6 +5104,8 @@ packages:
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:
@@ -5109,6 +5136,14 @@ packages:
p-locate: registry.nlark.com/p-locate/4.1.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/mdast-util-from-markdown/0.8.5:
resolution: {integrity: sha1-0e8spCvDd+ywRjqYeRDa6JvZoow=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/mdast-util-from-markdown/download/mdast-util-from-markdown-0.8.5.tgz}
name: mdast-util-from-markdown
@@ -5921,6 +5956,8 @@ packages:
table: registry.nlark.com/table/6.7.1
v8-compile-cache: 2.3.0
write-file-atomic: 3.0.3
transitivePeerDependencies:
- supports-color
dev: true
registry.nlark.com/sugarss/2.0.0:
@@ -6130,6 +6167,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/uuid/3.4.0:
resolution: {integrity: sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/uuid/download/uuid-3.4.0.tgz?cache=0&sync_timestamp=1622213308116&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fuuid%2Fdownload%2Fuuid-3.4.0.tgz}
name: uuid
@@ -6175,21 +6249,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
@@ -6202,6 +6261,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:
@@ -6244,6 +6305,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:
@@ -6288,6 +6350,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:
@@ -6322,6 +6386,8 @@ packages:
esquery: 1.4.0
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:
@@ -6358,6 +6424,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/wrappy/1.0.2:
resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/wrappy/download/wrappy-1.0.2.tgz}
name: wrappy
+1 -1
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({