Skip to content

Package refresh ~2024~ 2025#68

Merged
AdrieanKhisbe merged 27 commits intomasterfrom
package-refresh-2024
Oct 28, 2025
Merged

Package refresh ~2024~ 2025#68
AdrieanKhisbe merged 27 commits intomasterfrom
package-refresh-2024

Conversation

@AdrieanKhisbe
Copy link
Copy Markdown
Owner

@AdrieanKhisbe AdrieanKhisbe commented Oct 27, 2025

Long landing refresh of the package

@AdrieanKhisbe AdrieanKhisbe requested a review from Copilot October 27, 2025 13:08
@AdrieanKhisbe AdrieanKhisbe self-assigned this Oct 27, 2025
@AdrieanKhisbe AdrieanKhisbe added Enhancement 🍭 Something existing, but better ;) Dependencies 🔋 Update, Add or remove dependecies labels Oct 27, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.68%. Comparing base (12122e2) to head (8738e28).
⚠️ Report is 28 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   97.68%   98.68%   +0.99%     
==========================================
  Files           8        8              
  Lines         303      304       +1     
==========================================
+ Hits          296      300       +4     
+ Misses          7        4       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

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 modernizes the bundle-phobia-cli package for 2025, updating its infrastructure, improving error handling, and adding support for newer Node.js versions. The update includes migrating from Travis CI to GitHub Actions, bumping dependencies, and implementing error resilience where processing continues despite individual package failures.

Key changes:

  • Consolidated entry points from index.js and index-install.js into a single main.js with command structure
  • Added error resilience through fail-fast flag and stopOnError configuration
  • Implemented filtering of @types/* packages from dependency lists
  • Updated CI to test against Node.js versions 16, 18, 20, 22, and 24

Reviewed Changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
main.js New unified entry point consolidating stats and install commands with yargs command structure
index.js, index-install.js Removed separate entry points in favor of unified main.js
src/npm-utils.js Added filtering to exclude @types packages from dependency lists
src/core.js Added fail-fast flag support and serial execution option for package fetching
src/install.js Updated to use packages property from argv and added fail-fast support
test/integration/*.test.js Updated tests to use new argv structure and normalize KB size values for stability
test/integration/utils.js Added stripKb utility for normalizing size outputs in tests
test/e2e/*.sh Updated shell scripts to reference main.js and normalize KB outputs
package.json Updated dependencies and Node.js engine requirement to >=16.13
.github/workflows/ci.yml New GitHub Actions workflow replacing Travis CI
.travis.yml Deprecated in favor of GitHub Actions
README.md Updated documentation to reflect new command structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AdrieanKhisbe AdrieanKhisbe merged commit 411321c into master Oct 28, 2025
12 checks passed
@AdrieanKhisbe AdrieanKhisbe deleted the package-refresh-2024 branch October 28, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies 🔋 Update, Add or remove dependecies Enhancement 🍭 Something existing, but better ;)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants