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
hasFullCollection checks if @iconify/json is installed, from every layer root, once per collection. With local-pkg 1, a missing package costs hundreds of statSync calls per path. In an app with 20 layers that was about 70,000 calls per build, or 123,000 with externalizeIconsJson.
local-pkg 2.0.0 includes antfu-collective/local-pkg#23, so the same build makes no statSync calls. v2 is ESM only and needs Node 20.19, which @nuxt/kit already requires.
No actionable merge-blocking risk was identified in this dependency update.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title states a performance update of the local-pkg dependency to v2. The changeset bumps local-pkg from ^1.2.1 to ^2.0.0 in package.json, and the description links this to fewer statSync calls. Th…
Description check
The description explains the reason for the change. It cites excess statSync calls from hasFullCollection when local-pkg 1 checks for a missing @iconify/json package. It links the fix to local-pkg 2.0…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title states a performance update of the local-pkg dependency to v2. The changeset bumps local-pkg from ^1.2.1 to ^2.0.0 in package.json, and the description links this to fewer statSync calls. The title is specific and matches the main change. Its prefix is a conventional commit type (perf), which fits the stated intent.
Full details: Description check
Explanation
The description explains the reason for the change. It cites excess statSync calls from hasFullCollection when local-pkg 1 checks for a missing @iconify/json package. It links the fix to local-pkg 2.0.0 and notes the ESM-only change and the Node 20.19 requirement. This relates directly to the single package.json change.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
ESLint
If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.
ESLint install timed out. The project may have too many dependencies for the sandbox.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 96f0644b-9cc9-475e-a548-1f6462acd2c1
Commits
Reviewing files that changed from the base of the PR and between 205afe2 and 8f52d34.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 1
package.json
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
Replaces #568.
📚 Description
hasFullCollectionchecks if@iconify/jsonis installed, from every layer root, once per collection. With local-pkg 1, a missing package costs hundreds ofstatSynccalls per path. In an app with 20 layers that was about 70,000 calls per build, or 123,000 withexternalizeIconsJson.local-pkg 2.0.0 includes antfu-collective/local-pkg#23, so the same build makes no
statSynccalls. v2 is ESM only and needs Node 20.19, which@nuxt/kitalready requires.