This is currently an unstructured dump of development practices across all of the projects I maintain. I will probably link here in the CONTRIBUTING.md of each repo.
Depending on how much time you have, in order of preferredness:
- Submit a PR that fixes the bug and includes tests
- Submit a PR with failing tests that demonstrates the bug
- Submit an issue with a failing test that demonstrates the bug
- Submit an issue that describes the bug
Actually putting pen to paper (or finger to keyboard), in order of preferredness:
- Pair programming
- Check in with project maintainer, write PR solo
- Repository owners making changes they are fairly confident about should commit directly to
master. - No merge commits. PRs are squashed and rebased on master.
- PRs without tests will generally not be accepted.
- Code style for JavaScript: Standard JS
- Run tests
- Update
CHANGELOG.mdunder Unreleased section
- Scan commits for changes
- Verify that commits add points to
CHANGELOG.md
- Verify that commits add points to
- Update
CHANGELOG.md nvm usenpm inpm test- Bump version of
package.json git add package.jsongit commit -m "Version 0.0.0"git tag -m "0.0.0" 0.0.0git pushgit push --tagsnpm publish