Skip to content

Commit

Permalink
feat: allow SvelteKit 2 as peer dependency (#11233)
Browse files Browse the repository at this point in the history
* feat: allow SvelteKit 2 as peer dependency

* fix

* update lockfile
  • Loading branch information
benmccann authored Dec 9, 2023
1 parent dab9817 commit 64cb7fa
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 11 deletions.
12 changes: 12 additions & 0 deletions .changeset/hungry-kings-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@sveltejs/adapter-cloudflare-workers': minor
'@sveltejs/adapter-cloudflare': minor
'@sveltejs/adapter-netlify': minor
'@sveltejs/adapter-static': minor
'@sveltejs/adapter-vercel': minor
'@sveltejs/adapter-auto': minor
'@sveltejs/adapter-node': minor
'@sveltejs/amp': minor
---

feat: allow SvelteKit 2 as peer dependency
2 changes: 1 addition & 1 deletion packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"import-meta-resolve": "^4.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"vitest": "^1.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
"@sveltejs/kit": "^1.5.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"rollup": "^4.2.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"vite": "^5.0.4"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
"@sveltejs/kit": "^1.5.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"vitest": "^1.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
"@sveltejs/kit": "^1.5.0 || ^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"format": "pnpm lint --write"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
"@sveltejs/kit": "^1.0.0 || ^2.0.0"
}
}
6 changes: 3 additions & 3 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 64cb7fa

Please sign in to comment.