feat(stage): display staged package status #9920

Merged
github-actions[bot] opened 12:34pm on August 27, 2026 wanted to merge 10 Δ into npm/cli release/v11 from
backport/v11/9898

Pull request #9920 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 10
Maximum comment count per PR 10 0
Pull request maximum business days between activity 3 17
Pull request maximum business days open 5 17

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

Committed together % Code file
Coupled code file
Commits in PR with both
100 test/lib/utils/key-values.js
test/lib/commands/stage/view.js
1
100 test/lib/utils/key-values.js
test/lib/commands/stage/list.js
1
100 test/lib/commands/stage/view.js
test/lib/utils/key-values.js
1
100 test/lib/commands/stage/view.js
test/lib/commands/stage/list.js
1
100 test/lib/commands/stage/view.js
lib/utils/key-values.js
1
100 test/lib/commands/stage/list.js
test/lib/utils/key-values.js
1
100 test/lib/commands/stage/list.js
test/lib/commands/stage/view.js
1
100 test/lib/commands/stage/list.js
lib/utils/key-values.js
1
100 lib/utils/key-values.js
test/lib/utils/key-values.js
1
100 lib/utils/key-values.js
test/lib/commands/stage/view.js
1
100 lib/utils/key-values.js
test/lib/commands/stage/list.js
1
75 test/lib/utils/key-values.js
lib/utils/key-values.js
1

Biggest files changes in pull request

Path View whole file Lines removed Lines added Final line count
test/lib/utils/key-values.js 0 34 118
test/lib/commands/stage/list.js 0 7 154
lib/utils/key-values.js 0 12 54
test/lib/commands/stage/view.js 0 3 103

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Qualified function name View whole function Lines removed Lines added Final line count
logStageItem 0 12 24