First off, thanks for taking the time to contribute! ❤️
All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions.
If you want to ask a question, we assume that you have read the available Documentation.
Before you ask a question, it is best to search for existing Issues that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
If you then still feel the need to ask a question and need clarification, we recommend the following:
- Open an Issue.
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
We will then take care of the issue as soon as possible.
Specifying valid information will help us to improve this project.
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the steps to reproduce the exact steps which reproduce the issue in as many details as possible.
- Provide specific examples to demonstrate the steps. Include copy/pasteable snippets, which you use in those examples.
- Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
- Explain which behavior you expected to see instead and why.
- Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem.
- Use a clear and descriptive title for the issue to identify the suggestion.
- Provide a step-by-step description of the suggested enhancement in as many details as possible.
- Explain why this enhancement would be useful to most users.
- Fork the project.
- Clone your fork locally.
- Create a new branch for your changes.
- Make your changes.
- Run tests to ensure nothing is broken.
- Commit your changes ensuring you follow the commit message convention.
- Push your changes to your fork.
- Open a Pull Request.
# Install dependencies
npm installnpm run build: Build the project usingtsup.npm test: Run tests usingvitest.npm run docs: Generate documentation usingtypedoc.
This project uses Conventional Commits and enforces them using commitlint and husky.
Allowed types:
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: 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 featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools and libraries such as documentation generation
Example:
feat: add support for horizontal scrolling
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.