Packages

@nx/js

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

Your version

18.0.0

major3 Feb 2024Where it was published

18.3.5 is the newest release of 18.x.

In short

1 security13 new26 fixed

  • Security

    core: update axios to address CVE-2023-45857

Release note

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

Nx 18 introduces Project Crystal :gem:, a significant shift towards making Nx more transparent and easy to understand! Learn more here!. This is now enabled by default where avaialble and is the reason why we decided to mark it as a major version.

Note: Though this is a major version, there are no removals of previous deprecations. Any deprecations which were previously scheduled for Nx 18 are now scheduled for Nx 19 which will still be coming out around April 2024.

Features

  • core: don't clear NX_BASE or NX_HEAD

  • core: log to guide users to show details after project generation

  • core: improve nx connect success message

  • core: add support for loading .ts files using ESM

  • core: support --use-agents and --no-agents

  • core: enable project crystal by default

  • core: move distribution to beginning of generated ci workflows

  • core: add migration to disable adding plugins automatically in existing workspaces

  • core: add log lines grouping for GH Actions

  • core: add fallback flow to nx init when no plugins are detected

  • core: improve the commented dte message on ci-workflows

  • core: add e2e to ci workflows

Fixes

  • Nestjs lib generator pass skipPackageJson flag to js lib generator

  • core: remove misleading message at front of error

  • core: new generator not skipping package installation

  • core: include typescript package when calculating project hashes

  • core: do not append node_module paths in run-script executor

  • Security

    core: update axios to address CVE-2023-45857

  • core: Add missing migration from playwright

  • core: always remove cursor reset in terminal output for Windows

  • core: do not run pty in run-script when we're not TTY

  • core: target defaults should be able to apply to multiple targets with the same executor

  • core: nx build --graph file.json should work in subdirectories

  • core: Update Nx Welcome to include nx show project

  • core: handle negative patterns better when specified in pnpm-workspaces

  • core: module federation migration for project with no targets

  • core: remove the full workspace path with node_modules from the path env variable when running run-scripts

  • core: do not watch temporary vite files

  • core: target defaults from specifier should not be clobbered by name based target defaults

  • core: fix missing nxCloud error message on ci workflows

  • core: handle spaces when launching nxFork

  • js: allow inlined libs without imports

  • js: package type is module should emit esm

  • linter: remove extend of @angular-eslint/recommended--extra config

  • linter: remove reportUnusedDisableDirectives for flat config

  • misc: prevent ts-node from reading tsconfig when registering transpiler

  • misc: set $schema in nx.json generated during nx init

  • misc: use caret for semver version

  • nx-dev: remove unmatched bracket. updates warning description

  • release: skip lock file update if yarn classic

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.