Conversation
BREAKING CHANGE: min supported version of node is 12.22
|
❌ Deploy Preview for react-hooks-testing-library failed. 🔨 Explore the source changes: 416d475 🔍 Inspect the deploy log: https://app.netlify.com/sites/react-hooks-testing-library/deploys/61efcdc260b71200088417d4 |
|
This is a strange error to have... |
|
The rules not being found? I believe |
I think you're right. Let me add it to the PR and we'll go from there, as it's (annoyingly) not throwing said error in my env. |
I've just done a quick whip around of a few big react libraries written in TS that I'm aware of and it does appear to be the case that most just list the types as The only one I could find doing it the way I'm proposing it should be done is material-ui. I'm still of the opinion that this is the the better way to handle it as it will give a peer dependency warning if the wrong version is installed, but not complain if the type dependencies are not required (e.g. non-TS users). I've checked out generated type definitions and only |
What:
Why:
How:
Checklist: