npm / @nestjs/schematics
@nestjs/schematics
What changed in @nestjs/schematics 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking1 new APIs and options6 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@nestjs/schematics 1211 changes
Breaking changes 1
Prefers the module file whose name matches the element name.
New APIs and options 1
Libraries can now be generated without a prefix.
Tooling 6
CLI config file names now align with the CLI.
ESM Vitest configs use native tsconfig paths.
Pins LF line endings via .gitattributes.
Formatting now honors the project Prettier config.
E2e tests now run for every CommonJS app.
Generated ESM e2e tests now resolve supertest types.
Fixes and other changes 3
Monorepo updates now target the CLI config file that is in use.
Avoids duplicating a shorthand metadata property.
Comments are preserved when JSON files are updated.