-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 @astrojs/upgrade
package for automatic package upgrades
#8525
Conversation
🦋 Changeset detectedLatest commit: 203530f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Is this for hackathon @natemoo-re, |
@natemoo-re I think it would also be great to either add a |
I'm a big fan of storybook's upgrade script: https://storybook.js.org/docs/react/configure/upgrading#upgrade-script It especially helps to reduce weird mismatched peer-deps! https://github.com/antfu/taze is my default for general dep upgrades though: |
47deab8
to
036b7d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So excited for this, Nate, and to be able to put this at the top of the Upgrade guide instead of "don't forget to update all your integrations , too!"
Some tiny suggestions below for your consideration.
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
* feat: implement redesign * fix: make it build * feat: visual tweaks * feat(overlay): update styling, integration endpoint * feat: add fallback icons * Clean up tests (#9183) * Add `@astrojs/upgrade` package for automatic package upgrades (#8525) Co-authored-by: Sarah Rainsberger <[email protected]> * [ci] format * fix: links with same path but different search params not prefetched (#9189) Co-authored-by: Sarah Rainsberger <[email protected]> * fix: discord icon * chore: changeset --------- Co-authored-by: Nate Moore <[email protected]> Co-authored-by: Bjorn Lu <[email protected]> Co-authored-by: Nate Moore <[email protected]> Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: Spencer Whitehead <[email protected]> Co-authored-by: Matthew Phillips <[email protected]>
Changes
@astrojs/upgrade
npx @astrojs/upgrade # upgrades to latest
npx @astrojs/upgrade beta # upgrades to beta (or latest if beta isn't found)
npx @astrojs/upgrade --dry-run # logs versions but no install
Testing
Added some initial basic test suites in addition to lots of manual testing
Docs
Updated the README! We should take another pass at this, though.