Packages

@nx/js

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

Your version

24.0.0

major21 Oct 2026Where it was published

24.0.6 is the newest release of 24.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 7 changes to make.

Before you upgrade

  • Stop importing createDependencies from first-party plugins
  • Follow migration instructions; deprecated config helpers no longer configure builds
  • Replace targets using removed deprecated executors
  • Register @nx/js/typescript for typecheck; drop typecheckTargetName from framework plugins
  • Follow migration instructions; deprecated config helpers no longer configure builds
  • Stop importing createDependencies from first-party plugins

New minimums

  • Register @nx/js/typescript for typecheck; drop typecheckTargetName from framework plugins

New

  • core: let dependsOn opt out of a continuous dependency's inputs
  • core: suggest available targets and closest task id on run-one errors
  • core: keep always inputs under ultracache and scope e2e files with @nx-depends-on
  • core: include dependencies in project-selected inputs and support @nx-depends-on in Jest
  • core: make the migrate orchestrator the default for agent-driven runs

In short

3 breaking3 removed15 new1 faster34 fixed4 internal

  • Breaking

    ⚠️ misc: migrate removed config helpers with loadable stubs

  • Breaking

    ⚠️ js: framework plugins defer typecheck to @nx/js/typescript

  • Breaking

    misc: migrate removed config helpers with loadable stubs Deprecated config helpers no longer configure builds. Existing workspaces must follow the migration instructions.

  • Removed

    ⚠️ misc: remove no-op createDependencies exports from first-party plugins

  • Removed

    misc: remove deprecated executors

  • Removed

    misc: remove no-op createDependencies exports from first-party plugins

Release note

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

Features

  • Breaking

    ⚠️ angular: remove deprecated SCAM generators

  • Breaking

    ⚠️ core: remove deprecated nx watch --includeDependentProjects alias

  • core: let dependsOn opt out of a continuous dependency's inputs

  • Breaking

    ⚠️ core: deprecate executor custom hashers

  • core: suggest available targets and closest task id on run-one errors

  • core: own socket path resolution in the native crate

  • Breaking

    ⚠️ core: let tasks wait for a continuous dependency to be ready

  • core: keep always inputs under ultracache and scope e2e files with @nx-depends-on

  • core: include dependencies in project-selected inputs and support @nx-depends-on in Jest

  • core: make the migrate orchestrator the default for agent-driven runs

  • core: make stat collection a per-task opt-in

  • Breaking

    ⚠️ core: remove the legacy target-name cache fallback

  • core: select affected tasks by default

  • core: give nx migrate --run-migration the same agent flow as full runs

  • Breaking

    ⚠️ core: support ?? fallbacks in Nx tokens

  • Breaking

    ⚠️ core: finish v24 release-tag and pnpm prune cleanups

  • core: rename ultracache ignoredReads/ignoredWrites to ignoreReads/ignoreWrites

  • core: fetch ultracache configurations by default in CI

  • core: let dev servers signal readiness instead of guessing their port

  • core: say in nx show target and nx graph how ci treats a target under ultracache

  • Breaking

    ⚠️ core: remove deprecated NX_MIGRATE_SKIP_REGISTRY_FETCH env var

  • core: wait for dev servers by default, with a 10-minute readiness timeout

  • Breaking

    ⚠️ dotnet: make the inferred restore target opt-in

  • Breaking

    ⚠️ gradle: remove @nx/gradle/plugin-v1 and migrate to @nx/gradle

  • js: name script targets with a single nx-target-name comment

  • js: read script shebangs natively and watch by default

  • Breaking

    ⚠️ linter: remove deprecated setParserOptionsProject generator option

  • Breaking

    ⚠️ misc: remove no-op createDependencies exports from first-party plugins

  • misc: add rolldown plugin, node app bundler defaults and shebang script plugins

  • Breaking

    ⚠️ misc: migrate removed config helpers with loadable stubs

  • Removed

    misc: remove deprecated executors

  • misc: add dev server readiness to the remaining plugins

  • Breaking

    ⚠️ module-federation: remove nx module federation and migrate to official plugins

  • Breaking

    ⚠️ remix: remove generators and executors in v24

Fixes

  • core: drop the Node 24 ERR_USE_AFTER_CLOSE handlers

  • core: never hash continuous tasks from ultracache configurations

  • core: load the native binding once in the hash helpers

  • core: drop the redundant watch stop from daemon shutdown

  • core: replace the open package with a native URL opener (#36450, #34502)

  • Breaking

    ⚠️ core: remove the dependsOn 'self' / 'dependencies' magic-string shim

  • core: stop three specs flaking on temp workspace cleanup and process order

  • core: forward environment updates to restarting plugin workers

  • core: detect the invoking package manager before inherited user agents

  • core: only report recursive task invocations from ancestor processes

  • core: prevent daemon client wedge on failed reconnect

  • core: resolve externalDependencies deterministically when several versions are installed (#37327, #37324)

  • core: regenerate index.d.ts for the default cache size doc comment

  • core: stop install and commit prompts from hanging nx migrate agent runs

  • core: keep includeIgnored globs out of nested projects

  • core: disconnect batch workers once they report results (#37167, #37164)

  • core: run batches in waves so deferred tasks can hit the cache

  • core: show output appended to a running task in the inline TUI

  • core: support pnpm build approvals declared by custom presets and plugins

  • core: ignore pnpm store-probe temp files in the watcher and walker

  • core: retry readyWhen probes every 250 ms by default

  • core: run postinstall steps only from the workspace's nx install

  • core: handle readyWhen hosts and ports dev servers resolve at startup

  • Breaking

    ⚠️ core: keep inferred project names when project.json omits a name

  • core: run optional update migrations in the --include=optional pass only

  • core: install after migrations that only change catalog entries

  • Removed

    core: drop an empty default configuration from the task target

  • core: let processInBackground payloads fall back to v8 serialization

  • core: prevent stale cache hits when task inputs share a hash details key

  • core: show progress for nx affected on the daemon and for each nx reset step

  • core: pass release publish commands as argv instead of shell strings

  • core: hash every task an Nx Cloud agent starts

  • core: load the native binding under module.registerHooks() loaders

  • js: bump oxfmt to ^0.72.0 and keep installed formatter versions

  • Breaking

    ⚠️ js: framework plugins defer typecheck to @nx/js/typescript (#37342, #36744)

  • js: resolve swc type-check rootDir against the workspace root

  • js: validate @nx/js/typescript compiler and configName options

  • misc: add origin/ defaultBase for bitbucket when affected has no defaultBase

  • misc: stop generators from accepting targets on removed executors

  • misc: harden v24 migrations

  • module-federation: throw from removed mf stubs outside graph creation

  • release: allow filtered releases with pending version plans for other groups

  • remix: address review feedback on the v24 removal

  • repo: notify slack when the publish job does not succeed

  • repo: guard JAVA17_HOME when no JDK is installed

  • repo: stop excluding nx native binary reads from sandbox tracking

  • repo: unblock Windows and FreeBSD publish builds after @nx/maven self-build

Breaking Changes

  • Breaking

    linter: remove deprecated setParserOptionsProject generator option
    the setParserOptionsProject generator option is
    removed. Use enableTypedLinting instead. nx migrate rewrites
    generator defaults that set it, but not scripts that pass
    --setParserOptionsProject to nx g.

  • Breaking

    core: remove deprecated NX_MIGRATE_SKIP_REGISTRY_FETCH env var
    NX_MIGRATE_SKIP_REGISTRY_FETCH is removed, and nx migrate ignores it. To keep resolving versions and migration metadata
    through a package-manager install, set
    NX_MIGRATE_USE_REGISTRY_RESOLUTION=false or
    migrate.useRegistryResolution: false in nx.json.

  • Breaking

    angular: remove deprecated SCAM generators
    the @nx/angular:scam, @nx/angular:scam-directive,
    @nx/angular:scam-pipe, and @nx/angular:scam-to-standalone generators
    and their @nx/angular/generators exports are removed. Use the
    @nx/angular:component, @nx/angular:directive, or @nx/angular:pipe
    generators instead.

  • Breaking

    core: keep inferred project names when project.json omits a name
    This affects workspaces that run Nx with
    NX_ISOLATE_PLUGINS=false or NX_USE_V8_SERIALIZER=true, or that use
    the WASM build of Nx. In those workspaces, a project whose project.json
    has no name was named after its directory. It now gets the name Nx
    already gives it with default settings. That name comes from its
    package.json name, or from another plugin such as @nx/maven. For
    example, packages/foo with the package name @scope/foo changes from
    foo to @scope/foo. Update commands and configuration that use the
    old name, such as nx build foo or implicitDependencies. To keep the
    old name, set "name": "foo" in project.json.

  • Breaking

    js: framework plugins defer typecheck to @nx/js/typescript (#37342, #36744)
    @nx/js/typescript is the only tsc typecheck
    provider, in TS solution setups and outside them. @nx/rsbuild,
    @nx/remix/plugin and @nx/react/router-plugin no longer infer a
    typecheck target and drop typecheckTargetName. @nx/vite/plugin
    infers one only for Vue projects (vue-tsc). Each package's 24.0.0
    migration registers @nx/js/typescript where it's missing.

  • Breaking

    core: finish v24 release-tag and pnpm prune cleanups

  • Breaking

    core: support ?? fallbacks in Nx tokens

    • An outputs placeholder whose option is 0 or false resolves to
      that value instead of dropping the output.

    • {env.*} and ?? fallbacks in the release settings that resolve
      placeholders, such as tag patterns and commit messages, are an error
      instead of literal text. Docker versionSchemes, which @nx/docker
      resolves, are unchanged.

    • Direct-mode nx:run-commands, the default, builds the command env the
      way forked mode does. envFile references see the project's .env
      values, and an empty shell variable no longer overrides an envFile
      value. NX_LOAD_DOT_ENV_FILES and the root .env follow the task env,
      not the Nx process, except for a command in a pseudo-terminal (see
      Implementation Notes).

  • Breaking

    misc: migrate removed config helpers with loadable stubs
    Deprecated config helpers no longer configure builds.
    Existing workspaces must follow the migration instructions.

  • Breaking

    core: remove the legacy target-name cache fallback

  • Breaking

    module-federation: remove nx module federation and migrate to official plugins

  • Breaking

    core: let tasks wait for a continuous dependency to be ready

  • Deprecated

    core: deprecate executor custom hashers

  • Breaking

    misc: remove no-op createDependencies exports from first-party plugins

  • Breaking

    remix: remove generators and executors in v24

  • Breaking

    gradle: remove @nx/gradle/plugin-v1 and migrate to @nx/gradle

  • Breaking

    core: remove the dependsOn 'self' / 'dependencies' magic-string shim
    dependsOn entries with projects: 'self' or
    projects: 'dependencies' are no longer special. Run nx repair to
    rewrite them to the token form.

  • Breaking

    core: remove deprecated nx watch --includeDependentProjects alias
    nx watch --includeDependentProjects is removed. Use
    --includeDependencies.

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.