nx
24.0.6 · 10 Nov 2026MIT15.6M / weekRepositoryHomepagenpmAtom feed
666 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 13.x
13.4.2
2 Jan 2022- Security
react: SVGR and http-server version updates for security fixes
core: assert valid workspace config should be a warning
core: boolean args to custom presets are passed correctly
Bug Fixes
core: assert valid workspace config should be a warning
core: boolean args to custom presets are passed correctly
Features
- Security
react: SVGR and http-server version updates for security fixes
web: import TS plugin only if SWC is not used
13.4.0
23 Dec 2021core: nested node_modules packages shouldn't be inferred as nx projects
misc: add -W to yarn add to fix the error in yarn monorepos
misc: format command should handle workspace without workspace.json
Bug Fixes
core: nested node_modules packages shouldn't be inferred as nx projects
misc: add -W to yarn add to fix the error in yarn monorepos
misc: format command should handle workspace without workspace.json
Features
core: add the ability to remove edges in the graph
core: introduce chrome profiling
13.3.12
21 Dec 2021angular: remove unnecessary extension from scam component import
core: allow tsConfig without compilerOptions to work
Bug Fixes
angular: remove unnecessary extension from scam component import
core: add default export for tasksRunnerV2 (#8088) (46cd008), closes #8085
core: allow tsConfig without compilerOptions to work
core: default project name should be inferred by cwd on windows
core: exclude nxWorkspaceRoot from args when calling custom preset
core: forward args to target dependencies with the same executor as the target that is being run
core: gracefully handle the case where no root path mappings are defined
core: improve migration handling of parallel tasksRunnerOptions
core: misc. ng cli compat layer fixes
core: pass the list of ingored files to parcel watcher
core: print a warning instead of an error duplicate names in package.json
core: project inference should work if name not specified by package.json
core: properly pass args to custom preset
core: properly set workspace root when using custom preset
core: should infer whole projects if workspace.json is missing
core: use absolute paths when resolving package.json
linter: improve error message when attempting to use deprecated tslint
misc: fix issues with npm preset
react-native: deprecation warning because of rmDirSync (#7772) (50b1bc6), closes #7739
Features
core: Add support for versioning in the preset package name
core: add ts preset to create-nx-workspace
core: preset now supports external generators when creating a workspace.
core: skip-nx-cache should apply to all nx subprocesses
core: support for extending project inference capabilities
13.3.6
15 Dec 2021angular: set public host for both projects
core: default project name should be inferred by cwd on windows
core: properly set workspace root when using custom preset
Bug Fixes
angular: set public host for both projects
core: default project name should be inferred by cwd on windows
core: properly set workspace root when using custom preset
core: use absolute paths when resolving package.json
nextjs: incorrectly named nested page component files
Features
core: Add support for versioning in the preset package name
13.3.5
15 Dec 202113.3.4
14 Dec 2021angular: scam component default type as lowercase
core: properly pass args to custom preset
13.3.2
14 Dec 2021angular: handle scam components when generating storybook stories
angular: remove unnecessary extension from scam component import
core: allow tsConfig without compilerOptions to work
Bug Fixes
angular: handle scam components when generating storybook stories
angular: remove unnecessary extension from scam component import
core: allow tsConfig without compilerOptions to work
core: misc. ng cli compat layer fixes
core: project inference should work if name not specified by package.json
nextjs: make flat option configurable for page generator
13.3.0
9 Dec 2021- Deprecated
core: deprecate --max-parallel and use --paralle=N instead
angular: remove numbers from the project name
angular: remove unnecessary addition of module file extensions
Bug Fixes
angular: remove numbers from the project name
angular: remove unnecessary addition of module file extensions
core: add better error message for invalid tools tsconfig
core: consider available cpus when deciding whether to use workers to build the project graph
core: correctly resolve project names when constructing deps using package.json files
core: daemon process should propagate file watcher errors to client
core: daemon should copy file maps
core: daemon uses lock file hash to detect version changes
core: fix adding node_modules to path on windows when running migrations
core: fix error message on formatFiles schematic and generator
core: fix formatFiles schematic to write changes to correct workspace config file
core: fix parsing for --parallel
core: fix stack overflow when using standalone configs with 600+ projects
core: fixing move generator to update all import path
core: forward args to target dependencies with the same target name as the target that is being run
core: git hashing fails when trying to hash a dir
core: global nx commands throws when not in nx workspace
core: handle errors in the deamon when recomputing file map incrementally
core: handle optional tasksRunnerOptions when checking whether to use the daemon
core: log error stack trace if present
core: ngcli adapter should find changed matching files correctly
core: NODE_PATH should include both workspace and tmp folders
core: package.json should not override project.json during generation of new js apps
core: prettier should be marked as optional (#7655) (5afaad1), closes #7421
core: prevent overwriting already added tasks when adding target dependencies tasks
core: prevent overwriting nx.json options to undefined
core: prevent processing migrations for transitive dependencies
core: propagate errors when daemon isn't able to start
core: remove generator should work w/o workspace.json
core: small fixes for issue discovered during migration
core: support target names with colons
core: use pnpm exec instead of pnpx
core: workspaces with custom layouts should be scanned correctly when not using git
core: write a terminal output file when using the pipe capture method
core: wrong migration docs link
core: wrong migration docs link again
misc: fix dep-graph HTML generation
misc: fix list plugins to handle generators/executors collections that are not exported
misc: ng-add fails when prettierignore not present
misc: prevent formatting root config files twice
repo: handle circular deps between workspace and cli/jest
Features
core: add an option to nx.json to enable project graph creation in the background
- Deprecated
core: deprecate --max-parallel and use --paralle=N instead
core: include community plugins when running
nx reportcore: merge package json scripts with targets list when building dependency graph
core: new nx starter
core: optional workspace.json file
core: print out directly simple create-nx-workspace exceptions
core: rework the tasks runner to use life cycle for printing messages
core: show version number when generating a new workspace
Reverts
13.2.4
7 Dec 2021core: prevent overwriting nx.json options to undefined
13.2.3
27 Nov 2021angular: do not require v8-compile-cache when it is an angular workspace
angular: install @angular/cli if not installed
core: git hashing fails when trying to hash a dir
13.2.2
22 Nov 2021core: fix adding node_modules to path on windows when running migrations
13.2.0
18 Nov 2021- Deprecated
core: deprecate --max-parallel and use --paralle=N instead
angular: remove unnecessary addition of module file extensions
core: add better error message for invalid tools tsconfig
Bug Fixes
angular: remove unnecessary addition of module file extensions
core: add better error message for invalid tools tsconfig
core: consider available cpus when deciding whether to use workers to build the project graph
core: fix parsing for --parallel
core: fixing move generator to update all import path
core: NODE_PATH should include both workspace and tmp folders
core: prettier should be marked as optional (#7655) (5afaad1), closes #7421
core: prevent overwriting already added tasks when adding target dependencies tasks
core: support target names with colons
core: use pnpm exec instead of pnpx
core: workspaces with custom layouts should be scanned correctly when not using git
core: wrong migration docs link
core: wrong migration docs link again
misc: fix dep-graph HTML generation
misc: ng-add fails when prettierignore not present
misc: prevent formatting root config files twice
Features
core: add an option to nx.json to enable project graph creation in the background
- Deprecated
core: deprecate --max-parallel and use --paralle=N instead
core: include community plugins when running
nx report
13.1.6
15 Mar 2022core: fix stack overflow when using standalone configs with 600+ projects
13.1.5
24 Jan 2022angular: fix adding nx to angular workspace with cypress
13.1.4
11 Nov 2021core: consider available cpus when deciding whether to use workers to build the project graph
core: fixing move generator to update all import path
Bug Fixes
core: consider available cpus when deciding whether to use workers to build the project graph
core: fixing move generator to update all import path
core: prettier should be marked as optional (#7655) (fcaecde), closes #7421
core: wrong migration docs link
core: wrong migration docs link again
misc: fix dep-graph HTML generation
13.1.3
2 Nov 2021core: ensure cache has correct project graph version
core: improve graph version adapter error message
13.1.2
27 Oct 2021nextjs: fix migration path for enable-swc
nxdev: fix broken test setup
13.1.1
27 Oct 2021nextjs: migration to enable SWC for nextjs apps
13.1.0
27 Oct 2021core: nx daemon shouldn't cause flickering on windows
core: update generator logic so empty strings ("") for appsDir and libsDir work properly
13.0.2
22 Oct 2021core: convert-nx-executor should be executable in ng workspace
dep-graph: eyeball icon is clickable
dep-graph: fix highlighting in group by folder mode
Bug Fixes
core: convert-nx-executor should be executable in ng workspace
dep-graph: eyeball icon is clickable
dep-graph: fix highlighting in group by folder mode
storybook: storybook migration fails if targets not defined on a project
13.0.1
20 Oct 2021testing: remove outdated deprecation message when headless not set
web: remove sass migration since it is failing
13.0.0
20 Oct 2021- Removed
angular: remove deprecated options from the ngrx generator
- Removed
angular: remove deprecated utilities related to the angular devkit
- Breaking
angular: All the utilities located at
@nrwl/angular/src/utils/ast-utilswere removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilitiesrunSchematicandrunExternalSchematiclocated in@nrwl/angular/src/utils/testingwere removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed.
Bug Fixes
core: add null check to migration for config locaton swap
core: daemon watch mode gets stuck
core: ensure workspace version format is respected when making changes to it
core: fix single file outputs cache regression
core: handle failures writing to the cache
core: patch resolve logic for tsconfig paths
core: print a more descriptive error message telling users invoke decorate-angular-cli.js
core: reset daemon intenral state when cache is missing
core: throw an error when configuration is invalid/ outdated
core: update outdated graph version
core: update webpack 5 migration smartly match expected version and packages before performing removal
misc: dep-graph --file option supports absolute paths
misc: select correct projects on dep graph when in watch mode
repo: make sure NX_WORKSPACE_ROOT_PATH exists
web: remove default
baseHrefin dev-server
cleanup
- Removed
angular: remove deprecated options from the ngrx generator
- Removed
angular: remove deprecated utilities related to the angular devkit
Features
core: add exponential backoff for graph recomputation
core: clean up daemon server
core: compute all workspace files incrementally
core: consolidate nx.json and workspace.json
core: extract project graph external nodes
core: remove deprected project graph version
core: shift from 'master' to 'main' as default branch and base
core: standalone project configuration is default
core: strict mode by default for workspace libraries
core: upgrade to webpack 5
core: use worker threads to construct a project graph
Breaking changes
- Breaking
angular: All the utilities located at
@nrwl/angular/src/utils/ast-utilswere removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilitiesrunSchematicandrunExternalSchematiclocated in@nrwl/angular/src/utils/testingwere removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed. - Breaking
angular: The deprecated options
onlyAddFilesandonlyEmptyRootfrom thengrxgenerator were removed,skipImportandminimalshould be used instead.
- 12.x
12.10.1
6 Dec 2021core: fix stack overflow when using standalone configs with 600+ projects
12.10.0
8 Oct 2021- Security
core: fix vulnerabilities
angular: remove extra comma when generating application with --inlineTemplate
angular: remove relative calculation for config paths in wrapped angular devkit schematics
Bug Fixes
angular: remove extra comma when generating application with --inlineTemplate
angular: remove relative calculation for config paths in wrapped angular devkit schematics
core: apply NX_variables on top of env variables
core: changes to the daemon in order to support windows
core: convert-to-nx-project should normalize paths (a3599a5), closes #6968
core: daemon server should reinitialize file hashes on each connection
core: display dynamic prompts in angular cli
core: ensure ANSI escape codes are stripped in git-hasher process outputs
core: ensure daemon server perf logging instantiated only once
core: fix defaulting object properties to empty {}
core: fix error when tsconfig.base.json is invalid json
- Security
core: fix vulnerabilities
core: git-hasher checkForDeletedFiles will now hard error
core: gracefully handle errors when writing the latest output hash cache files (#6959) (ae7361c), closes #6957
core: handle empty root path in angular.json
core: read v2 workspace format in converted nx generators (8f9da7c), closes #6452
core: resolve nested files using tsConfig paths that have similar names (305813e), closes #6672
core: simplify the way angular devkit migrations run
core: support hidden files in assets
repo: fix yarn command in PR instructions
web: remove default value of
baseHref(#6994) (2bcc552), closes #5079web: remove obsolete options for terser in webpack 5 mode (#6956) (11cc599), closes #6953
Features
core: add examples and links to nx.dev when using --help
core: daemon supports incremental file hashing
core: obey git's init.defaultBranch when initializing nx.json
core: parallelize cache restoration
misc: add --open option for dep-graph command
misc: add dep graph search depth (#6933) (ecf3244), closes #5101
nest): feat(nest: add standalone config flag to nest library generator
react: add migration to replace deprecated node-sass with sass
repo: add logs to documentation generation in CI
12.9.0
7 Sep 2021core: hash npm projects based on version
core: npmrc should be obeyed during nx migrate
Bug Fixes
core: configFilePath included in hash (#6881) (a656959), closes #6880
core: hash npm projects based on version
core: npmrc should be obeyed during nx migrate
core: use defaultConfiguration in run-many and affected when no configuration is specified
core: use tao generate for angular devkit workspace-schematics
repo: fix error in contributing docs
testing): fix(testing: support for typescript jest configs (#6920) (25519a9), closes #5394
Features
core: add react native to main repo
misc: add x-type to app and lib generators
12.8.0
25 Aug 2021core: close webpack compiler when build complete
Bug Fixes
core: always use environment variable for cache directory (#6746) (eaa0287), closes #6629
core: close webpack compiler when build complete
core: fix --directory alias conflict (#6596) (295b8d7), closes #6571
core: fix env for batch mode
core: fix reading project config when nx.json doesn't have projects
core: Fix removal of terminalOutputs in cache
core: fix validation of string length
core: parse aliases in target configuration and coerce aliased options
core: remove .eslintrc double extends update on move
core: skip caching output properties missing in options and arguments
core: updateWorkspaceConfiguration does not respect extends
gatsby: remove npm_config_legacy_peer_deps
misc: fix adding @nrwl/workspace to projects without prettier
misc: improve alignment and spacing for mobile view
nextjs: remove styled-jsx/babel from .babelrc as next/babel has it already built-in
repo: fix release to not use deprecated github api
repo: fix release to properly generate changelog
repo: fix release to update package.json version without release-it
repo: skip package manager detection tests for other package managers
testing: fix remove typescript plugin migration when project has no targets
testing: remove webpack dependency since it is causing issues with MFE
Features
core: add an ability to extend nx.json config
core: add default path argument for
readNxJsoncore: detect package manager used to invoke create-nx-(plugin|workspace)
misc: add generator for simple npm-package
misc: remove ts-node, tslib, and dotenv from empty workspace package.json
misc: simplify npm scripts generated
testing: remove cypress typescript preprocessor
Reverts
12.7.2
17 Aug 2021core: close webpack compiler when build complete
core: fix env for batch mode
core: Fix removal of terminalOutputs in cache
Bug Fixes
core: close webpack compiler when build complete
core: fix env for batch mode
core: Fix removal of terminalOutputs in cache
core: fix validation of string length
core: parse aliases in target configuration and coerce aliased options
repo: fix release to properly generate changelog
repo: fix release to update package.json version without release-it
12.7.1
12 Aug 2021gatsby: Remove npm_config_legacy_peer_deps
gatsby: Remove npm_config_legacy_peer_deps
12.7.0
11 Aug 2021- Deprecated
core: fix --with-deps arg support and deprecate its usage
core: add better option validation
Bug Fixes
core: add better option validation
core: apply verbose flag to combined options if the schema allows it (#6593) (ffcd283), closes #6520 #4160
core: default run-many to use provided projects order
core: define fileExist method for ts host (#6582) (1c19db5), closes #6500
core: do not override process.env with variables in dotenv files
core: ensure cache pathMappings always exist
core: ensure to only passthrough verbose if isVerbose is true (#6607) (f7aeb99), closes #6606
- Deprecated
core: fix --with-deps arg support and deprecate its usage
core: fix prompt support for enum definitions
core: fix reading nx.json without projects property
core: flush changes using the tree write file options
core: target project locator should handle tsconfig paths fully
core: warn for project-graph error while it is experimental
misc: allow run-commands to accept readyWhen for a single command
misc: fix affected:dep-graph file output
misc: fix moving projects with standalone configuration
misc: handle moving to a subfolder which results in the same project name and normalize import path
misc: make generated schemas compliant with json schema spec
misc: make workspace tsc executor to handle dependencies
misc: minor fixes in readme files
misc: NxCloud activation link is not displayed
misc: read settings in .editorconfig when formatting files in generators
testing: remove installation of babel packages for jest projects
web: remove unnecessary packages from being installed with @nrwl/web
Features
12.6.6
10 Aug 2021core: default run-many to use provided projects order
core: fix prompt support for enum definitions
12.6.5
5 Aug 2021angular: lock version of angular-devkit to ~12.1.0
core: fix reading nx.json without projects property
misc: NxCloud activation link is not displayed
Bug Fixes
angular: lock version of angular-devkit to ~12.1.0
core: fix reading nx.json without projects property
misc: NxCloud activation link is not displayed
misc: read settings in .editorconfig when formatting files in generators
testing: handle migrating base jest config without projects
12.6.4
4 Aug 2021core: add better option validation
Bug Fixes
core: add better option validation
core: apply verbose flag to combined options if the schema allows it (#6593) (463b9c2), closes #6520 #4160
core: define fileExist method for ts host (#6582) (9ddc072), closes #6500
core: flush changes using the tree write file options
core: target project locator should handle tsconfig paths fully
core: warn for project-graph error while it is experimental
misc: make generated schemas compliant with json schema spec
testing: remove installation of babel packages for jest projects
web: remove unnecessary packages from being installed with @nrwl/web
12.6.3
29 Jul 2021core: do not override process.env with variables in dotenv files
misc: allow run-commands to accept readyWhen for a single command
misc: fix moving projects with standalone configuration
Bug Fixes
core: do not override process.env with variables in dotenv files
misc: allow run-commands to accept readyWhen for a single command
misc: fix moving projects with standalone configuration
misc: handle moving to a subfolder which results in the same project name and normalize import path
Features
core: updated dotenv and switched to import 'dotenv/config'
12.6.2
23 Jul 202112.6.0
22 Jul 2021- Breaking
core:
ProjectGraphBuilder#addDependencyis replaced withaddExplicitDependencyandaddImplicitDependency. Read the updated guide. - Breaking
core:
ProjectGraphBuilder#getProjectGraphis replaced withgetUpdatedProjectGraph. Read the updated guide. core: caching individual files
Bug Fixes
core: caching individual files
core: end tasks after cache is written
core: ensure overrides are not parsed as head and base for affected
core: fix wrong create-nx-workspace tutorial link
core: handle directories with lots of files when reading the workspace files
core: improve run-commands dx for ready-when
core: move generator should respect non-relative extends parts
core: path comparison across OS for getProjectNameFromDirPath (#6433) (18c3681), closes #6406
core: validate pattern if specified for a schema property
core: wrapped angular schematics should be able to update newly created standalone projects (#6351) (6ef8afb), closes #6342 #6342 #6353 #6354
misc: @nrwl/workspace:rm generator should work with standalone configs
misc: move generator should support project.json files
misc: remove import of webpack-dev-server
Features
core: add the target project name to the environment variables
core: improve project graph creation not to invalidate nxdeps when global config change
core: speed up ts module resolution
core: store file deps and only reanalyze changed files
core: support project and target specific env files when running a task
Breaking changes
- Breaking
core:
ProjectGraphBuilder#addDependencyis replaced withaddExplicitDependencyandaddImplicitDependency. Read the updated guide. - Breaking
core:
ProjectGraphBuilder#getProjectGraphis replaced withgetUpdatedProjectGraph. Read the updated guide.
12.5.9
21 Jul 2021core: ensure overrides are not parsed as head and base for affected
core: validate pattern if specified for a schema property
Bug Fixes
core: ensure overrides are not parsed as head and base for affected
core: validate pattern if specified for a schema property
core: wrapped angular schematics should be able to update newly created standalone projects (#6351) (6e15c69), closes #6342 #6342 #6353 #6354
misc: @nrwl/workspace:rm generator should work with standalone configs
misc: move generator should support project.json files
12.5.8
12 Jul 2021core: add @nrwl/nx-cloud to report package list
core: adjust logger to avoid errors when the passed object is not a string
core: include dependencies of projects which do not have a target
Bug Fixes
core: add @nrwl/nx-cloud to report package list
core: adjust logger to avoid errors when the passed object is not a string
core: include dependencies of projects which do not have a target
core: make sanitizePath cross-platform
core: project.json files are not being used with wrapAngularDevkitSchematic (#6276) (0c2e21f), closes #6271 #6272
core: project.json split should be remembered if all projects utilize it
core: safely handle when tasksRunnerOptions are not defined
core: update root jest config with move generator (#6313) (4fe522f), closes #6303
nextjs: wrong deprecation message for createGlobPatternsOfDependentProjects
repo: adjust the language in the readme
12.5.7
6 Jul 202112.5.6
5 Jul 2021core: error messase when missing targets
core: fix fallback for npm scripts
core: include dependencies of projects which do not have a target
Bug Fixes
core: error messase when missing targets
core: fix fallback for npm scripts
core: include dependencies of projects which do not have a target
misc: dep graph should not remove deps
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.