Uh oh!
There was an error while loading. Please reload this page.
Fix @typescript-eslint typescript peer dependency warning - #6859
Fix @typescript-eslint typescript peer dependency warning#6859ianschmitz wants to merge 1 commit into
Conversation
ianschmitz
commented
Apr 21, 2019
Doh. Not quite this simple. Still a couple warnings left it looks like when checking out the CI logs: |
There was a problem hiding this comment.
I don't think we want to ship an alpha version just to remove some warnings. Can we wait until this is stable and upgrade it after the 3.0 release?
There was a problem hiding this comment.
We can yes. This is a commit after their 1.7.0 release as they release automatically on commit to master.
arcanis
commented
Apr 21, 2019
I've published |
ianschmitz
commented
May 5, 2019
Alright looks like this might be the last one:
|
zarsky-broad
commented
Aug 1, 2019
@ianschmitz can this be moved ahead now that 1.8.0 (and indeed, up through 1.13.0) have been released? Just doing an audit of my project's install warning and came across this. |
736a336 to
2424854Compare
Still getting warnings :(
|
mrmckeb
commented
Aug 8, 2019
It's probably worth merging this for 3.1 anyway, what do you think @ianschmitz@iansu? |
arcanis
commented
Aug 8, 2019
Fwiw I don't think using an unsafe pattern known to break under some circumstances (omitting peer dependencies from the manifest) just to remove warnings is a good tradeoff, especially when those warning can already disappear for half the users by using the right feature (npm is also going to implement optional peer dependencies, btw) ... I should probably bring this to the typescript-eslint project, but since I think they made the change based on CRA I wanted to raise it here as well 🙁 |
iansu
commented
Aug 8, 2019
@arcanis thanks for the additional info. I think we should hold off on this since it doesn't actually solve the problem. If this is something that's going to be addressed directly by package managers then maybe we should just wait for that to happen. |
eddiemonge
commented
Jul 22, 2020
@ianschmitz this is outdated so can probably be closed |
laoshaw
commented
Oct 1, 2020
today is 2020.10.01 and I still got below from a fresh create-react-app project: |
ianschmitz
commented
Dec 9, 2020
Agreed. Webpack 5 also includes native pnp support AFAIK, so that will change things. |
Fixes#6834.
Bump
@typescript-eslintpackages to a newer version that have removed thetypescriptpeer dependency.