First off, thank you for taking the time to contribute to the Stacks ecosystem!
# Clone the repository
git clone https://github.com/stacksjs/analytics.git
cd analytics
# Install dependencies
bun install
# Run tests
bun test
# Run linter
bun run lint
# Type check
bun run typecheck
# Build
bun run build- Fork the repository and create your branch from
main - Make your changes and ensure tests pass
- Update documentation if needed
- Submit a pull request
We use semantic commit messages. Your commit messages should follow this format:
type(scope): description
[optional body]
Types: feat, fix, docs, style, refactor, test, chore
- Use TypeScript
- Follow the existing code style (enforced by ESLint)
- Write tests for new features
- Keep changes focused and atomic
Feel free to open an issue or reach out on Discord.