Packages

@nrwl/workspace

19.8.4 · 4 Oct 2024MIT633.3k / weekRepositoryHomepagenpmAtom feed

Your version

13.0.0

major20 Oct 2021Where it was published

13.10.6 is the newest release of 13.x.

In short

2 breaking2 removed12 new14 fixed2 internal

  • Breaking

    angular: All the utilities located at @nrwl/angular/src/utils/ast-utils were removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilities runSchematic and runExternalSchematic located in @nrwl/angular/src/utils/testing were 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 onlyAddFiles and onlyEmptyRoot from the ngrx generator were removed, skipImport and minimal should be used instead.

  • Removed

    angular: remove deprecated options from the ngrx generator

  • Removed

    angular: remove deprecated utilities related to the angular devkit

Release note

The section about @nrwl/workspace of a note shared by several packages.

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 baseHref in 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-utils were removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilities runSchematic and runExternalSchematic located in @nrwl/angular/src/utils/testing were 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 onlyAddFiles and onlyEmptyRoot from the ngrx generator were removed,
    skipImport and minimal should be used instead.

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.