Upgrade to Vite 4.3 (#6877)

This commit is contained in:
Bjorn Lu 2023-04-25 22:04:45 +08:00 committed by GitHub
parent 0afff32741
commit edabf01b44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 57 additions and 45 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Upgrade to Vite 4.3

View file

@ -155,7 +155,7 @@
"typescript": "*",
"unist-util-visit": "^4.1.0",
"vfile": "^5.3.2",
"vite": "^4.2.1",
"vite": "^4.3.1",
"vitefu": "^0.2.4",
"yargs-parser": "^21.0.1",
"zod": "^3.20.6"

View file

@ -60,7 +60,7 @@
"mocha": "^9.2.2",
"rollup-plugin-copy": "^3.4.0",
"sharp": "^0.31.0",
"vite": "^4.2.1"
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.3.0",

View file

@ -54,7 +54,7 @@
"linkedom": "^0.14.12",
"mocha": "^9.2.2",
"rollup": "^3.20.1",
"vite": "^4.0.3"
"vite": "^4.3.1"
},
"engines": {
"node": ">=16.12.0"

View file

@ -71,7 +71,7 @@
"remark-rehype": "^10.1.0",
"remark-shiki-twoslash": "^3.1.0",
"remark-toc": "^8.0.1",
"vite": "^4.2.1"
"vite": "^4.3.1"
},
"engines": {
"node": ">=16.12.0"

View file

@ -50,7 +50,7 @@
"chai": "^4.3.6",
"cheerio": "^1.0.0-rc.11",
"mocha": "^9.2.2",
"vite": "^4.2.1"
"vite": "^4.3.1"
},
"astro": {
"external": true

View file

@ -40,7 +40,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"svelte": "^3.54.0",
"vite": "^4.2.1"
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.3.0",

View file

@ -37,7 +37,7 @@
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"tailwindcss": "^3.0.24",
"vite": "^4.1.2"
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.3.0",

View file

@ -46,7 +46,7 @@
"chai": "^4.3.6",
"linkedom": "^0.14.17",
"mocha": "^9.2.2",
"vite": "^4.2.1",
"vite": "^4.3.1",
"vue": "^3.2.37"
},
"peerDependencies": {

View file

@ -688,11 +688,11 @@ importers:
specifier: ^5.3.2
version: 5.3.2
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
vitefu:
specifier: ^0.2.4
version: 0.2.4(vite@4.2.1)
version: 0.2.4(vite@4.3.1)
yargs-parser:
specifier: ^21.0.1
version: 21.0.1
@ -3640,8 +3640,8 @@ importers:
specifier: ^0.31.0
version: 0.31.3
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/image/test/fixtures/assets-prefix:
dependencies:
@ -3867,8 +3867,8 @@ importers:
specifier: ^3.20.1
version: 3.20.1
vite:
specifier: ^4.0.3
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/markdoc/test/fixtures/content-collections:
dependencies:
@ -4058,8 +4058,8 @@ importers:
specifier: ^8.0.1
version: 8.0.1
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/mdx/test/fixtures/css-head-mdx:
dependencies:
@ -4218,8 +4218,8 @@ importers:
specifier: ^9.2.2
version: 9.2.2
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/netlify/test/edge-functions/fixtures/dynimport:
dependencies:
@ -4528,7 +4528,7 @@ importers:
version: 1.4.2
vitefu:
specifier: ^0.2.4
version: 0.2.4(vite@4.2.1)
version: 0.2.4(vite@4.3.1)
devDependencies:
astro:
specifier: workspace:*
@ -4544,7 +4544,7 @@ importers:
dependencies:
'@sveltejs/vite-plugin-svelte':
specifier: ^2.0.2
version: 2.0.2(svelte@3.54.0)(vite@4.2.1)
version: 2.0.2(svelte@3.54.0)(vite@4.3.1)
svelte2tsx:
specifier: ^0.5.11
version: 0.5.11(svelte@3.54.0)(typescript@5.0.2)
@ -4559,8 +4559,8 @@ importers:
specifier: ^3.54.0
version: 3.54.0
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/tailwind:
dependencies:
@ -4587,8 +4587,8 @@ importers:
specifier: ^3.0.24
version: 3.2.4(postcss@8.4.14)
vite:
specifier: ^4.1.2
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
packages/integrations/turbolinks:
dependencies:
@ -4662,10 +4662,10 @@ importers:
dependencies:
'@vitejs/plugin-vue':
specifier: ^4.0.0
version: 4.0.0(vite@4.2.1)(vue@3.2.40)
version: 4.0.0(vite@4.3.1)(vue@3.2.40)
'@vitejs/plugin-vue-jsx':
specifier: ^3.0.0
version: 3.0.0(vite@4.2.1)(vue@3.2.40)
version: 3.0.0(vite@4.3.1)(vue@3.2.40)
'@vue/babel-plugin-jsx':
specifier: ^1.1.1
version: 1.1.1(@babel/core@7.21.4)
@ -4692,8 +4692,8 @@ importers:
specifier: ^9.2.2
version: 9.2.2
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
specifier: ^4.3.1
version: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
vue:
specifier: ^3.2.37
version: 3.2.40
@ -8329,7 +8329,7 @@ packages:
string.prototype.matchall: 4.0.8
dev: false
/@sveltejs/vite-plugin-svelte@2.0.2(svelte@3.54.0)(vite@4.2.1):
/@sveltejs/vite-plugin-svelte@2.0.2(svelte@3.54.0)(vite@4.3.1):
resolution: {integrity: sha512-xCEan0/NNpQuL0l5aS42FjwQ6wwskdxC3pW1OeFtEKNZwRg7Evro9lac9HesGP6TdFsTv2xMes5ASQVKbCacxg==}
engines: {node: ^14.18.0 || >= 16}
peerDependencies:
@ -8345,8 +8345,8 @@ packages:
magic-string: 0.27.0
svelte: 3.54.0
svelte-hmr: 0.15.1(svelte@3.54.0)
vite: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
vitefu: 0.2.4(vite@4.2.1)
vite: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
vitefu: 0.2.4(vite@4.3.1)
transitivePeerDependencies:
- supports-color
dev: false
@ -9044,7 +9044,7 @@ packages:
- supports-color
dev: false
/@vitejs/plugin-vue-jsx@3.0.0(vite@4.2.1)(vue@3.2.40):
/@vitejs/plugin-vue-jsx@3.0.0(vite@4.3.1)(vue@3.2.40):
resolution: {integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@ -9057,13 +9057,13 @@ packages:
'@babel/core': 7.21.4
'@babel/plugin-transform-typescript': 7.21.3(@babel/core@7.21.4)
'@vue/babel-plugin-jsx': 1.1.1(@babel/core@7.21.4)
vite: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
vite: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
vue: 3.2.40
transitivePeerDependencies:
- supports-color
dev: false
/@vitejs/plugin-vue@4.0.0(vite@4.2.1)(vue@3.2.40):
/@vitejs/plugin-vue@4.0.0(vite@4.3.1)(vue@3.2.40):
resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@ -9073,7 +9073,7 @@ packages:
vite:
optional: true
dependencies:
vite: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
vite: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
vue: 3.2.40
dev: false
@ -15795,6 +15795,14 @@ packages:
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
/rollup@3.20.6:
resolution: {integrity: sha512-2yEB3nQXp/tBQDN0hJScJQheXdvU2wFhh6ld7K/aiZ1vYcak6N/BKjY1QrU6BvO2JWYS8bEs14FRaxXosxy2zw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
/run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@ -17268,8 +17276,8 @@ packages:
- supports-color
dev: false
/vite@3.2.5(@types/node@18.7.21):
resolution: {integrity: sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==}
/vite@3.2.6(@types/node@18.7.21):
resolution: {integrity: sha512-nTXTxYVvaQNLoW5BQ8PNNQ3lPia57gzsQU/Khv+JvzKPku8kNZL6NMUR/qwXhMG6E+g1idqEPanomJ+VZgixEg==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
@ -17302,8 +17310,8 @@ packages:
fsevents: 2.3.2
dev: false
/vite@4.2.1(@types/node@18.7.21)(sass@1.52.2):
resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==}
/vite@4.3.1(@types/node@18.7.21)(sass@1.52.2):
resolution: {integrity: sha512-EPmfPLAI79Z/RofuMvkIS0Yr091T2ReUoXQqc5ppBX/sjFRhHKiPPF/R46cTdoci/XgeQpB23diiJxq5w30vdg==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
@ -17330,13 +17338,12 @@ packages:
'@types/node': 18.7.21
esbuild: 0.17.12
postcss: 8.4.21
resolve: 1.22.2
rollup: 3.20.1
rollup: 3.20.6
sass: 1.52.2
optionalDependencies:
fsevents: 2.3.2
/vitefu@0.2.4(vite@4.2.1):
/vitefu@0.2.4(vite@4.3.1):
resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==}
peerDependencies:
vite: ^3.0.0 || ^4.0.0
@ -17344,7 +17351,7 @@ packages:
vite:
optional: true
dependencies:
vite: 4.2.1(@types/node@18.7.21)(sass@1.52.2)
vite: 4.3.1(@types/node@18.7.21)(sass@1.52.2)
dev: false
/vitest@0.20.3:
@ -17380,7 +17387,7 @@ packages:
local-pkg: 0.4.3
tinypool: 0.2.4
tinyspy: 1.1.1
vite: 3.2.5(@types/node@18.7.21)
vite: 3.2.6(@types/node@18.7.21)
transitivePeerDependencies:
- less
- sass