Skip to content

fix(core): only add keep existing versions if init generator supports it#30352

Merged
FrozenPandaz merged 1 commit intonrwl:masterfrom
FrozenPandaz:fix-init3
Mar 13, 2025
Merged

fix(core): only add keep existing versions if init generator supports it#30352
FrozenPandaz merged 1 commit intonrwl:masterfrom
FrozenPandaz:fix-init3

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

Current Behavior

Nx plugins which do not support keepExistingPackages fail to initialize via nx init or nx add

Expected Behavior

Nx plugins which do not support keepExistingPackages initializes properly via nx init and nx add

Related Issue(s)

Fixes #

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2025 8:14pm

@FrozenPandaz FrozenPandaz marked this pull request as ready for review March 12, 2025 20:11
@FrozenPandaz FrozenPandaz requested a review from a team as a code owner March 12, 2025 20:11
@FrozenPandaz FrozenPandaz requested a review from xiongemi March 12, 2025 20:11
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Mar 12, 2025

View your CI Pipeline Execution ↗ for commit a5b740f.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ❌ Failed 48m 45s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=7f1e1... ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 2m 55s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-12 23:58:02 UTC

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) March 12, 2025 20:27
@FrozenPandaz FrozenPandaz disabled auto-merge March 13, 2025 17:38
@FrozenPandaz FrozenPandaz merged commit cc9e993 into nrwl:master Mar 13, 2025
FrozenPandaz added a commit that referenced this pull request Mar 14, 2025
… it (#30352)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Nx plugins which do not support `keepExistingPackages` fail to
initialize via `nx init` or `nx add`

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Nx plugins which do not support `keepExistingPackages` initializes
properly via `nx init` and `nx add`

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit cc9e993)
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants