Contributing to Universal Layer Manager
Thanks for taking the time to contribute! All types of contributions are welcome.
Code of Conduct
Everyone taking part in this project is expected to follow the Code of Conduct.
Questions, bugs and ideas
Search the existing issues first. If yours isn't there, open a new issue using the question, bug or feature request template.
Pull requests
- Fork the repository and create a branch from
main. - Run
npm install. - Make your changes, with tests for any new behaviour.
- Check that
npm testandnpm run lintpass. - Open a pull request.
Commit messages
Commit messages follow Conventional Commits:
type(scope): descriptionA scope is required. It names the package that changed: core, leaflet, examples, repo, or deps.
| Type | Use for | In the changelog |
|---|---|---|
feat | User-visible capability | Added |
fix | Defect repair | Fixed |
perf | Measurable speed or resource change | Changed |
revert | Undoes an earlier commit | Changed |
refactor, test, docs, build, ci, chore | Internal work | Not shown |
feat and fix that remove or drop something land under Removed. Mark a breaking change with ! before the colon.
Releases
The changelog is drafted from the commit messages:
npm run changelog:preview # print the pending section
npm run changelog:draft # prepend it to CHANGELOG.md
npm run version:next # print the next versionEdit the drafted section before tagging. @ulm/core and @ulm/leaflet ship on the same tag, vX.Y.Z. v1.0.1 and v1.0.2 already belong to the previous single package. If npm run version:next prints one of those, tag the next free version instead.