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

feat(misc): change updateBuildableProjectDepsInPackageJson option default value to false #17920

Merged

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Jul 3, 2023

This is the first step to moving from using the current package.json generation in executors to using the new @nx/dependency-checks EsLint rule instead. In a follow-up PR, the options will be deprecated.

The PR comes with migrations for targets using the relevant executors and are relying on the default value for the updateBuildableProjectDepsInPackageJson. In those cases, the option will be explicitly set to true in the target configuration to keep the existing behavior.

Current Behavior

The updateBuildableProjectDepsInPackageJson option of several executors has a default value of true.

Expected Behavior

The updateBuildableProjectDepsInPackageJson option of several executors should have a default value of false.

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Jul 3, 2023
@vercel
Copy link

vercel bot commented Jul 3, 2023

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

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2023 4:28pm

@nx-cloud
Copy link

nx-cloud bot commented Jul 3, 2023

☁️ Nx Cloud Report

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

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link
Collaborator

@isaacplmann isaacplmann left a comment

Choose a reason for hiding this comment

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

Looks fine from docs perspective

@leosvelperez leosvelperez merged commit 64765eb into nrwl:master Jul 6, 2023
@leosvelperez leosvelperez deleted the misc/toggle-flag-default-value branch July 6, 2023 08:06
@github-actions
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 Jul 12, 2023
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.

3 participants