-
Notifications
You must be signed in to change notification settings - Fork 154
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
Move types from DefinitelyTyped #148
Move types from DefinitelyTyped #148
Conversation
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.
Great! Just one thing
Should this be released as a breaking change? It technically is. I'm thinking I'd we do we could also remove the |
Ah of course, they should be removed. I also agree this is a breaking change! I'll push this change later today. |
package.json
Outdated
"kcd-scripts": "^5.5.0", | ||
"npm-run-all": "^4.1.5" | ||
"npm-run-all": "^4.1.5", | ||
"typescript": "^3.9.7" |
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.
Added as a dependency because dtslint
complains without it.
I merged this into the |
Also, @TheGallery, thanks so much for your help! I've added you as a collaborator on the project. Please make sure that you review the |
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com> BREAKING CHANGE: TypeScript type definitions have been brought into this module and no longer needs to be referenced from DefinitelyTyped
Gladly. Just to make sure, we want to remove the |
The migration should just be a find and replace right? unless I'm missing something. If it's just a fine and replace, then I'm not worried about just removing it in a major version. |
I am pretty sure it's me missing something. I am just confused on how removing |
Oh yeah, I forgot about that. That didn't remove them, it deprecated them. Now we're need to remove them. |
Right, I think I have a pretty good picture of what needs to be done now! I'll get to it. Thanks a bunch for the guidance. |
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com> BREAKING CHANGE: TypeScript type definitions have been brought into this module and no longer needs to be referenced from DefinitelyTyped
the types moved into the repo (testing-library/cypress-testing-library#148)
the types moved into the repo (testing-library/cypress-testing-library#148)
What:
Move types from DefinitelyTyped to this repository.
Why:
Reduce the amount of additional dependencies required and avoid issues like the one described here.
How:
Followed the approach taken in testing-library/react-testing-library#690 and testing-library/dom-testing-library#530
Checklist:
The pre-commit hook was complaining about some type definition conflicts (as mentioned here) when running
tsc
so I had to skip it to create the PR. I could use some help resolving that if anyone becomes available.