Fix peer deps issue in svelte and vue plugins (#3333)
* fix peer deps issue * add changeset * rebuild lockfile
This commit is contained in:
parent
ccea6a0a1a
commit
ce6d798282
4 changed files with 46 additions and 6 deletions
6
.changeset/violet-bees-camp.md
Normal file
6
.changeset/violet-bees-camp.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
'@astrojs/svelte': patch
|
||||
'@astrojs/vue': patch
|
||||
---
|
||||
|
||||
Fix a vite peer dependency bug
|
|
@ -33,7 +33,8 @@
|
|||
"dependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.41",
|
||||
"postcss-load-config": "^3.1.4",
|
||||
"svelte-preprocess": "^4.10.6"
|
||||
"svelte-preprocess": "^4.10.6",
|
||||
"vite": "^2.9.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/plugin-vue": "^2.3.1"
|
||||
"@vitejs/plugin-vue": "^2.3.1",
|
||||
"vite": "^2.9.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "workspace:*",
|
||||
|
|
|
@ -1432,10 +1432,12 @@ importers:
|
|||
postcss-load-config: ^3.1.4
|
||||
svelte: ^3.47.0
|
||||
svelte-preprocess: ^4.10.6
|
||||
vite: ^2.9.5
|
||||
dependencies:
|
||||
'@sveltejs/vite-plugin-svelte': 1.0.0-next.41_svelte@3.47.0
|
||||
'@sveltejs/vite-plugin-svelte': 1.0.0-next.41_svelte@3.47.0+vite@2.9.5
|
||||
postcss-load-config: 3.1.4
|
||||
svelte-preprocess: 4.10.6_ouvyccvykwltmjwugnola6eovq
|
||||
vite: 2.9.5
|
||||
devDependencies:
|
||||
astro: link:../../astro
|
||||
astro-scripts: link:../../../scripts
|
||||
|
@ -1489,9 +1491,11 @@ importers:
|
|||
'@vitejs/plugin-vue': ^2.3.1
|
||||
astro: workspace:*
|
||||
astro-scripts: workspace:*
|
||||
vite: ^2.9.5
|
||||
vue: ^3.2.33
|
||||
dependencies:
|
||||
'@vitejs/plugin-vue': 2.3.1_vue@3.2.33
|
||||
'@vitejs/plugin-vue': 2.3.1_vite@2.9.5+vue@3.2.33
|
||||
vite: 2.9.5
|
||||
devDependencies:
|
||||
astro: link:../../astro
|
||||
astro-scripts: link:../../../scripts
|
||||
|
@ -2109,6 +2113,8 @@ packages:
|
|||
resolution: {integrity: sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/types': 7.17.0
|
||||
|
||||
/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.16.7_@babel+core@7.17.9:
|
||||
resolution: {integrity: sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==}
|
||||
|
@ -3849,7 +3855,7 @@ packages:
|
|||
string.prototype.matchall: 4.0.7
|
||||
dev: true
|
||||
|
||||
/@sveltejs/vite-plugin-svelte/1.0.0-next.41_svelte@3.47.0:
|
||||
/@sveltejs/vite-plugin-svelte/1.0.0-next.41_svelte@3.47.0+vite@2.9.5:
|
||||
resolution: {integrity: sha512-2kZ49mpi/YW1PIPvKaJNSSwIFgmw9QUf1+yaNa4U8yJD6AsfSHXAU3goscWbi1jfWnSg2PhvwAf+bvLCdp2F9g==}
|
||||
engines: {node: ^14.13.1 || >= 16}
|
||||
peerDependencies:
|
||||
|
@ -3868,6 +3874,7 @@ packages:
|
|||
magic-string: 0.26.1
|
||||
svelte: 3.47.0
|
||||
svelte-hmr: 0.14.11_svelte@3.47.0
|
||||
vite: 2.9.5
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: false
|
||||
|
@ -4392,7 +4399,7 @@ packages:
|
|||
'@unocss/scope': 0.15.6
|
||||
dev: true
|
||||
|
||||
/@vitejs/plugin-vue/2.3.1_vue@3.2.33:
|
||||
/@vitejs/plugin-vue/2.3.1_vite@2.9.5+vue@3.2.33:
|
||||
resolution: {integrity: sha512-YNzBt8+jt6bSwpt7LP890U1UcTOIZZxfpE5WOJ638PNxSEKOqAi0+FSKS0nVeukfdZ0Ai/H7AFd6k3hayfGZqQ==}
|
||||
engines: {node: '>=12.0.0'}
|
||||
peerDependencies:
|
||||
|
@ -4402,6 +4409,7 @@ packages:
|
|||
vite:
|
||||
optional: true
|
||||
dependencies:
|
||||
vite: 2.9.5
|
||||
vue: 3.2.33
|
||||
dev: false
|
||||
|
||||
|
@ -10463,6 +10471,30 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/vite/2.9.5:
|
||||
resolution: {integrity: sha512-dvMN64X2YEQgSXF1lYabKXw3BbN6e+BL67+P3Vy4MacnY+UzT1AfkHiioFSi9+uiDUiaDy7Ax/LQqivk6orilg==}
|
||||
engines: {node: '>=12.2.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
less: '*'
|
||||
sass: '*'
|
||||
stylus: '*'
|
||||
peerDependenciesMeta:
|
||||
less:
|
||||
optional: true
|
||||
sass:
|
||||
optional: true
|
||||
stylus:
|
||||
optional: true
|
||||
dependencies:
|
||||
esbuild: 0.14.38
|
||||
postcss: 8.4.12
|
||||
resolve: 1.22.0
|
||||
rollup: 2.70.2
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: false
|
||||
|
||||
/vite/2.9.5_sass@1.50.1:
|
||||
resolution: {integrity: sha512-dvMN64X2YEQgSXF1lYabKXw3BbN6e+BL67+P3Vy4MacnY+UzT1AfkHiioFSi9+uiDUiaDy7Ax/LQqivk6orilg==}
|
||||
engines: {node: '>=12.2.0'}
|
||||
|
|
Loading…
Reference in a new issue