Packages

@nx/jest

24.0.6 · 10 Nov 2026MIT4.4M / weekRepositoryHomepagenpmAtom feed

Your version

17.0.0

major19 Oct 2023Where it was published

17.3.2 is the newest release of 17.x.

In short

7 breaking10 removed20 new24 fixed

  • Breaking

    @nx/linter has been renamed to @nx/eslint. There is a migration for this.

  • Breaking

    workspaces-generator command has been removed. This was deprecated since v15 and only errored.

  • Breaking

    workspaces-lint command has been removed. This was deprecated since v15 and only errored.

  • Breaking

    defaultCollection can no longer be configured in nx.json. There is a prompt to choose the collection when running a generator name which exists in multiple collections.

  • Breaking

    npmScope can no longer be configured in nx.json. Import paths in libraries will have a scope which is the same as the scope of the name in the root package.json. Most generators should have an importPath override to control the import path entirely.

  • Breaking

    Nx generators and executors can no longer be used as Angular CLI schematics and builders. You can still wrap them with @nx/devkit methods to use them programmatically.

  • Breaking

    Deprecated exported utils from @nrwl/workspace have been removed.

  • Removed

    core: remove deprecated workspace generator command

Release note

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

Features

  • core: accept various task runner options from root of nx.json

  • core: read cloud url from nx.json

  • core: add --type for nx show projects

  • core: add NX_PARALLEL env var

  • core: generate new workspaces without tasks runner options

  • core: update default cache directory to .nx/cache

  • core: migrate existing workspaces to slimmer tasks runner options config

  • core: add the outputs of a task onto the task

  • Removed

    core: remove deprecated workspace generator command

  • core: add nx task planner

  • core: Allow specifying daemon socket dir

  • core: allow using Nx Cloud without nx-cloud installed

  • Removed

    core: remove deprecated workspace-lint

  • core: add batch flag to run

  • core: update version of axios used

  • core: add standard way to pass plugin options

  • core: generate standalone projects with scoped package names

  • core: allow specifying cacheability per target

  • Removed

    core: remove deprecated defaultCollection and npmScope nx.json …

  • devkit: remove backwards compatibility for Nx 15

  • Removed

    js: remove options to update package.json dependencies and peerDependencies

  • linter: remove tslint logic

  • misc: remove migrations for v14 and under

  • Removed

    misc: remove deprecated Angular CLI usage of schematics and builders

  • Removed

    misc: remove deprecated code from @nx/workspace

  • Removed

    react: remove stylus option from generators

Fixes

  • angular: fix usage of internal generators and prevent usage of deprecated project option

  • core: register transpiler should setup loading for node code

  • core: use typescript to get compiler options for ts-node

  • core: hash the same environment as the tasks are run with

  • core: set prerelease on GitHub release API request

  • core: typo in cache error message

  • core: notify life cycles that tasks are scheduled after they are…

  • core: fix verification of non-existent cloud client

  • core: correct windows path for native watcher

  • core: support prettier v3 when run nx format

  • core: setup the nx cloud client during postinstall

  • Removed

    core: removes formatting from show command when using --json flag

  • core: remove -d alias because it conflicts with --dry-run

  • core: always hash runtime input

  • core: ensure CNW works without .yarnrc with custom registry

  • core: only show cloud messaging when migrating if not using cloud

  • core: check nxjson cli exists before looking for keys

  • core: fix convert to monorepo eslint issue

  • Removed

    js: remove deprecated babel transform

  • linter: remove consistent-type-assertions rule from config

  • misc: don't interpolate arg as undefined

  • misc: pass full path to tsconfig when registering transpiler

  • misc: remove projectNameAndRootFormat from nx.json schema

  • misc: do not normalize project name and root when using as-provided format

  • misc: update re-exports when updating imports during move

  • nest: add deprecated messages to generator js schema and fix casing

  • react: update usage of deprecated "project" option in generators

  • Removed

    vue: remove unitTestRunner option from component generator

:warning: Breaking Changes

  • Breaking

    @nx/linter has been renamed to @nx/eslint. There is a migration for this.

  • Breaking

    workspaces-generator command has been removed. This was deprecated since v15 and only errored.

  • Breaking

    workspaces-lint command has been removed. This was deprecated since v15 and only errored.

  • Breaking

    defaultCollection can no longer be configured in nx.json. There is a prompt to choose the collection when running a generator name which exists in multiple collections.

  • Breaking

    npmScope can no longer be configured in nx.json. Import paths in libraries will have a scope which is the same as the scope of the name in the root package.json. Most generators should have an importPath override to control the import path entirely.

  • Breaking

    Nx generators and executors can no longer be used as Angular CLI schematics and builders. You can still wrap them with @nx/devkit methods to use them programmatically.

  • Breaking

    Deprecated exported utils from @nrwl/workspace have been removed.

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.