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

chore(sveltekit): Add SvelteKit 2.0 to peer dependency range #9861

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Dec 15, 2023

Setting the range to >=1.x to include kit 2.0 and higher 1.x || 2.x to include kit 2.0

@Lms24 Lms24 mentioned this pull request Dec 15, 2023
@Lms24 Lms24 self-assigned this Dec 15, 2023
@@ -17,7 +17,7 @@
"access": "public"
},
"peerDependencies": {
"@sveltejs/kit": "1.x"
"@sveltejs/kit": ">=1.x"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be a bit more cautious, should we make this >= 1 <= 2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can ofc but for example, in Astro, we opted to leave an open end given that we'll need support for a new major anyway (#9683)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine with me 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather we explicitly opt-in to every major version, and make this "@sveltejs/kit": "^1.0 || ^2.0" like what we do for nextjs.

Copy link
Member Author

@Lms24 Lms24 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, changed it to an explicit major array. Don't have strong opinions here, so fine with anything 😅

@Lms24 Lms24 force-pushed the lms/chore-bump-kit-dependencies branch from 6409323 to 48fbe6b Compare December 15, 2023 17:04
@Lms24 Lms24 marked this pull request as ready for review December 18, 2023 11:06
@Lms24 Lms24 merged commit 4e0c460 into develop Dec 19, 2023
51 checks passed
@Lms24 Lms24 deleted the lms/chore-bump-kit-dependencies branch December 19, 2023 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants