unstale

npm / ng-packagr

ng-packagr

What changed in ng-packagr 21 to 22, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

3 breaking4 behavior and defaults2 tooling10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

ng-packagr 2217 changes

Breaking changes 3

  • The peer dependency is updated to support Angular v22.

    22.0.0release notes

  • Node.js 20 is no longer supported; the minimum supported versions are v22.22.0 and v24.13.1, and Node.js 26 is supported.

    22.0.0release notes

  • TypeScript versions older than 6.0 are no longer supported, while TypeScript 6 is supported as a peer dependency.

    22.0.0release notes

Behavior and default changes 3

  • Reverts parallel entry point scheduling.

    22.2.4release notes

  • Legal and annotation comments are preserved while other comments are removed from JavaScript bundles.

    22.2.0release notes

  • Supported browsers are transformed to targets using the lowest version.

    22.2.0release notes

Tooling 2

  • Spinners are disabled during parallel entry-point builds.

    22.2.2release notes

  • Rolldown replaces Rollup in ng-packagr.

    22.2.0release notes

Fixes and other changes 9

ng-packagr 212 changes

Behavior and default changes 1

  • Generated package.json files now default type to module.

    21.2.2release notes

Fixes and other changes 1

  • Rollup now resolves imports with TypeScript extensions.

    21.2.3release notes