Development Setup
The development workflow for NDM is intentionally simple and strictly standardized. To ensure consistent builds and reliable testing, NDM only supports pnpm. Any contribution using npm, yarn, bun, or other package managers will be rejected.
Setup Instructions
-
Fork the repository
All contributions must be made through a personal fork. Direct pushes to the main repository are not allowed. -
Clone your fork
git clone https://github.com/<your-username>/ndm.git
cd ndm
- Install dependencies (pnpm only!)
pnpm install
- Link the CLI locally
This is required so the CLI behaves correctly during development.
pnpm link --global
- Run the development watcher
pnpm watch
This automatically rebuilds the CLI on file changes.
OR
- Run a manual build
pnpm build
Important Notes
Only pnpm is accepted.
Pull requests using other package managers will be declined.
Local linking is mandatory.
Without pnpm link, several CLI features will not work correctly.
Keep your fork up to date
Regularly sync your fork with the upstream repository to avoid conflicts.