-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add section about development best practices to CONTRIBUTING #1337
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1337 +/- ##
=======================================
Coverage 94.37% 94.37%
=======================================
Files 229 229
Lines 3754 3754
Branches 1011 1011
=======================================
Hits 3543 3543
Misses 81 81
Partials 130 130 ☔ View full report in Codecov by Sentry. |
.github/CONTRIBUTING.md
Outdated
@@ -30,6 +30,36 @@ Our kanban board is public and available [here](https://github.com/orgs/vazco/pr | |||
- Make sure you have added the necessary tests for your changes. Do not worry though, the Codecov bot will report it in the pull request. | |||
- Make sure your code passes _all_ tests: `npm test`. | |||
|
|||
### Development | |||
|
|||
For the best developer experience (DX) when developing locally it is recommended to start `build` and `test` in a `--watch` mode. |
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.
The a
is redundant in "a --watch mode". Should either be just "in --watch mode" or "in the --watch mode".
In general you could simplify the start of this sentence but it's subjective so I'm okay with this version too. "For the best local developer experience"
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.
That's better!
.github/CONTRIBUTING.md
Outdated
|
||
For the best developer experience (DX) when developing locally it is recommended to start `build` and `test` in a `--watch` mode. | ||
|
||
In the root directory... |
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.
This sounds a little strange. Maybe reword this to a direct command like "Run the commands below in the root directory."
.github/CONTRIBUTING.md
Outdated
npm start | ||
``` | ||
|
||
it will start the docusaurus in development mode supporting hot reload, so you should see the changes made to the website immediately. |
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.
I think this sentence should be capitalized. Also not sure if you need the comma after "hot reload"
d8cb99c
Co-authored-by: Konrad Bosak <[email protected]>
d8cb99c
to
60eb47f
Compare
This PR adds a section about development best practices and how to achieve better DX when working with this codebase.