nx
Nx
GitHub
Nx
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
Nx
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
36189
2a341f31 fix(core): accept legacy plugin array in retrieveProjectConfigurations `@nx/devkit` <= 22 (whose peer range permits nx 23) calls the `nx/src/devkit-internals` export `retrieveProjectConfigurations` with a plain `LoadedNxPlugin[]` as its first argument. Nx 23 changed that argument to `SeparatedPlugins` and immediately reads `separatedPlugins.specifiedPlugins.filter(...)`, so when a 22.x devkit is paired with nx 23 (as happens transiently during `create-nx-workspace@22 --preset=nest`, where the preset install resolves `nx` to 23.x) generation crashes with `Cannot read properties of undefined (reading 'filter')`. Normalize the legacy array shape into `{ specifiedPlugins, defaultPlugins: [] }` at the top of the function so older devkit callers keep working. This mirrors exactly what nx 23's own `add-plugin.ts` passes for the single-plugin case.
by Steven Nance
S
Failed
36189
Flaky task
→
2a341f31 fix(core): accept legacy plugin array in retrieveProjectConfigurations `@nx/devkit` <= 22 (whose peer range permits nx 23) calls the `nx/src/devkit-internals` export `retrieveProjectConfigurations` with a plain `LoadedNxPlugin[]` as its first argument. Nx 23 changed that argument to `SeparatedPlugins` and immediately reads `separatedPlugins.specifiedPlugins.filter(...)`, so when a 22.x devkit is paired with nx 23 (as happens transiently during `create-nx-workspace@22 --preset=nest`, where the preset install resolves `nx` to 23.x) generation crashes with `Cannot read properties of undefined (reading 'filter')`. Normalize the legacy array shape into `{ specifiedPlugins, defaultPlugins: [] }` at the top of the function so older devkit callers keep working. This mirrors exactly what nx 23's own `add-plugin.ts` passes for the single-plugin case.
by Steven Nance
S
Previous
Next