Closed gcko closed 2 weeks ago
Yeah Updating to nx v20.0.0 is failing the executor.
FYI @koliveira15, I created a bug on NX to make some adjustments to their release documentation for NX 20 as it was not announced that this breaking change was made -> https://github.com/nrwl/nx/issues/28461
Any ideas on how to fix this? I'm trying to upgrade to 20.0.9 right now but keep running into this.
Tried applying a patch to the utils.js
file for replacing context.workspace.projects
with context.projectsConfigurations.projects
but then I keep running into peer dependency issues after that
Any ideas on how to fix this? I'm trying to upgrade to 20.0.9 right now but keep running into this.
Tried applying a patch to the
utils.js
file for replacingcontext.workspace.projects
withcontext.projectsConfigurations.projects
but then I keep running into peer dependency issues after that
Pull my PR https://github.com/koliveira15/nx-sonarqube/pull/117
it is fixed there
If possible, please provide a reproduction repository you discovered this bug in.
No response
Which area/package is the issue in?
@koliveira15/nx-sonarqube
Description
Currently, migrating to nx 20 will cause nx-sonarqube's executor to fail to run.
If applicable, please provide the Nx report
Please provide the exception or error you saw
Other information
I tracked the issue to the following: https://github.com/koliveira15/nx-sonarqube/blob/991ee6b20551bad29381a24099c517b6c72d92a9/packages/nx-sonarqube/src/executors/scan/utils/utils.ts#L96C32-L96C70
i'm willing to submit a PR, however I would need to take time to dig into the issue - my guess is that nx-sonarqube needs to be updated to support nx 20
I would be willing to submit a PR to fix this issue