-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Better document process how types are generated. #4948
Conversation
That's a good idea. I'd also suggest you to update the existing tests examples, add more |
That would be much appreciated! |
CONTRIBUTING.md
Outdated
|
||
Whenever you change the types in these packages, make sure you re-generate the types with the command shown above. In order to ensure that packages where type definitions have changed are released we keep the generated type definition in source control. | ||
|
||
### Adding Types for webdriverIO |
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.
should WebdriverIO start from uppercase here?
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.
👍
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #4948 +/- ##
=======================================
Coverage 99.42% 99.42%
=======================================
Files 210 210
Lines 5561 5561
Branches 1204 1204
=======================================
Hits 5529 5529
Misses 29 29
Partials 3 3 Continue to review full report at Codecov.
|
Maybe we should also mention that types should be generated if there were any changes to js doc or protocols? |
I thought I covered this by
|
Pre-check
Describe the improvement
I'd like to report
Description of the improvement / report
We should better document how types are generated, so we don't need to explain this process during PR reviews.