Skip to content

refactor: formalize graph-plugins-shared public API surface#717

Merged
Yonava merged 10 commits into
mainfrom
yva/plugin-name-field
Jun 28, 2026
Merged

refactor: formalize graph-plugins-shared public API surface#717
Yonava merged 10 commits into
mainfrom
yva/plugin-name-field

Conversation

@Yonava

@Yonava Yonava commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Restructures graph-plugins-shared so every subdirectory (plugins/, theme/, computed-tokens/, drag/) has an index.ts as the sole public entry point, with all implementation files moved into internals/
  • Adds explicit package exports entries for each subdirectory so imports go through the index
  • Renames internal types for clarity: LoosePluginDataLoosePluginSchema, GraphPluginOptionsPluginInput, ResolvedGraphPlugin return shape → PluginOutput, ThemesForPluginsPluginThemes
  • JSDoc on all public exports, segmented by audience (plugin authors vs. graph orchestrator)
  • Sweeps all consumers (graph-plugins, graph-theme-presets, create-graph, products) off deep/dist imports and onto the new public indexes

@Yonava Yonava changed the title formalize graph-plugins-shared public API surface refactor: formalize graph-plugins-shared public API surface Jun 28, 2026
@Yonava Yonava merged commit 6134ac8 into main Jun 28, 2026
1 check failed
@Yonava Yonava deleted the yva/plugin-name-field branch June 28, 2026 03:56
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