Add Astro as a peerDependency (#5806)

* Add Astro as a peerDependency

* Add changeset

* Update .changeset/thin-seahorses-worry.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
This commit is contained in:
Matthew Phillips 2023-01-09 10:58:38 -05:00 committed by GitHub
parent 32b0795bc0
commit 7572f74022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 36 additions and 7 deletions

View file

@ -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.

View file

@ -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:*",

View file

@ -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:*",

View file

@ -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": {

View file

@ -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",

View file

@ -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",

View file

@ -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"

View file

@ -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": {

View file

@ -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:*",

View file

@ -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"

View file

@ -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",