-
-
Notifications
You must be signed in to change notification settings - Fork 26
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: update dependencies script #314
Conversation
|
commit: |
e032ff7
to
64009d6
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.
This is looking great! Ended up making a few tweaks, but this should be ready to go:
- Removed the script that updated the repo's deps since that's something that shouldn't necessarily be tied to updating add-on deps
- renamed the script and file
- added a bit more info to the output and some color so it's easier to visually parse
- added a regex for packages that are defined in object literals (take our tailwind add-on as an example)
Sounds logical, this was setup before i figured out that
Great point! |
Adds a script
pnpm update-dependencies
to automatically update the dependencies. This script focuses onpackage.json
dependencies (usingpnpm update --recursive
)addons
(usingregex
andfetch
to npm)As discussed, updating the actual dependencies (packages and addons) should happen separately, since both also require code changes, although minimal.