fix: improve package.json detection by re-taro · Pull Request #94 · changesets/bot

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@re-taro

Copy link Copy Markdown

@re-taro re-taro commented

Nov 26, 2025

Summary

  • Fix issue where root-level package.json was not being detected
  • The condition item.path.endsWith("/package.json") doesn't match package.json at the root directory, so added item.path === "package.json" check

Changes

  • get-changed-packages.ts: Add condition to properly detect root-level package.json

@re-taro re-taro requested a review from emmatown as a code owner

November 26, 2025 09:03

@vercel

Copy link Copy Markdown

vercel bot commented

Nov 26, 2025

@re-taro is attempting to deploy a commit to the Changesets Team on Vercel.

A member of the Team first needs to authorize it.

@lukasIO

Copy link Copy Markdown

lukasIO commented

Jan 30, 2026

this should also resolve #82

@lukasIO

Copy link Copy Markdown

lukasIO commented

Jan 30, 2026

@Andarist sorry for tagging you, but the original issue has been raised almost 2 years ago. Could we get this merged and released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@emmatown emmatown Awaiting requested review from emmatown emmatown is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@re-taro @lukasIO