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

Draft: Renovate: Ignore packages we don't want to upgrade ATM #3023

Draft
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

thomasdax98
Copy link
Member

@thomasdax98 thomasdax98 commented Jan 3, 2025

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

  • renovate doesn't suggest these updates
  • the config serves as a single-source-of-truth for delayed updates

Switch to json5 to allow comments (is supported by renovate)

@auto-assign auto-assign bot requested a review from johnnyomair January 3, 2025 09:50
@thomasdax98 thomasdax98 marked this pull request as draft January 3, 2025 10:05
@thomasdax98 thomasdax98 marked this pull request as ready for review January 3, 2025 10:11
@thomasdax98 thomasdax98 requested a review from manuelblum January 3, 2025 10:11
},

{
// Can't upgrade because: > v5 doesn't support Prompts, so we don't want to upgrade atm
Copy link
Collaborator

@manuelblum manuelblum Jan 7, 2025

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.

Copy link
Member Author

@thomasdax98 thomasdax98 Jan 8, 2025

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

renovate.json5 Outdated Show resolved Hide resolved
@thomasdax98 thomasdax98 changed the title Renovate: Ignore packages we don't want to upgrade ATM Draft: Renovate: Ignore packages we don't want to upgrade ATM Jan 9, 2025
@thomasdax98 thomasdax98 marked this pull request as draft January 9, 2025 14:25
@johnnyomair johnnyomair removed their request for review January 10, 2025 07:37
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.

2 participants