Thank you for your interest in contributing to Painless!
- Node.js 18+
- pnpm 9+
# Clone the repository
git clone https://github.com/wmzy/painless.git
cd painless
# Install dependencies
pnpm install
# Start development server
pnpm startWe use ESLint and Prettier for code formatting:
# Check for issues
pnpm lint
# Auto-fix issues
pnpm lint --fix# Run tests
pnpm test
# Run tests in watch mode
pnpm test:watch- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
We follow Conventional Commits:
<type>(<scope>): <description>
[optional body]
[optional footer]
Types:
feat: New featurefix: Bug fixdocs: Documentationstyle: Code stylerefactor: Code refactoringtest: Testingchore: Maintenance
painless/
├── src/
│ ├── components/ # React components
│ ├── views/ # Page components
│ ├── services/ # API & data fetching
│ ├── types/ # TypeScript types
│ └── index.tsx # Entry point
├── public/ # Static assets
└── package.json
- Open an issue for bugs or feature requests
- Join our community for discussions