Thanks for your interest in contributing to Dazy! This guide will help you get started.
-
Prerequisites
- Bun 1.0+
- Docker daemon running
- Git
-
Clone and Install
git clone https://github.com/yourusername/dazy.git cd dazy bun install -
Run in Development
bun run dev
dazy/
├── src/
│ ├── cli/ # CLI commands and entry point
│ ├── core/ # Core Docker client logic
│ ├── ui/ # UI components (tables, lists)
│ ├── utils/ # Utility functions
│ └── types/ # TypeScript type definitions
├── tests/ # Test files
└── dist/ # Build output
-
Create a branch
git checkout -b feature/your-feature-name
-
Make your changes
- Write clean, readable code
- Follow existing code style
- Add tests for new features
- Update documentation
-
Test your changes
bun test bun run dev -
Commit your changes
git add . git commit -m "feat: add your feature description"
-
Push and create PR
git push origin feature/your-feature-name
- Use TypeScript for all code
- Follow existing naming conventions
- Use async/await for asynchronous code
- Add JSDoc comments for public APIs
- Keep functions small and focused
- Write tests for new features
- Ensure all tests pass before submitting PR
- Run
bun testto execute tests
Follow conventional commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changestest:- Test changesrefactor:- Code refactoringchore:- Maintenance tasks
Open an issue or discussion on GitHub!