Problem
Nx 23 warns that the @nx/jest:jest executor is deprecated and will be removed in Nx 24. The workspace still declares explicit Jest executor targets for nx-forge and docs-tools.
On current Node LTS, Jest also warns that both workspace jest.config.ts files fail to load as ES modules. The tests pass today, but the warnings obscure real failures and signal configuration that needs to be made explicit.
This work is intentionally separate from PR #210.
Scope
- Configure
@nx/jest/plugin inference for the workspace.
- Convert the existing
nx-forge and docs-tools test targets.
- Make the two workspace Jest config module formats explicit and compatible with current Node LTS on Linux and Windows.
- Preserve the existing workspace test behavior, transforms, coverage outputs, and Nx caching.
Out of scope
- Changes to the
@toolsplus/nx-forge application generator or other published plugin behavior. Generator inference will be revisited when the corresponding upstream Nx implementation changes.
Acceptance criteria
References
Problem
Nx 23 warns that the
@nx/jest:jestexecutor is deprecated and will be removed in Nx 24. The workspace still declares explicit Jest executor targets fornx-forgeanddocs-tools.On current Node LTS, Jest also warns that both workspace
jest.config.tsfiles fail to load as ES modules. The tests pass today, but the warnings obscure real failures and signal configuration that needs to be made explicit.This work is intentionally separate from PR #210.
Scope
@nx/jest/plugininference for the workspace.nx-forgeanddocs-toolstest targets.Out of scope
@toolsplus/nx-forgeapplication generator or other published plugin behavior. Generator inference will be revisited when the corresponding upstream Nx implementation changes.Acceptance criteria
@nx/jest:jest.nx-forgeanddocs-toolstesttargets remain available with equivalent behavior.References