You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Name the fallback reason for package-manager settings #322
.yarnrc.yml, .yarnrc, bunfig.toml and .pnpmfile.cjs change how dependencies are installed. A change to one of them runs the full suite, but:
the first three report Unknown changed file: …
.pnpmfile.cjs reports Code that no file imports changed, because it ends in .cjs and looks like source code
.npmrc already reports Tool configuration changed: package manager settings (#142). These four should report the same.
Be careful: these files are also read by the lockfile narrowing in src/git/git-diff.ts, where they decide whether a lockfile change can be narrowed (search for .pnpmfile there). Don't change that code. Only the reason changes.
Done when:
All four report Tool configuration changed: package manager settings.
tests/repo/tool-config-reasons.test.ts has a case for each.
One extra test changes .yarnrc.yml together with package-lock.json, and checks that the plan is still FULL. This shows the lockfile narrowing still treats .yarnrc.yml as blocking.
The docs row lists the new files.
pnpm-workspace.yaml is not part of this issue. It defines the workspace layout (src/repo/workspaces.ts) and gets its own wording later.
New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.
@KingEmma7 this one is in your Yarn area, so you get first pick if you'd like it. It's a small change: .yarnrc.yml, .yarnrc, bunfig.toml and .pnpmfile.cjs should report Tool configuration changed: package manager settings like .npmrc does. One test also checks that .yarnrc.yml still blocks the lockfile narrowing in git-diff.ts. #142 and its PRs show the same change.
No pressure. If you'd rather not take it, it stays open as a good first issue.
Thanks for offering me first pick. I’ll take #322. I’ll make the four files report the same fallback reason as .npmrc and add a test to confirm that a .yarnrc.yml change alongside package-lock.json still runs the full suite.
Activity
adityankale190895 commentedon Dec 2, 2026
@KingEmma7 this one is in your Yarn area, so you get first pick if you'd like it. It's a small change:
.yarnrc.yml,.yarnrc,bunfig.tomland.pnpmfile.cjsshould reportTool configuration changed: package manager settingslike.npmrcdoes. One test also checks that.yarnrc.ymlstill blocks the lockfile narrowing ingit-diff.ts. #142 and its PRs show the same change.No pressure. If you'd rather not take it, it stays open as a good first issue.
KingEmma7 commentedon Dec 2, 2026
Thanks for offering me first pick. I’ll take #322. I’ll make the four files report the same fallback reason as
.npmrcand add a test to confirm that a.yarnrc.ymlchange alongsidepackage-lock.jsonstill runs the full suite.