You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds `services.git.detect()` to the plugin API, providing plugins with
correct git information detection that handles CI environments properly
(GitHub Actions PR merge commits, GitLab, CircleCI, etc.).
This replaces the fragile dynamic import approach in storybook and
static-site plugins with a clean API contract. Plugins now use the
CLI's battle-tested git detection instead of duplicating the logic.
Changes:
- Add `services.git.detect({ buildPrefix })` to plugin-api.js
- Update storybook plugin to use new API with graceful fallback
- Update static-site plugin to use new API with graceful fallback
- Bump peer dependency to >=0.25.0 (with fallback for older CLIs)
0 commit comments