Skip to content

Conversation

@joshjohanning
Copy link
Owner

This pull request adds two new shell scripts to the gh-cli directory for comparing package.json files across multiple repositories, along with updates to the README.md to document their usage. These scripts help identify differences in devDependencies and scripts between repositories, making it easier to maintain consistency across projects.

Copilot AI review requested due to automatic review settings January 29, 2026 17:01
@github-actions
Copy link

github-actions bot commented Jan 29, 2026

📋 Lint Results

⚡ ./gh-cli scripts

✅ No issues found.

🔧 ./scripts scripts

✅ No issues found.

Lint results updated at Thu Jan 29 17:20:49 UTC 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds tooling to compare package.json devDependencies and scripts across multiple repositories to help keep project configuration consistent.

Changes:

  • Add compare-dev-dependencies-across-repositories.sh to fetch each repository’s package.json and generate a devDependency version matrix plus mismatch/missing summaries.
  • Add compare-package-scripts-across-repositories.sh to aggregate and compare scripts blocks across repositories, reporting differing values and missing scripts.
  • Update gh-cli/README.md with usage documentation for both new comparison scripts in the existing script catalog.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
gh-cli/compare-package-scripts-across-repositories.sh Implements script collection, comparison logic, and output formatting for package.json scripts across repositories.
gh-cli/compare-dev-dependencies-across-repositories.sh Implements devDependency extraction, a version matrix, and reporting of version mismatches and missing dependencies across repositories.
gh-cli/README.md Documents the new comparison scripts with descriptions and basic usage examples to surface them alongside other gh-cli utilities.

@joshjohanning joshjohanning merged commit 6a0a69f into main Jan 29, 2026
7 checks passed
@joshjohanning joshjohanning deleted the add-package-json-scripts branch January 29, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants