mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
feat(@vant/cli): bump vite 3.0 (#10842)
* feat(@vant/cli): bump vite 3.0 * chore: bump vite plugins
This commit is contained in:
parent
a31f78b07a
commit
74c1c2927e
@ -1,5 +1,10 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
## v5.0.0 (未发布)
|
||||||
|
|
||||||
|
- 升级 `vite` 3.0.0
|
||||||
|
- 不再默认安装 `gh-pages` 依赖,请将 `package.json` 中的 `gh-pages -d site-dist` 替换为 `npx gh-pages -d site-dist`
|
||||||
|
|
||||||
## v4.0.3
|
## v4.0.3
|
||||||
|
|
||||||
`2022-07-02`
|
`2022-07-02`
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
"@vant/markdown-vetur": "^2.3.0",
|
"@vant/markdown-vetur": "^2.3.0",
|
||||||
"@vant/stylelint-config": "^1.4.2",
|
"@vant/stylelint-config": "^1.4.2",
|
||||||
"@vant/touch-emulator": "^1.3.2",
|
"@vant/touch-emulator": "^1.3.2",
|
||||||
"@vitejs/plugin-vue": "^2.0.0",
|
"@vitejs/plugin-vue": "^3.0.1",
|
||||||
"@vitejs/plugin-vue-jsx": "^1.3.3",
|
"@vitejs/plugin-vue-jsx": "^2.0.0",
|
||||||
"@vue/babel-plugin-jsx": "^1.1.1",
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
||||||
"autoprefixer": "^10.4.0",
|
"autoprefixer": "^10.4.0",
|
||||||
"commander": "^9.3.0",
|
"commander": "^9.3.0",
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"stylelint": "^13.0.0",
|
"stylelint": "^13.0.0",
|
||||||
"transliteration": "^2.2.0",
|
"transliteration": "^2.2.0",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vite": "^2.9.0",
|
"vite": "^3.0.0",
|
||||||
"vite-plugin-html": "^2.1.1",
|
"vite-plugin-html": "^2.1.1",
|
||||||
"vite-plugin-md": "^0.11.4",
|
"vite-plugin-md": "^0.11.4",
|
||||||
"vue-router": "^4.0.12"
|
"vue-router": "^4.0.12"
|
||||||
|
@ -204,7 +204,7 @@ export function getViteConfigForSiteProd(): InlineConfig {
|
|||||||
base: publicPath,
|
base: publicPath,
|
||||||
build: {
|
build: {
|
||||||
outDir,
|
outDir,
|
||||||
brotliSize: false,
|
reportCompressedSize: false,
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
// https://github.com/youzan/vant/issues/9703
|
// https://github.com/youzan/vant/issues/9703
|
||||||
cssTarget: ['chrome53'],
|
cssTarget: ['chrome53'],
|
||||||
|
72
pnpm-lock.yaml
generated
72
pnpm-lock.yaml
generated
@ -101,8 +101,8 @@ importers:
|
|||||||
'@vant/markdown-vetur': ^2.3.0
|
'@vant/markdown-vetur': ^2.3.0
|
||||||
'@vant/stylelint-config': ^1.4.2
|
'@vant/stylelint-config': ^1.4.2
|
||||||
'@vant/touch-emulator': ^1.3.2
|
'@vant/touch-emulator': ^1.3.2
|
||||||
'@vitejs/plugin-vue': ^2.0.0
|
'@vitejs/plugin-vue': ^3.0.1
|
||||||
'@vitejs/plugin-vue-jsx': ^1.3.3
|
'@vitejs/plugin-vue-jsx': ^2.0.0
|
||||||
'@vue/babel-plugin-jsx': ^1.1.1
|
'@vue/babel-plugin-jsx': ^1.1.1
|
||||||
autoprefixer: ^10.4.0
|
autoprefixer: ^10.4.0
|
||||||
commander: ^9.3.0
|
commander: ^9.3.0
|
||||||
@ -134,7 +134,7 @@ importers:
|
|||||||
stylelint: ^13.0.0
|
stylelint: ^13.0.0
|
||||||
transliteration: ^2.2.0
|
transliteration: ^2.2.0
|
||||||
typescript: ^4.7.4
|
typescript: ^4.7.4
|
||||||
vite: ^2.9.0
|
vite: ^3.0.0
|
||||||
vite-plugin-html: ^2.1.1
|
vite-plugin-html: ^2.1.1
|
||||||
vite-plugin-md: ^0.11.4
|
vite-plugin-md: ^0.11.4
|
||||||
vue: ^3.2.27
|
vue: ^3.2.27
|
||||||
@ -149,8 +149,8 @@ importers:
|
|||||||
'@vant/markdown-vetur': link:../vant-markdown-vetur
|
'@vant/markdown-vetur': link:../vant-markdown-vetur
|
||||||
'@vant/stylelint-config': link:../vant-stylelint-config
|
'@vant/stylelint-config': link:../vant-stylelint-config
|
||||||
'@vant/touch-emulator': link:../vant-touch-emulator
|
'@vant/touch-emulator': link:../vant-touch-emulator
|
||||||
'@vitejs/plugin-vue': 2.3.3_vite@2.9.13+vue@3.2.37
|
'@vitejs/plugin-vue': 3.0.1_vite@3.0.2+vue@3.2.37
|
||||||
'@vitejs/plugin-vue-jsx': 1.3.10
|
'@vitejs/plugin-vue-jsx': 2.0.0_vite@3.0.2+vue@3.2.37
|
||||||
'@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6
|
'@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6
|
||||||
autoprefixer: 10.4.7_postcss@8.4.14
|
autoprefixer: 10.4.7_postcss@8.4.14
|
||||||
commander: 9.3.0
|
commander: 9.3.0
|
||||||
@ -180,9 +180,9 @@ importers:
|
|||||||
stylelint: 13.13.1
|
stylelint: 13.13.1
|
||||||
transliteration: 2.2.0
|
transliteration: 2.2.0
|
||||||
typescript: 4.7.4
|
typescript: 4.7.4
|
||||||
vite: 2.9.13_less@4.1.3
|
vite: 3.0.2_less@4.1.3
|
||||||
vite-plugin-html: 2.1.2_vite@2.9.13
|
vite-plugin-html: 2.1.2_vite@3.0.2
|
||||||
vite-plugin-md: 0.11.9_vite@2.9.13
|
vite-plugin-md: 0.11.9_vite@3.0.2
|
||||||
vue-router: 4.0.16_vue@3.2.37
|
vue-router: 4.0.16_vue@3.2.37
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@jest/types': 27.5.1
|
'@jest/types': 27.5.1
|
||||||
@ -735,6 +735,20 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@babel/plugin-transform-typescript/7.18.8_@babel+core@7.18.6:
|
||||||
|
resolution: {integrity: sha512-p2xM8HI83UObjsZGofMV/EdYjamsDm6MoN3hXPYIT0+gxIoopE+B7rPYKAxfrz9K9PK7JafTTjqYC6qipLExYA==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
peerDependencies:
|
||||||
|
'@babel/core': ^7.0.0-0
|
||||||
|
dependencies:
|
||||||
|
'@babel/core': 7.18.6
|
||||||
|
'@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.6
|
||||||
|
'@babel/helper-plugin-utils': 7.18.6
|
||||||
|
'@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.6
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@babel/preset-typescript/7.18.6_@babel+core@7.18.6:
|
/@babel/preset-typescript/7.18.6_@babel+core@7.18.6:
|
||||||
resolution: {integrity: sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==}
|
resolution: {integrity: sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
@ -1585,28 +1599,31 @@ packages:
|
|||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.3.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vitejs/plugin-vue-jsx/1.3.10:
|
/@vitejs/plugin-vue-jsx/2.0.0_vite@3.0.2+vue@3.2.37:
|
||||||
resolution: {integrity: sha512-Cf5zznh4yNMiEMBfTOztaDVDmK1XXfgxClzOSUVUc8WAmHzogrCUeM8B05ABzuGtg0D1amfng+mUmSIOFGP3Pw==}
|
resolution: {integrity: sha512-WF9ApZ/ivyyW3volQfu0Td0KNPhcccYEaRNzNY1NxRLVJQLSX0nFqquv3e2g7MF74p1XZK4bGtDL2y5i5O5+1A==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=14.18.0'}
|
||||||
|
peerDependencies:
|
||||||
|
vite: ^3.0.0
|
||||||
|
vue: ^3.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.18.6
|
'@babel/core': 7.18.6
|
||||||
'@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.6
|
'@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.6
|
||||||
'@babel/plugin-transform-typescript': 7.18.6_@babel+core@7.18.6
|
'@babel/plugin-transform-typescript': 7.18.8_@babel+core@7.18.6
|
||||||
'@rollup/pluginutils': 4.2.1
|
|
||||||
'@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6
|
'@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6
|
||||||
hash-sum: 2.0.0
|
vite: 3.0.2_less@4.1.3
|
||||||
|
vue: 3.2.37
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vitejs/plugin-vue/2.3.3_vite@2.9.13+vue@3.2.37:
|
/@vitejs/plugin-vue/3.0.1_vite@3.0.2+vue@3.2.37:
|
||||||
resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==}
|
resolution: {integrity: sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.5.10
|
vite: ^3.0.0
|
||||||
vue: ^3.2.25
|
vue: ^3.2.25
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 2.9.13_less@4.1.3
|
vite: 3.0.2_less@4.1.3
|
||||||
vue: 3.2.37
|
vue: 3.2.37
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
@ -7277,7 +7294,7 @@ packages:
|
|||||||
unist-util-stringify-position: 2.0.3
|
unist-util-stringify-position: 2.0.3
|
||||||
vfile-message: 2.0.4
|
vfile-message: 2.0.4
|
||||||
|
|
||||||
/vite-plugin-html/2.1.2_vite@2.9.13:
|
/vite-plugin-html/2.1.2_vite@3.0.2:
|
||||||
resolution: {integrity: sha512-7HXkL6n7M2qDEaUV4Vnz8yM2glW4gV36d5HSBIM5gOoAG1PkuQb4Vv9FTPgPiQxq4sPRf/6IgABX0MeLVW+CyQ==}
|
resolution: {integrity: sha512-7HXkL6n7M2qDEaUV4Vnz8yM2glW4gV36d5HSBIM5gOoAG1PkuQb4Vv9FTPgPiQxq4sPRf/6IgABX0MeLVW+CyQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>=2.0.0'
|
vite: '>=2.0.0'
|
||||||
@ -7288,10 +7305,10 @@ packages:
|
|||||||
ejs: 3.1.8
|
ejs: 3.1.8
|
||||||
fs-extra: 10.1.0
|
fs-extra: 10.1.0
|
||||||
html-minifier-terser: 6.1.0
|
html-minifier-terser: 6.1.0
|
||||||
vite: 2.9.13_less@4.1.3
|
vite: 3.0.2_less@4.1.3
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite-plugin-md/0.11.9_vite@2.9.13:
|
/vite-plugin-md/0.11.9_vite@3.0.2:
|
||||||
resolution: {integrity: sha512-0uD2BPIct3FbEA1hAm56hlrBByEn542HTsS/FoWf33lJIgijVBDDV6FE12ud0SHS6sculITKliF2ntog2kiHmQ==}
|
resolution: {integrity: sha512-0uD2BPIct3FbEA1hAm56hlrBByEn542HTsS/FoWf33lJIgijVBDDV6FE12ud0SHS6sculITKliF2ntog2kiHmQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.0.0
|
vite: ^2.0.0
|
||||||
@ -7301,17 +7318,18 @@ packages:
|
|||||||
'@types/markdown-it': 12.2.3
|
'@types/markdown-it': 12.2.3
|
||||||
gray-matter: 4.0.3
|
gray-matter: 4.0.3
|
||||||
markdown-it: 12.3.2
|
markdown-it: 12.3.2
|
||||||
vite: 2.9.13_less@4.1.3
|
vite: 3.0.2_less@4.1.3
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite/2.9.13_less@4.1.3:
|
/vite/3.0.2_less@4.1.3:
|
||||||
resolution: {integrity: sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==}
|
resolution: {integrity: sha512-TAqydxW/w0U5AoL5AsD9DApTvGb2iNbGs3sN4u2VdT1GFkQVUfgUldt+t08TZgi23uIauh1TUOQJALduo9GXqw==}
|
||||||
engines: {node: '>=12.2.0'}
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
less: '*'
|
less: '*'
|
||||||
sass: '*'
|
sass: '*'
|
||||||
stylus: '*'
|
stylus: '*'
|
||||||
|
terser: ^5.4.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
less:
|
less:
|
||||||
optional: true
|
optional: true
|
||||||
@ -7319,6 +7337,8 @@ packages:
|
|||||||
optional: true
|
optional: true
|
||||||
stylus:
|
stylus:
|
||||||
optional: true
|
optional: true
|
||||||
|
terser:
|
||||||
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: 0.14.48
|
esbuild: 0.14.48
|
||||||
less: 4.1.3
|
less: 4.1.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user