-
Notifications
You must be signed in to change notification settings - Fork 8
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
Draft: Renovate: Ignore packages we don't want to upgrade ATM #3023
base: next
Are you sure you want to change the base?
Conversation
954a796
to
e1e5c61
Compare
e1e5c61
to
1176350
Compare
}, | ||
|
||
{ | ||
// Can't upgrade because: > v5 doesn't support Prompts, so we don't want to upgrade atm |
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.
I think react-router offers an API for this. useBlocker
API can block navigation on certain conditions. I don't know our comet's implementation details and usage of react router Prompt
in depth, but I am pretty sure, it should be possible since react-router Version 6.7.0 with unstable_useblocker.
UseBlocker
Feature should already be stable in latest react router version.
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.
Ah true, then we can try that. I must have missed it. If we also do the switch to ESM, then this PR is obsolete
Description
There are some packages that we can't / don't want to upgrade ATM. I listed them in the renovate config and added the reason why we ignore them so that
Switch to json5 to allow comments (is supported by renovate)