nx
nx copied to clipboard
projectsAffectedByDependencyUpdates auto errors with undefined project name
Current Behavior
Enabling projectsAffectedByDependencyUpdates: auto in nx.json results in
NX Affected criteria defaulted to --base=develop --head=HEAD
NX Invalid project name is detected: "undefined"
Pass --verbose to see the stacktrace.
https://nx.dev/ci/features/affected#marking-projects-affected-by-dependency-updates
Expected Behavior
Don't fail
GitHub Repo
No response
Steps to Reproduce
add
{
...
"pluginsConfig": {
"@nx/js": {
"projectsAffectedByDependencyUpdates": "auto"
}
}
...
}
to nx.json
Nx Report
NX Report complete - copy this into the issue template
Node : 22.15.1
OS : darwin-arm64
Native Target : aarch64-macos
pnpm : 10.11.0
nx : 21.1.2
@nx/js : 21.1.2
@nx/jest : 21.1.2
@nx/eslint : 21.1.2
@nx/workspace : 21.1.2
@nx/cypress : 21.1.2
@nx/devkit : 21.1.2
@nx/esbuild : 21.1.2
@nx/eslint-plugin : 21.1.2
@nx/module-federation : 21.1.2
@nx/next : 21.1.2
@nx/node : 21.1.2
@nx/playwright : 21.1.2
@nx/react : 21.1.2
@nx/rspack : 21.1.2
@nx/storybook : 21.1.2
@nx/vite : 21.1.2
@nx/web : 21.1.2
@nx/webpack : 21.1.2
typescript : 5.8.3
---------------------------------------
Registered Plugins:
@nx/storybook/plugin
@nx/eslint/plugin
@nx/vite/plugin
---------------------------------------
Cache Usage: 21.57 MB / 46.04 GB
Failure Logs
Package Manager Version
No response
Operating System
- [x] macOS
- [ ] Linux
- [ ] Windows
- [ ] Other (Please specify)
Additional Information
No response