Skip to content

Commit d833201

Browse files
authored
Update CONTRIBUTING.md
1 parent 51581ed commit d833201

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/CONTRIBUTING.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,32 +172,45 @@ included in the project:
172172
git pull upstream main
173173
```
174174

175-
3. Create a new topic branch (off the main project development branch) to
175+
3. Install or update project dependencies with npm:
176+
177+
```bash
178+
npm install
179+
```
180+
181+
4. Create a new topic branch (off the main project development branch) to
176182
contain your feature, change, or fix:
177183

178184
```bash
179185
git checkout -b <topic-branch-name>
180186
```
181187

182-
4. Commit your changes in logical chunks. Please adhere to these [git commit
188+
5. Commit your changes in logical chunks. Please adhere to these [git commit
183189
message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
184190
or your code is unlikely be merged into the main project. Use Git's
185191
[interactive rebase](https://help.github.com/articles/about-git-rebase/)
186192
feature to tidy up your commits before making them public.
187193

188-
5. Locally merge (or rebase) the upstream development branch into your topic branch:
194+
6. Ensure your changes compile the dist CSS and JS files in the `dist/` directory. Verify
195+
the build succeeds locally without errors.
196+
197+
```bash
198+
npm run dist
199+
```
200+
201+
7. Locally merge (or rebase) the upstream development branch into your topic branch:
189202

190203
```bash
191204
git pull [--rebase] upstream main
192205
```
193206

194-
6. Push your topic branch up to your fork:
207+
8. Push your topic branch up to your fork:
195208

196209
```bash
197210
git push origin <topic-branch-name>
198211
```
199212

200-
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/)
213+
9. [Open a pull request](https://help.github.com/articles/about-pull-requests/)
201214
with a clear title and description against the `main` branch.
202215

203216
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to

0 commit comments

Comments
 (0)