How to Contribute
Thanks for your interest in contributing to jstatico!
Getting Started
- Fork the repository on GitHub
- Clone your fork locally
- Install dependencies with Bun
git clone https://github.com/YOUR_USERNAME/jstatico.git
cd jstatico
bun installDevelopment
Run tests:
bun testType check:
bun run typecheckBuild the test site:
bun run src/cli.ts test/src test/outputTest Structure
Tests compare output against test/reference/:
test/
├── src/ # Test input site
├── reference/ # Expected output
└── jstatico.test.tsSubmitting Changes
- Create a feature branch
- Make your changes
- Run tests to ensure nothing broke
- Submit a pull request
Code Style
- TypeScript with strict mode
- Functional style preferred
- Keep it simple - avoid over-abstraction
Questions?
Open an issue on GitHub.