Thanks for your interest in contributing to LDE! This guide will help you get started.
git clone https://github.com/ldelements/lde.git
cd lde
npm installLDE is an Nx monorepo. Use Nx to run tasks for individual packages or the entire workspace:
npx nx build <package> # build a single package
npx nx test <package> # run tests for a single package (Vitest)
npx nx lint <package> # lint a single package
npx nx typecheck <package> # type-check a single package
npx nx run-many -t build # build everything
npx nx run-many -t test # test everythingTo run tasks only for packages affected by your changes:
npx nx affected -t lint test typecheck build- TypeScript in strict mode with ESNext modules.
- ESLint and Prettier run automatically via pre-commit hooks (lint-staged + Husky). You normally don’t need to run them manually.
- Conventional commits — prefix your commit messages with a type (
feat:,fix:,chore:, etc.). This drives automated versioning.
- Fork the repository and create a feature branch from
main. - Make your changes, ensuring
npx nx affected -t lint test typecheck buildpasses. - Commit using conventional commits.
- Open a pull request against
main.
By contributing you agree that your contributions will be licensed under the MIT License.