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(build-cli): Check the root package.json of a release group when updating dependencies #12381

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

tylerbutler
Copy link
Member

When bumping dependencies, those in the root package.json of a release group were not bumped. This causes install to fail, among other things. This change addresses that bug while also simplifying the logic somewhat.

@tylerbutler tylerbutler marked this pull request as ready for review October 11, 2022 02:47
@tylerbutler tylerbutler requested a review from a team as a code owner October 11, 2022 02:47
@github-actions github-actions bot added the base: main PRs targeted against main branch label Oct 11, 2022
@@ -96,39 +119,28 @@ export async function npmCheckUpdates(
),
),
// Includes the root package.json, in case there are deps there that also need upgrade.
".",
// path.join(releaseGroupRoot.repoPath, "package.json"),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: remove the commented code

@tylerbutler tylerbutler merged commit 8f7df28 into microsoft:main Oct 11, 2022
@tylerbutler tylerbutler deleted the cli/fix-bump-deps branch October 11, 2022 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants