fix: detect installed collections from Nuxt rootDir/workspaceDir#477
fix: detect installed collections from Nuxt rootDir/workspaceDir#477benjamincanac wants to merge 1 commit intomainfrom
Conversation
📝 WalkthroughWalkthroughThis change introduces Nuxt context awareness to collection path resolution and discovery. The module now passes the Nuxt instance to helper functions that resolve iconify-json collection paths and detect installed collections. The resolution mechanism uses the Nuxt root directory to dynamically determine whether the full Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
🔗 Linked issue
Related #473
📚 Description
Resolve
@iconify-json/*auto-discovery fromnuxt.options.rootDir/workspaceDirinstead ofprocess.cwd(), so collections installed in a subproject'snode_modulesare detected whennuxt devis run from a pnpm workspace root.