Contributing Guide
Thanks for helping improve Translify.
Prerequisites
- Node.js 22+
- pnpm 10+
- Git
Setup
bash
git clone https://github.com/<your-username>/translify.git
cd translify
pnpm install
pnpm build
pnpm testDevelopment
Run a package in watch mode:
bash
pnpm --filter @ndnci/translify-core devRun tests for one package:
bash
pnpm --filter @ndnci/translify-core testRun the CLI locally:
bash
cd packages/cli
pnpm dev
node dist/index.js --helpChecks
Before opening a PR, run:
bash
pnpm lint
pnpm typecheck
pnpm testPull Requests
- Create a branch, for example
feat/my-feature - Make the change and add focused tests
- Update docs when behavior or config changes
- Use a Conventional Commit message
- Open a PR against
main
If your change affects the published CLI package, add a changeset:
bash
pnpm changesetThe full contributing guide lives in the repository at CONTRIBUTING.md.
