chore: upgrade vite-plugin-vue-i18n to unplugin-vue-i18n (#455)

This commit is contained in:
云游君 2022-12-20 02:52:24 +08:00 committed by GitHub
parent d123129c97
commit 73817a6aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 14 deletions

View File

@ -28,7 +28,7 @@
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.33.1", "@antfu/eslint-config": "^0.33.1",
"@iconify-json/carbon": "^1.1.11", "@iconify-json/carbon": "^1.1.11",
"@intlify/vite-plugin-vue-i18n": "^6.0.3", "@intlify/unplugin-vue-i18n": "^0.8.1",
"@types/markdown-it-link-attributes": "^3.0.1", "@types/markdown-it-link-attributes": "^3.0.1",
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue": "^4.0.0",

View File

@ -3,7 +3,7 @@ lockfileVersion: 5.4
specifiers: specifiers:
'@antfu/eslint-config': ^0.33.1 '@antfu/eslint-config': ^0.33.1
'@iconify-json/carbon': ^1.1.11 '@iconify-json/carbon': ^1.1.11
'@intlify/vite-plugin-vue-i18n': ^6.0.3 '@intlify/unplugin-vue-i18n': ^0.8.1
'@types/markdown-it-link-attributes': ^3.0.1 '@types/markdown-it-link-attributes': ^3.0.1
'@types/nprogress': ^0.2.0 '@types/nprogress': ^0.2.0
'@unocss/reset': ^0.47.6 '@unocss/reset': ^0.47.6
@ -61,7 +61,7 @@ dependencies:
devDependencies: devDependencies:
'@antfu/eslint-config': 0.33.1_ha6vam6werchizxrnqvarmz2zu '@antfu/eslint-config': 0.33.1_ha6vam6werchizxrnqvarmz2zu
'@iconify-json/carbon': 1.1.11 '@iconify-json/carbon': 1.1.11
'@intlify/vite-plugin-vue-i18n': 6.0.3_vite@4.0.0+vue-i18n@9.2.2 '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2
'@types/markdown-it-link-attributes': 3.0.1 '@types/markdown-it-link-attributes': 3.0.1
'@types/nprogress': 0.2.0 '@types/nprogress': 0.2.0
'@vitejs/plugin-vue': 4.0.0_vite@4.0.0+vue@3.2.45 '@vitejs/plugin-vue': 4.0.0_vite@4.0.0+vue@3.2.45
@ -1778,8 +1778,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@intlify/bundle-utils/3.2.1_vue-i18n@9.2.2: /@intlify/bundle-utils/3.4.0_vue-i18n@9.2.2:
resolution: {integrity: sha512-rf4cLBOnbqmpXVcCdcYHilZpMt1m82syh3WLBJlZvGxN2KkH9HeHVH4+bnibF/SDXCHNh6lM6wTpS/qw+PkcMg==} resolution: {integrity: sha512-2UQkqiSAOSPEHMGWlybqWm4G2K0X+FyYho5AwXz6QklSX1EY5EDmOSxZmwscn2qmKBnp6OYsme5kUrnN9xrWzQ==}
engines: {node: '>= 12'} engines: {node: '>= 12'}
peerDependencies: peerDependencies:
petite-vue-i18n: '*' petite-vue-i18n: '*'
@ -1837,28 +1837,33 @@ packages:
engines: {node: '>= 14'} engines: {node: '>= 14'}
dev: true dev: true
/@intlify/vite-plugin-vue-i18n/6.0.3_vite@4.0.0+vue-i18n@9.2.2: /@intlify/unplugin-vue-i18n/0.8.1_vue-i18n@9.2.2:
resolution: {integrity: sha512-6SgNzPAOCR90wvt368lKzi7f/5ZEWJn22UCGvhFsP3XvKqlF3cVzojahgQ6o+LTdCkExeM6wPgd+haFf28E9VQ==} resolution: {integrity: sha512-BhigujPmP6JL1FSxmpogCaL+REozncHCVkJuUnefz4GWBu3X+pRe5O7PeJn8/g+Iml2ieQJz4ISPMmEbuGQjqQ==}
engines: {node: '>= 14.6'} engines: {node: '>= 14.16'}
peerDependencies: peerDependencies:
petite-vue-i18n: '*' petite-vue-i18n: '*'
vite: ^2.9.0 || ^3.0.0
vue-i18n: '*' vue-i18n: '*'
vue-i18n-bridge: '*'
peerDependenciesMeta: peerDependenciesMeta:
petite-vue-i18n: petite-vue-i18n:
optional: true optional: true
vite:
optional: true
vue-i18n: vue-i18n:
optional: true optional: true
vue-i18n-bridge:
optional: true
dependencies: dependencies:
'@intlify/bundle-utils': 3.2.1_vue-i18n@9.2.2 '@intlify/bundle-utils': 3.4.0_vue-i18n@9.2.2
'@intlify/shared': 9.3.0-beta.10 '@intlify/shared': 9.3.0-beta.10
'@rollup/pluginutils': 4.2.1 '@rollup/pluginutils': 4.2.1
'@vue/compiler-sfc': 3.2.45
debug: 4.3.4 debug: 4.3.4
fast-glob: 3.2.12 fast-glob: 3.2.12
js-yaml: 4.1.0
json5: 2.2.1
pathe: 1.0.0
picocolors: 1.0.0
source-map: 0.6.1 source-map: 0.6.1
vite: 4.0.0 unplugin: 1.0.1
vue-i18n: 9.2.2_vue@3.2.45 vue-i18n: 9.2.2_vue@3.2.45
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color

View File

@ -9,7 +9,7 @@ import Components from 'unplugin-vue-components/vite'
import AutoImport from 'unplugin-auto-import/vite' import AutoImport from 'unplugin-auto-import/vite'
import Markdown from 'vite-plugin-vue-markdown' import Markdown from 'vite-plugin-vue-markdown'
import { VitePWA } from 'vite-plugin-pwa' import { VitePWA } from 'vite-plugin-pwa'
import VueI18n from '@intlify/vite-plugin-vue-i18n' import VueI18n from '@intlify/unplugin-vue-i18n/vite'
import Inspect from 'vite-plugin-inspect' import Inspect from 'vite-plugin-inspect'
import Inspector from 'vite-plugin-vue-inspector' import Inspector from 'vite-plugin-vue-inspector'
import LinkAttributes from 'markdown-it-link-attributes' import LinkAttributes from 'markdown-it-link-attributes'