Skip to content

refactor(vite-plugin)!: extract the Vite plugin and invert the core dependency - #1065

Closed
harijoe wants to merge 1 commit into
v2from
julien/sky-546-extract-vite-plugin
Closed

refactor(vite-plugin)!: extract the Vite plugin and invert the core dependency#1065
harijoe wants to merge 1 commit into
v2from
julien/sky-546-extract-vite-plugin

Conversation

@harijoe

@harijoe harijoe commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Moves the Vite plugin out of skybridge into its own package, @skybridge/vite-plugin.
  • Breaking: skybridge/vite is removed; import skybridge from @skybridge/vite-plugin instead.
  • Moves view discovery into core, exposed as skybridge/views, so the dependency runs core → plugin and not both ways.
  • Mechanical import churn across examples, templates and e2e; no behaviour change.

Architecture Notes

  • Dependency direction — core's CLI needs scanViewsSync, and the plugin needs the same discovery. Core now owns it and the plugin depends on core, which is why prepare and the publish workflow build core first.

@harijoe harijoe changed the title julien/sky 546 extract vite plugin refactor(vite-plugin)!: extract the Vite plugin and invert the core dependency Aug 26, 2026
@harijoe harijoe closed this Aug 26, 2026
@harijoe
harijoe deleted the julien/sky-546-extract-vite-plugin branch August 26, 2026 09:58
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.

1 participant