First off, thank you for considering contributing to Funish Toolchains! It's people like you that make Funish Toolchains such a great tool.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
Before creating bug reports, please check the existing issues as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps which reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include screenshots if possible
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- Use a clear and descriptive title
- Provide a step-by-step description of the suggested enhancement
- Provide specific examples to demonstrate the steps
- Describe the current behavior and explain which behavior you expected to see instead
- Explain why this enhancement would be useful
- Fork the repo and create your branch from
main - If you've added code that should be tested, add tests
- If you've changed APIs, update the documentation
- Ensure the test suite passes
- Make sure your code lints
- Clone the repository
git clone https://github.com/funish/toolchains.git
cd toolchains- Install dependencies
pnpm install- Create a new branch
git checkout -b feature/your-feature-name- Make your changes and commit them using conventional commits
git commit -m "feat: add amazing feature"- Push to your fork and submit a pull request
git push origin feature/your-feature-nameWe use Conventional Commits for commit messages. This leads to more readable messages that are easy to follow when looking through the project history.
Examples:
- feat: add new feature
- fix: resolve specific issue
- docs: update documentation
- style: formatting, missing semi colons, etc
- refactor: code change that neither fixes a bug nor adds a feature
- test: adding missing tests
- chore: updating build tasks, package manager configs, etc.
- Node.js (version 16.x or higher)
- pnpm (version 8.x or higher)
# Build all packages
pnpm build
# Build specific package
pnpm --filter @funish/[package-name] build# Run all tests
pnpm test
# Run specific package tests
pnpm --filter @funish/[package-name] test# Run linting
pnpm lint
# Fix linting issues
pnpm lint:fixfunish/
├── packages/ # Individual packages
│ ├── cli/ # CLI package
│ ├── argv/ # Argument parsing
│ └── ... # Other packages
├── playground/ # Examples and tests
├── docs/ # Documentation
└── scripts/ # Build and maintenance scripts
- Please update the documentation accordingly when you make changes
- Use clear and consistent terminology
- Include examples where appropriate
- Update the TypeScript types if you change any interfaces
Feel free to open an issue with the tag question if you have any questions about contributing.
By contributing, you agree that your contributions will be licensed under the MIT License.