Packages

@nx/workspace

24.0.6 · 10 Nov 2026MIT8.5M / weekRepositoryHomepagenpmAtom feed

Your version

16.8.0

6 Sep 2023Where it was published

16.10.0 is the newest release of 16.x.

In short

1 deprecated13 new33 fixed

  • Deprecated

    nextjs: Deprecate adding NX_ vars to Webpack Define

Release note

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

Bug Fixes

  • core: apply target defaults properly for executors defaults

  • core: fix ghost alias when parsing yarn lockfile

  • core: fix schema links

  • core: handle symlinks on debian for watch events

  • core: improve error handling for copy and remove

  • core: name collisions during project inference should not error out if corrected by a project.json's name

  • core: nx should not break if packages were not installed

  • core: set consistent working directory when calculating runtime hash inputs

  • core: use Date.now() everywhere for tasks start and end times to avoid negative durations

  • core: use existing version when calling "yarn set version"

  • core: ensure preinstall is only run once on repo

  • core: handle symlinks better for watch events on arch

  • core: load .env after .env.local

  • core: projects within folders that start with a . should be found

  • core: skip local yarn patches for lock file pruning

  • misc: fix import path to project name and root helper

  • core: fix wrong yarn patch key mapping

  • misc: fix normalizing e2e project name and root

  • misc: format must exclude ignored patterns

  • core: bring back setWorkspaceRoot util

  • core: do not use joinPathFragments for generating files

  • devkit: show example in deprecation message

  • core: check for lerna before parsing lockfiles to prevent errors

  • core: convert to monorepo generator should respect nested libs

  • core: Ensure when converting to monorepo standalone libs have a readable name

  • core: handle empty lines in dotenv files

  • core: keep existing name when converting project to a monorepo

  • core: load core plugins as part of loading plugins

  • core: merge implicit project dependencies only if found on new and matching projects

  • core: sort objects when hashing them instead

  • core: use correct break line char in deprecated generator message printed by the generate command

  • Deprecated

    nextjs: Deprecate adding NX_ vars to Webpack Define

  • nx: correct the message for the removal of a project that is still a dependency of other projects.

  • core: re-expose strip-source-code

Features

  • core: support prettier v3 as a formatter

  • misc: save directory and name format to nx json defaults

  • misc: remove dotenv from executors

  • misc: use helper to determine project name and root in npm-package generator

  • core: add migration script to escape $ in env

  • core: replace dotenv with dotenv-expand

  • js: remove ts implementation of ts processing

  • repo: add pm version field to issue template

  • core: ensure @nx/js plugin is installed for all JS workspaces

  • core: update TS target to ES2021

  • misc: introduce a way to set the project name/root format for all generators

  • misc: stop generating empty apps/libs/packages libs in new work…

  • misc: support new format to determine new project name and destination in move generators

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.