fix(deps): revert @swc/cli to ^0.7.0 due to @nestjs/cli incompatibility#2649
fix(deps): revert @swc/cli to ^0.7.0 due to @nestjs/cli incompatibility#2649DerekRoberts merged 3 commits intomainfrom
Conversation
|
|
@copilot Can you fix this dependency PR? |
…ility Agent-Logs-Url: https://github.com/bcgov/quickstart-openshift/sessions/debfbc8a-5dd2-43d0-ad21-940a025538a1 Co-authored-by: DerekRoberts <4391600+DerekRoberts@users.noreply.github.com>
Head branch was pushed to by a user without write access
Reverted
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
|
@copilot Analysis / Backend Tests are failing. Please fix in this PR. |
…rror Agent-Logs-Url: https://github.com/bcgov/quickstart-openshift/sessions/4ac620ff-2ce5-425f-83c9-4a9b0f9c9de4 Co-authored-by: DerekRoberts <4391600+DerekRoberts@users.noreply.github.com>
Fixed in commit |
Description
Reverts
@swc/clifrom^0.8.0back to^0.7.0inbackend/package.jsondue to peer dependency incompatibilities introduced by the^0.8.0upgrade.@swc/cli@0.8.xis incompatible with the current@nestjs/cli@11.xfor two reasons:@nestjs/cli@11.0.17only lists@swc/cliup to^0.7.0in its optional peer dependencies —^0.8.0is not supported.@swc/cli@0.8.1requireschokidar@^5.0.0as a peer dependency, but@nestjs/clidepends onchokidar@4.0.3, causing an irreconcilable conflict that preventsnpm installfrom resolving.Dependency changes:
backend/package.json:@swc/clireverted from^0.8.0→^0.7.0backend/package-lock.json: restored to the original pre-upgrade state (locks@swc/cliat0.7.10with all other dependencies unchanged)Type of change
How Has This Been Tested?
Verified that
npm ci --dry-runresolves without errors with@swc/clireverted to^0.7.0and the lock file restored to its original state.Checklist
Further comments
The
@swc/cli@^0.8.0upgrade can be reconsidered once@nestjs/cliadds support for@swc/cli@0.8.xin its peer dependencies and thechokidarmajor version conflict is resolved upstream.The
package-lock.jsonis restored to its exact pre-upgrade state rather than regenerated, to avoid unintended updates to other transitive dependencies (e.g.hono,magicast) that would causenpm cisync errors in CI.Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: