Conversation
- Remove bundlesize dependency - Add @size-limit/preset-small-lib and size-limit dependencies - Convert bundlesize config to size-limit format - Add Bundle Size Check job to CI workflow - Update GitHub Actions to v4 (checkout, setup-node) Bundle size limits: - dist/react-final-form-listeners.umd.min.js: 2kB - dist/react-final-form-listeners.es.js: 3kB - dist/react-final-form-listeners.cjs.js: 3kB
📝 WalkthroughWalkthroughThe PR updates the GitHub Actions CI to use newer action versions and Node.js 22, adds an independent bundle size job, and replaces Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In @.github/workflows/ci.yml:
- Around line 50-51: Update the Codecov GitHub Action to the latest major
release by changing the uses reference from codecov/codecov-action@v2.1.0 to
codecov/codecov-action@v5 (or `@v5.x`) in the workflow step named "Run code
coverage"; ensure the step's input parameters remain compatible with v5 and
adjust any input keys if the action's v5 interface differs.
In `@package.json`:
- Around line 85-87: The devDependencies block in package.json is not
alphabetically sorted: move "@size-limit/preset-small-lib" into the group of
"@"-scoped packages (near other `@-prefixed` entries such as
"@typescript-eslint/parser") and place "size-limit" in its alphabetical position
(for example after "rollup-plugin-uglify"), ensuring the entire devDependencies
section is sorted lexicographically so new entries are ordered consistently.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Migrates from deprecated bundlesize to size-limit for bundle size monitoring.
Changes
Bundle Size Limits
dist/react-final-form-listeners.umd.min.js: 2kBdist/react-final-form-listeners.es.js: 3kBdist/react-final-form-listeners.cjs.js: 3kBPart of the bundlesize → size-limit migration across all Final Form repos.
Summary by CodeRabbit