2
2
mirror of https://github.com/Thream/website.git synced 2024-07-12 21:30:11 +02:00
website/CONTRIBUTING.md

3.5 KiB

💡 Contributing

Thanks a lot for your interest in contributing to Thream/website! 🎉

Code of Conduct

Thream has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.

Open Development

All work on Thream/website happens directly on GitHub. Both core team members and external contributors send pull requests which go through the same review process.

Types of contributions

  • Reporting a bug.
  • Suggest a new feature idea.
  • Correct spelling errors, improvements or additions to documentation files.
  • Improve structure/format/performance/refactor/tests of the code.
  • Add translations.

Pull Requests

  • Please first discuss the change you wish to make via issues.

  • Ensure your code respect linting.

  • Make sure your code passes the tests.

If you're adding new features to Thream/website, please include tests.

Commits

The commit message guidelines respect @commitlint/config-conventional and Semantic Versioning for releases.

Types

Types define which kind of changes you made to the project.

Types Description
feat A new feature.
fix A bug fix.
docs Documentation only changes.
style Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
refactor A code change that neither fixes a bug nor adds a feature.
perf A code change that improves performance.
test Adding missing tests or correcting existing tests.
build Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm).
ci Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs).
chore Other changes that don't modify src or test files.
revert Reverts a previous commit.

Scopes

Scopes define what part of the code changed.

Examples

git commit -m "feat(components): add Button"
git commit -m "docs(readme): update installation process"

Add a translation

Reference issue

Feel free to contribute to Thream and add new languages, we would appreciate your help!

To add a new language:

  • npm install
  • npm run generate
  • Start editing JSON files with the translation in locales/{{locale}} (e.g: locales/en)