Skip to content

fix: expand @swc/cli peer range to include ^0.8.0#3309

Merged
kamilmysliwiec merged 1 commit intonestjs:masterfrom
wwenrr:fix/3292-expand-swc-cli-peer-range
Apr 7, 2026
Merged

fix: expand @swc/cli peer range to include ^0.8.0#3309
kamilmysliwiec merged 1 commit intonestjs:masterfrom
wwenrr:fix/3292-expand-swc-cli-peer-range

Conversation

@wwenrr
Copy link
Copy Markdown
Contributor

@wwenrr wwenrr commented Apr 3, 2026

Summary

This PR updates the @swc/cli peer dependency range to include ^0.8.0.

Issue: closes #3292

Why

@nestjs/cli currently allows @swc/cli up to ^0.7.x, which can conflict with modern Angular/Nx workspaces where chokidar@^5 is resolved.

@swc/cli@0.8.x supports chokidar@^5, so widening the peer range unblocks those installs without forcing dependency overrides.

Changes

  • package.json
    • peerDependencies["@swc/cli"]:
      • from: ^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0
      • to: ^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0

No runtime behavior changes.

@kamilmysliwiec kamilmysliwiec merged commit cece482 into nestjs:master Apr 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nest CLI peer range blocks SWC CLI 0.8.x, causing chokidar peer conflict in Angular 21/Nx workspaces

2 participants