Packages

@nx/js

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

Your version

20.4.0

27 Jan 2025Where it was published

20.9.0 is the newest release of 20.x.

In short

1 removed1 security10 new32 fixed2 internal

  • Removed

    js: remove nx property from generated package.json files

  • Security

    node: upgrade express to v4.21.2 to address security vulnerabilities

Release note

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

Features

  • core: allow tasks to run with a substring of project name

  • core: add support for skipping remote cache

  • core: Add ESM support for Eslint config file

  • core: handle existing plugins failed with imported project

  • core: support reading projects under new pnpm workspaces entry + skip writing empty nx property to pacakge.json for non-root projects

  • core: add pre and post run apis

  • js: simplify generated tsconfig.base.json compiler options in ts solution setup

  • js: infer build-deps and watch-deps targets for incremental builds

  • Removed

    js: remove nx property from generated package.json files

  • misc: use @swc/jest instead of ts-jest for the ts solution setup

  • Security

    node: upgrade express to v4.21.2 to address security vulnerabilities

  • release: allow invalid conventional commits to be considered via custom config

Fixes

  • core: daemon spinner should show text

  • core: update nx cloud bundle install directory logic

  • core: avoid launching default plugins twice

  • core: support subpath exports when constructing the project graph

  • core: update package script logic to handle cli tool name as command

  • core: show better project graph errors

  • core: check only for watcher connections during inactivity shutdown

  • core: do not warn about custom tasks runners when explicitly usi…

  • core: update yarn-parser to handle yarn v4 syntax for root workspace package

  • core: ensure that nx is backwards compatible with older versions of Nx Cloud

  • core: support subpath exports when constructing the project graph"

  • js: not generate tsconfig if already exists

  • js: only add typescript project references for explicit dependencies in sync generator

  • js: infer outputs correctly when both rootDir and outDir are set for tsconfig

  • js: do not set project references to non-existing tsconfig files in sync generator

  • js: ensure js libraries' build produce esm output in ts solution setup

  • js: avoid nested paths in workspaces because they can lead to future issues

  • js: Update typescript plugin check for buildable projects

  • js: update detection of ts solution setup

  • js: generate js libs with exports in package.json and ensure esm output when using rollup bundler

  • js: do not generate explicit vitest task config for a js library unless adding plugin is disabled

  • js: improve error handling during SWC compilation

  • js: non-buildable js libs specify type=module

  • js: sort package.json fields by idiomatic order

  • js: do not generate package.json file for non-buildable js libraries in non-ts solution setup

  • js: ignore bundler config files correctly in eslint config when using vitest in js library generator

  • misc: ensure all project generators add project to workspaces config

  • misc: ensure exports are generated for several lib generators in ts solution setup

  • misc: generate module and moduleResolution in base tsconfig based on cnw preset

  • misc: update e2e config generators to align with new TS solution setup

  • misc: generate remix libs correctly and install correct @types/react version for react libs

  • release: invalid config path in hint for using skipLockFileUpdate

  • release: ensure git push option is always applied

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.