Skip to content

Commit

Permalink
fix!: add vite as an optional peer dependency to core and astro (#2941)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam committed Aug 9, 2023
1 parent ef6a3bc commit 345a83c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
"build": "unbuild",
"stub": "unbuild --stub"
},
"peerDependencies": {
"vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
}
},
"dependencies": {
"@unocss/core": "workspace:*",
"@unocss/reset": "workspace:*",
Expand Down
6 changes: 5 additions & 1 deletion packages/unocss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,15 @@
"stub": "unbuild --stub"
},
"peerDependencies": {
"@unocss/webpack": "workspace:*"
"@unocss/webpack": "workspace:*",
"vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0"
},
"peerDependenciesMeta": {
"@unocss/webpack": {
"optional": true
},
"vite": {
"optional": true
}
},
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 345a83c

Please sign in to comment.