-
bun
: Bun is a fast JavaScript runtime, package manager, bundler, and test runner.To install with Homebrew
-
biome
: Biome format, lint, and more in a fraction of a second. -
vitest
: Vitest is a Vite-native testing framework (Next Generation Testing Framework)
Install repository dependencies.
# Bun
bun install
# NPM
npm ci
Note: Husky is included in prepare
NPM script and is now part of NPM lifecycle.
To format files.
Note: JS and TS files are handled by Biome.
# Bun
bun run prettier
bun run lint
# NPM
npm run prettier
npm run lint
Tool used to verify code consistency: format, lint, check links, find vulnerabilities, check typography.
# Bun
bun run mega-linter
# NPM
npm run mega-linter
In this repository, all commits must be conventional commits.
To help you write commits in a conventional way, you can use goji.
goji help you write conventional commits with gitmoji support.
To update version, you shall use this tool.
To check for vulnerabilities and deprecated NPM packages.
# NPM
npm audit
To update interactively to latest versions.
Note: This command must be run in services.
# Bun
bun run update-dependencies
# NPM
npm run update-dependencies
# Show help
npx -y @cegid/npm-version-manager@latest bump <bump-type> --help
# Bump version on all packages (repository included)
npx -y @cegid/npm-version-manager@latest bump <bump-type> --all
# Equivalent to
npx -y @cegid/npm-version-manager@latest bump <bump-type> --packages --repository
# Note: It uses remote version as reference by default
# Bump version on all packages (repository included) using current version as reference
npx -y @cegid/npm-version-manager@latest bump <bump-type> --all --from-current
# Bump version on all packages (repository excluded)
npx -y @cegid/npm-version-manager@latest bump <bump-type> --packages
# Bump version on repository
npx -y @cegid/npm-version-manager@latest bump <bump-type> --repository
# Bump version on all packages (repository included) if updated
npx -y @cegid/npm-version-manager@latest bump <bump-type> --all --updated
# Equivalent to
npx -y @cegid/npm-version-manager@latest bump <bump-type> --packages --repository --updated
# Bump version on all packages (repository excluded) if updated
npx -y @cegid/npm-version-manager@latest bump <bump-type> --packages --updated
# Bump version on repository if updated
npx -y @cegid/npm-version-manager@latest bump <bump-type> --repository --updated
# Show help
npx -y @cegid/npm-version-manager@latest generate --help