nrwl / nx-labs

A collection of Nx plugins
MIT License
140 stars 51 forks source link

feat(rspack): add option to keep existing versions of packages for init generator #378

Closed Coly010 closed 7 months ago

Coly010 commented 7 months ago

The init generator for @nx/rspack does not have the keepExistingVersions option which is used by nx add.

Add this option to allow nx add to invoke the init generator correctly.

nx-cloud[bot] commented 7 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 025baa627d5de3dc1fc3f7bf7239faf0c32a0855. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets - [`nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e`](https://cloud.nx.app/runs/1usBMFZnOt?utm_source=pull-request&utm_medium=comment) - [`nx affected --target=test --parallel --max-parallel=2`](https://cloud.nx.app/runs/KGeJBr66TI?utm_source=pull-request&utm_medium=comment) - [`nx affected --target=build --parallel --max-parallel=3`](https://cloud.nx.app/runs/ZAnxAp8Nq9?utm_source=pull-request&utm_medium=comment) - [`nx affected --target=lint --parallel --max-parallel=3`](https://cloud.nx.app/runs/jIQ4O3Y1yk?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.