-
Notifications
You must be signed in to change notification settings - Fork 48
chore: add legacy peer dependencies #3262
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: add legacy peer dependencies #3262
Conversation
suggested in renovatebot/renovate#9204 this allows working around peternewnham/react-html-parser#80 and gvaldambrini/storybook-router#66 this can be removed when upstream peer conflicts have been resolved
| @@ -0,0 +1 @@ | |||
| legacy-peer-deps=true No newline at end of file | |||
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.
alternatively
| legacy-peer-deps=true | |
| force=true |
could also work, neither is ideal, as these should be patched upstream
edalex-ian
left a comment
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.
Thanks @ChristianMurphy .
I can see how this would hopefully fix the issue, but arguably it then introduces a new issue - i.e. we'd have to hopefully make sure we remove this in the future.
So that got me wondering, how far in the future?
Well, from looking at the two mentioned repositories it almost looks like both are dead. Indeed, the contributor for the router module has not even done anything on GitHub in general for 2+ years, and the other has not had any substantive updates since 2017!
I wonder if maybe the issue is we need to replace those dependencies with something that is maintained... Or less desirable, fork them and maintain them....
Another thing I've observed in this PR is that some of the direct dependencies in package.json are not correct in package-lock.json - e.g. in package.json we have fp-ts at 2.11.1 and yet package-lock.json still has it at 2.10.5. I wonder how much benefit we might get just be updating package-lock.json. 🤔
Agreed, moving to libraries which are still active is the better solution.
In this PR and in the
It's been a while since we last requested a lock file maintenance PR from #1532, getting another lockfile update would probably be beneficial. |
|
Strange, I thought there had been some more recent ones. But none the less, we now have #3265 . It's been a bit bumpy, but will see how it goes with GHA and then look closer. |
|
I have not found any alternative for |
Hey! If we can do that and get rid of yet another dependency I'd be pretty happy. Have you had a chance to try? |
suggested in renovatebot/renovate#9204
this allows working around peternewnham/react-html-parser#80 and gvaldambrini/storybook-router#66 by using npm 6 style peer dependencies, this can be removed when upstream peer conflicts have been resolved
Checklist
Description of change
Address #3259 (comment)