-
Notifications
You must be signed in to change notification settings - Fork 350
feat: Enhance metadata generation to support @vibe/* imports #3178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
A new prerelease version of this PR has been published! 🎉 To update Or with npm: To update Or with npm: |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
User description
https://monday.monday.com/boards/3532714909/views/80492480/pulses/18371348991
PR Type
Enhancement
Description
Support @vibe/* imports in metadata generation
Load source files from separate component packages
Generate correct import paths for component packages
Ensure output directory exists before writing metadata
Diagram Walkthrough
flowchart LR A["Export declarations"] --> B{"Check if @vibe/* import?"} B -->|Yes| C["Resolve from components directory"] B -->|No| D["Resolve from relative path"] C --> E["Load component source files"] D --> E E --> F["Generate import paths"] F --> G["Write metadata.json"]File Walkthrough
generate-metadata.ts
Add @vibe/* package import support to metadata generationpackages/core/src/scripts/generate-metadata.ts
separate component packages
../../../components/*/src directory
packages instead of always using @vibe/core
path exists