Thank you for your interest in contributing to odesli.js! This document provides guidelines and information for contributors.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
- Use the GitHub issue tracker
- Include a clear and descriptive title
- Provide steps to reproduce the issue
- Include error messages and stack traces
- Specify your environment (Node.js version, OS, etc.)
- Use the GitHub issue tracker
- Describe the enhancement clearly
- Explain why this enhancement would be useful
- Include examples if applicable
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run the tests (
npm test) - Run the linter (
npm run lint) - Run the formatter (
npm run format) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
-
Clone the repository:
git clone https://github.com/MattrAus/odesli.js.git cd odesli.js -
Install dependencies:
npm install
-
Run tests:
npm test -
Run linting:
npm run lint
-
Format code:
npm run format
- Follow the existing code style
- Use ESLint and Prettier configurations
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- Write tests for new features
- Ensure all tests pass before submitting PR
- Use descriptive test names
- Mock external dependencies
- Update README.md if adding new features
- Add JSDoc comments for new functions
- Update TypeScript definitions if needed
- Add examples for new functionality
- Update version in
package.json - Update
CHANGELOG.md - Create a GitHub release
- The CI/CD pipeline will automatically publish to npm
If you have questions about contributing, please open an issue or contact the maintainers.
Thank you for contributing to odesli.js! 🎵