Thank you for your interest in contributing to datapack!
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Run tests:
npm test - Run quality checks:
npm run lintandnpm run format:check - Commit your changes
- Push to your branch and open a Pull Request
npm install
npm run build
npm test
npm run lint
npm run format:checkUse npm run coverage when changing packing, unpacking, schema inference, or checksum/encryption behavior.
Open an issue at https://github.com/nmhung1210/datapack/issues with:
- A clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Write TypeScript
- Follow existing patterns in the codebase
- Add tests for new functionality
- Code style is enforced with ESLint and Prettier:
npm run lint— report lint problems (npm run lint:fixto auto-fix)npm run format— format all files with Prettier (npm run format:checkto verify without writing)
Configuration lives in eslint.config.js.
By contributing, you agree that your contributions will be licensed under the MIT License.