engines-gauge
align Node engine ranges
Make engines.node, your CI matrix, .nvmrc/.node-version/.tool-versions/Volta/Dockerfile and your dependencies' engine requirements agree: untested minimum versions, CI versions outside engines, deps.
- 23/week on npm
- 2★
- MIT
- v1.1.0
- Developer Tooling
npx engines-gaugeRead the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)
engines-gauge
From the README
engines.node is a promise to your users, and it drifts. CI quietly stops testing the minimum you claim. .nvmrc pins a version that engines forbids. A dependency update starts requiring Node 18.17 while your package.json still says >=16, so users on 16 get a broken install. engines-gauge reads every place a Node.js version is declared, cross-checks them, and reports each mismatch with the file, line, severity and a concrete fix.
npx engines-gauge # run in the package directory
npx engines-gauge --fail-on medium
npx engines-gauge --ignore-deps "fsevents,@esbuild/*"
npx engines-gauge --strict-minimum # CI must test the engines minimum even if it is EOLRelated packages
Developer Tooling
- commit-gauge
lint Conventional Commits
- hallume-cli
Hallume command-line tool
- monorepo-gauge
check workspace hygiene
- next-tongue
typed i18n for Next.js