Contributing to the DSO Toolkit and DSO Component Library
This repository houses two projects:
- The toolkit in
src/
andassets/
- A component library in
docs/
andcomponents/
This project uses Semantic Versioning.
Language
There are two language domains: English and Dutch. Anything tech-related (styling, source code, standard open source files, etc) is in English. Anything else (Fractal notes, manuals, GitHub issues and comments) is in Dutch.
How to contribute
Contributing to the DSO Toolkit is fairly straight-forward:
- Fork
- Open an issue
- Contribute
- Create a pull request
1. Fork
Fork the repository to your own - or your organisation's - namespace.
2. Open an issue
Every change is accomponied by an issue describing the change, scope, and incentive. This way contributers, maintainers and product owners can reason about the suggested changes.
Properly label the issue as a bug, improvement, new feature.
3. Contribute
- Take note of the codestyle, we are using linters.
- Add an entry to the CHANGELOG.md.
- When changing the toolkit, try to demonstrate the change using the component library (new components or variants)
- Run
gulp test:dom
. Commit new/changed reference DOM files usinggulp reference:dom
.
4. Create a pull request
Create a pull request to the target version branch, most likely master
. A maintainer will review your changes, merge them, and close the issue.
Reviewing
When reviewing a pull request, make sure the items in step 3. Contribute are checked. Pay special attention to the changelog and (if needed) reference DOM files.
Building a static component library
To build a static version:
gulp build
This will generate static a static site component library (/assets
, /components
and /docs
) AND toolkit (/src
).