Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Astro as a peerDependency #5806

Merged
merged 3 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .changeset/thin-seahorses-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@astrojs/cloudflare': major
'@astrojs/deno': major
'@astrojs/netlify': major
'@astrojs/node': major
'@astrojs/svelte': major
'@astrojs/tailwind': major
'@astrojs/vercel': major
'@astrojs/vue': major
'@astrojs/markdown-remark': major
'@astrojs/image': minor
---

Make astro a peerDependency of integrations

This marks `astro` as a peerDependency of several packages that are already getting `major` version bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
"astro": "workspace:^2.0.0-beta.0"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
"astro": "workspace:^2.0.0-beta.0"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/integrations/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"vite": "^4.0.3"
},
"peerDependencies": {
"sharp": ">=0.31.0"
"sharp": ">=0.31.0",
"astro": "workspace:^2.0.0-beta.0"
},
"peerDependenciesMeta": {
"sharp": {
Expand Down
3 changes: 3 additions & 0 deletions packages/integrations/netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"@astrojs/webapi": "^1.1.1",
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.0.0-beta.0"
},
"devDependencies": {
"@netlify/edge-handler-types": "^0.34.1",
"@netlify/functions": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"send": "^0.18.0"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
"astro": "workspace:^2.0.0-beta.0"
},
"devDependencies": {
"@types/node-fetch": "^2.6.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/integrations/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"vite": "^4.0.3"
},
"peerDependencies": {
"svelte": "^3.54.0"
"svelte": "^3.54.0",
"astro": "workspace:^2.0.0-beta.0"
},
"engines": {
"node": "^14.18.0 || >=16.12.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/integrations/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"tailwindcss": "^3.0.24"
},
"peerDependencies": {
"tailwindcss": "^3.0.24"
"tailwindcss": "^3.0.24",
"astro": "workspace:^2.0.0-beta.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
3 changes: 3 additions & 0 deletions packages/integrations/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
"fast-glob": "^3.2.11",
"set-cookie-parser": "^2.5.1"
},
"peerDependencies": {
"astro": "workspace:^2.0.0-beta.0"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",
"astro": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"vue": "^3.2.37"
},
"peerDependencies": {
"vue": "^3.2.30"
"vue": "^3.2.30",
"astro": "workspace:^2.0.0-beta.0"
},
"engines": {
"node": "^14.18.0 || >=16.12.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/markdown/remark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000"
},
"peerDependencies": {
"astro": "workspace:^2.0.0"
},
"dependencies": {
"@astrojs/prism": "^1.0.0",
"acorn": "^8.7.1",
Expand Down