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:
parent
32b0795bc0
commit
7572f74022
11 changed files with 36 additions and 7 deletions
16
.changeset/thin-seahorses-worry.md
Normal file
16
.changeset/thin-seahorses-worry.md
Normal 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.
|
|
@ -38,7 +38,7 @@
|
||||||
"tiny-glob": "^0.2.9"
|
"tiny-glob": "^0.2.9"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^2.0.0-beta.0"
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
"esbuild": "^0.15.18"
|
"esbuild": "^0.15.18"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^2.0.0-beta.0"
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
|
|
|
@ -65,7 +65,8 @@
|
||||||
"vite": "^4.0.3"
|
"vite": "^4.0.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"sharp": ">=0.31.0"
|
"sharp": ">=0.31.0",
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"sharp": {
|
"sharp": {
|
||||||
|
|
|
@ -37,6 +37,9 @@
|
||||||
"@astrojs/webapi": "^1.1.1",
|
"@astrojs/webapi": "^1.1.1",
|
||||||
"esbuild": "^0.15.18"
|
"esbuild": "^0.15.18"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@netlify/edge-handler-types": "^0.34.1",
|
"@netlify/edge-handler-types": "^0.34.1",
|
||||||
"@netlify/functions": "^1.0.0",
|
"@netlify/functions": "^1.0.0",
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
"send": "^0.18.0"
|
"send": "^0.18.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^2.0.0-beta.0"
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node-fetch": "^2.6.2",
|
"@types/node-fetch": "^2.6.2",
|
||||||
|
|
|
@ -43,7 +43,8 @@
|
||||||
"vite": "^4.0.3"
|
"vite": "^4.0.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"svelte": "^3.54.0"
|
"svelte": "^3.54.0",
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.12.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
|
|
|
@ -38,7 +38,8 @@
|
||||||
"tailwindcss": "^3.0.24"
|
"tailwindcss": "^3.0.24"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"tailwindcss": "^3.0.24"
|
"tailwindcss": "^3.0.24",
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
|
|
|
@ -49,6 +49,9 @@
|
||||||
"fast-glob": "^3.2.11",
|
"fast-glob": "^3.2.11",
|
||||||
"set-cookie-parser": "^2.5.1"
|
"set-cookie-parser": "^2.5.1"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/set-cookie-parser": "^2.4.2",
|
"@types/set-cookie-parser": "^2.4.2",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
|
|
|
@ -50,7 +50,8 @@
|
||||||
"vue": "^3.2.37"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.2.30"
|
"vue": "^3.2.30",
|
||||||
|
"astro": "workspace:^2.0.0-beta.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.18.0 || >=16.12.0"
|
"node": "^14.18.0 || >=16.12.0"
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
||||||
"test": "mocha --exit --timeout 20000"
|
"test": "mocha --exit --timeout 20000"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"astro": "workspace:^2.0.0"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/prism": "^1.0.0",
|
"@astrojs/prism": "^1.0.0",
|
||||||
"acorn": "^8.7.1",
|
"acorn": "^8.7.1",
|
||||||
|
|
Loading…
Reference in a new issue