Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(misc): dot nx setup shouldn't include target defaults #23180

Merged
merged 1 commit into from
May 3, 2024

Conversation

AgentEnder
Copy link
Member

Current Behavior

  • nx add @nx/gradle installs latest version
  • nx init sets up target defaults
  • nx add package@beta will add beta as the version, rather than resolving it to the tag.

Expected Behavior

  • nx add @nx/gradle installs version matching nx
  • nx init lets plugin handle settings
  • nx add package@beta will add the latest version matching the beta tag

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner May 3, 2024 20:17
@AgentEnder AgentEnder requested a review from FrozenPandaz May 3, 2024 20:17
Copy link

vercel bot commented May 3, 2024

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 3, 2024 10:09pm

@AgentEnder AgentEnder force-pushed the fix/dot-nx-target-defaults branch from 075e062 to 45b3f28 Compare May 3, 2024 21:44
@AgentEnder AgentEnder force-pushed the fix/dot-nx-target-defaults branch from 45b3f28 to 4d77a0b Compare May 3, 2024 22:07
@@ -63,7 +64,7 @@ async function installPackage(
);
} else {
nxJson.installation.plugins ??= {};
nxJson.installation.plugins[pkgName] = version;
nxJson.installation.plugins[pkgName] = normalizeVersionForNxJson(version);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) May 3, 2024 22:09
@FrozenPandaz FrozenPandaz merged commit 30446df into nrwl:master May 3, 2024
6 checks passed
Copy link

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 May 11, 2024
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