ng-checkup

v2.4.1
io.github.stefankuburovic/ng-checkup Checked 9 hours ago Published 10 hours ago

Angular and AngularJS modernization checkup: findings, grades and the upgrade plan of a workspace.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

checkup

Grades an Angular codebase in twelve areas (Angular version, deprecated APIs, third-party compatibility, zoneless readiness, components, state, architecture, testing, type safety, security, circular dependencies, bundle size), lists missing translation keys, accessibility defects and code that breaks server rendering beside them, and returns the report as Markdown: score, grade per area, every finding with its files. Start here for "how modern is this app" or "what should we fix first".

ParameterTypeDescription
onlinebooleanAsk the npm registry for the latest Angular and osv.dev for vulnerabilities. Default false: offline is faster and needs no network.
onlyarrayKeep only these areas.
pathstringFolder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder.
projectstringOne project of a multi-project workspace, by its name in angular.json or project.json.
sincestringA git ref (origin/main): keep only findings in files changed since its merge base with HEAD, as a pull request would.

findings

Lists findings as JSON (area, severity, message, detail, files with lines), filtered by area, minimum severity or file. Use it for "what is wrong with src/app/x.component.ts" (file), "what blocks the next upgrade" (severity high) or "which subscriptions leak" (area components).

ParameterTypeDescription
checkstringOnly this area.
filestringOnly findings that name this file, relative to path.
onlinebooleanAs for checkup. Default false.
pathstringFolder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder.
severitystringOnly findings at least this severe.

upgrade_plan

The step-by-step plan from the installed Angular to the latest major, one major at a time, with what to fix before each step and the ng update commands, as Markdown; for AngularJS code, the migration plan instead.

ParameterTypeDescription
onlinebooleanAsk the npm registry for the latest Angular. Default false.
pathstringFolder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder.