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
Currently, the @nx/storybook package provides executors for building and serving storybook.
However, when one uses the @nx/storybook/plugin to generate inferred tasks, unless the angular framework is detected, these tasks are generated running the storybook CLI directly.
The plugin should reference its own executor when creating the tasks, this would provide more consistency and flexibility between the angular and standard implementation, as well as CLI/options compatibility. Currently it's very confusing to decide if we want the provided executor or the inferred tasks since they are mutually exclusive (it's impossible to merge a different executor over the inferred task in NX by design)
This is intended - inferred tasks prefer raw commands if possible to make things easier to configure for folks that are more familiar with the tool (storybook in this case) and less familiar with Nx. This is a bit of a weird area where it is possible to use the command for almost all of them, but the angular case isn't quite ready yet.
Current Behavior
Currently, the @nx/storybook package provides executors for building and serving storybook.
However, when one uses the @nx/storybook/plugin to generate inferred tasks, unless the angular framework is detected, these tasks are generated running the storybook CLI directly.
Code Reference
Expected Behavior
The plugin should reference its own executor when creating the tasks, this would provide more consistency and flexibility between the angular and standard implementation, as well as CLI/options compatibility. Currently it's very confusing to decide if we want the provided executor or the inferred tasks since they are mutually exclusive (it's impossible to merge a different executor over the inferred task in NX by design)
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: