@nestjs/schematics is a toolset for generating Nest architecture elements, based on Angular schematics. It is useful for scaffolding and maintaining Nest applications, helping developers initialize and structure projects using established patterns.
Project status
- Actively maintained, with an upstream push today and updates as recently as October 28, 2026.
- Updates have been frequent: multiple in September and October, including several within days of each other in late October.
AI summary generated
Recent updates
12.0.13
Release 12.0.13 adds a minimal, one-source-file application template and updates generated AGENTS.md guidance for NestJS documentation and packages. It also improves monorepo lint and TypeScript project coverage; the code includes additional schematic behavior changes that are not called out in the release notes.
Features12.0.12
Release 12.0.12 fixes resource generation so installation of @nestjs/mapped-types uses the project package manager, and revises the @nestjs/observe upgrade prompt. The code also changes package-manager detection when no lockfile is present, updates development tooling, and adjusts CI configuration.
Features12.0.11
NestJS Schematics 12.0.11 updates upgrade guidance and generated projects for Nest 12, TypeScript 6, Jest, Babel 8, and Rspack. It also upgrades supported Nest companion packages and adds production-observability guidance to generated application templates.
Features12.0.10
Release 12.0.10 updates NestJS schematics guidance for connecting an app to NestJS Observe. It changes the application and upgrade flows to point users to running `npx @nestjs/observe link`, and updates the related README and upgrade prompt text.
Features12.0.9
Release 12.0.9 updates the Observe integration templates and upgrade step to prefer OBSERVE_APP_KEY and OBSERVE_APP_SECRET from the environment, while still falling back to placeholders when they are missing. It also bumps the oxlint dependency version and updates related tests for generated project configuration.
12.0.8
Release 12.0.8 updates the schematics templates for application observability when the Observe option is enabled, changing the README guidance to use npx @nestjs/observe link and load credentials from .env. It also bumps @angular-devkit/core and @angular-devkit/schematics to 22.2.3 and updates the package version and lockfile accordingly.
12.0.7
Release 12.0.7 updates the schematics templates and internal utilities to better align with tooling expectations, including ESM Vitest path alias support, consistent line endings, and improved formatting behavior. It also refines how JSON updates are written (to preserve comments) and how CLI configuration files are detected and updated.
Features12.0.6
Release 12.0.6 contains fixes to the Nest schematics generation flow focused on library option validation, e2e test template correctness, and monorepo test script composition. It also updates tooling dependencies, including the Angular DevKit monorepo version.
Features12.0.5
Release 12.0.5 applies a fix to the sub-app e2e script rewriting logic, aiming to only rewrite the root test directory paths when moving/adding apps in a monorepo. The diff also updates dev tooling dependency versions (oxlint) and expands test coverage for the new script-rewrite behavior.
12.0.4
Release 12.0.4 updates the schematics that scaffold and upgrade projects to use a newer version of @nestjs/observe. The release notes only mention the @nestjs/observe bump, but the diff also shows additional devDependency updates and a lockfile regeneration.
12.0.3
Release 12.0.3 makes two documented dependency updates, bumping Vite to v8 and Vitest to 5.0.1. The code diff also shows additional changes to the repository’s application README templates related to observability instrumentation, which are not mentioned in the release notes.
12.0.2
Release 12.0.2 updates the Nest schematics templates and workspace logic around config discovery and TypeScript compiler settings. It also bumps Angular DevKit dependencies to 22.1.8 and improves monorepo/ESM path alias and rootDir behavior for generated projects.
12.0.1
Release 12.0.1 primarily adjusts TypeScript AST parsing to avoid runtime imports of the `ScriptTarget` enum, and bumps Angular devkit packages. It also updates Node engine constraints and CI Node image to match the Angular schematics toolchain requirements.
12.0.0
Release 12.0.0 migrates @nestjs/schematics to native ESM and changes how generated projects are scaffolded, with ESM apps now generated by default and new schematics added for upgrading v11 to v12. It also adds observability scaffolding via @nestjs/observe when opted in, and updates test tooling, linting, and module import generation to be ESM-aware.
BreakingFeatures11.1.0
Release 11.1.0 introduces an opt-in `format` option across multiple Nest schematics, enabling formatting of generated files using Prettier (when available). The code changes also include several dependency upgrades and a new optional peer dependency on `prettier`, but these are not mentioned in the release notes.
Features11.0.10
Release 11.0.10 primarily updates the schematics templates and dependency set. Documented changes include adding an afterEach hook to call app.close() in the generated e2e test template, plus dependency bumps for Angular devkit packages and comment-json.
11.0.9
Release 11.0.9 updates the eslint configuration used by @nestjs/schematics to improve cross-platform formatting behavior by adjusting Prettier end-of-line handling. In addition, the release includes dependency bumps for eslint tooling and TypeScript ESLint packages. Release notes only call out the prettier endOfLine change.
11.0.8
Release 11.0.8 includes small template and test-related fixes, plus a refactor to unify Jest moduleNameMapper generation. It also bumps the Angular DevKit toolchain to 19.2.17, alongside broader dependency and CI environment updates not fully described in the release notes.
11.0.7
Release 11.0.7 primarily reverts a previous dependency change, restoring the Angular DevKit packages to the earlier major line. The diff shows only package metadata and lockfile changes, no application or schematic source code changes.
Breaking11.0.6
Release 11.0.6 primarily updates the Angular CLI schematics tooling to Angular DevKit v20 and adjusts the generated TS project template to improve ESM interoperability. The diff also shows several additional dependency and CI/runtime environment bumps that are not mentioned in the release notes.
Features