Skip to content

fix(registry): fix dependency generation and registry outputs#145

Merged
cwandev merged 2 commits intomainfrom
fix/registry-builder-ai-dependencies
Jan 29, 2026
Merged

fix(registry): fix dependency generation and registry outputs#145
cwandev merged 2 commits intomainfrom
fix/registry-builder-ai-dependencies

Conversation

@cwandev
Copy link
Copy Markdown
Collaborator

@cwandev cwandev commented Jan 28, 2026

Closed #146

This PR fixes AI element dependency generation in the registry builder.

  1. Standardizes AI element imports to always use relative paths, allowing the registry service to correctly infer cross-component dependencies.
  2. Updates the registry builder to emit full, URL-based registryDependencies for AI elements while skipping self and group-internal files.
  3. Additionally, this PR adds all.json support for bulk component installation:
  • Generates all.json as a RegistryItem containing all components for bulk installation
  • Improves dependency analysis with @types/ mapping and normalized package name resolution
  • Migrates from index.json to registry.json for consistency

@cwandev cwandev requested a review from peoray January 28, 2026 09:43
@cwandev cwandev changed the title fix(registry): generate correct ai element registryDependencies fix(registry): fix dependency generation and registry outputs Jan 28, 2026
@cwandev cwandev merged commit 95d75f9 into main Jan 29, 2026
4 checks passed
@cwandev cwandev deleted the fix/registry-builder-ai-dependencies branch January 29, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Something went wrong when use npx ai-elements-vue@latest

2 participants