# What changed in @nestjs/schematics

> 11 changes in @nestjs/schematics 12 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@nestjs/schematics/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @nestjs/schematics 12

### Breaking changes

- Prefers the module file whose name matches the element name. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)

### New APIs and options

- Libraries can now be generated without a prefix. (12.0.6) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.6)

### Tooling

- CLI config file names now align with the CLI. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- ESM Vitest configs use native tsconfig paths. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- Pins LF line endings via .gitattributes. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- Formatting now honors the project Prettier config. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- E2e tests now run for every CommonJS app. (12.0.6) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.6)
- Generated ESM e2e tests now resolve supertest types. (12.0.6) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.6)

### Fixes and other changes

- Monorepo updates now target the CLI config file that is in use. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- Avoids duplicating a shorthand metadata property. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
- Comments are preserved when JSON files are updated. (12.0.7) — [release notes](https://github.com/nestjs/schematics/releases/tag/12.0.7)
