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
Is your feature request related to a problem? Please describe
We want to be able to call the automigrators from Nx. In Nx, there are multiple .storybook directories, and multiple .storybook/main|preview.js files.
From within a Nx generator, we want to recursively call the automigrators (eg. npx sb automigrate mainjsFramework) and also pass a flag to tell Storybook which directory to look into, so for example:
That would enable us to call the automigrators from Nx, or allow anyone to call the automigrators for a Nx workspace.
Describe the solution you'd like
The functions that are listed here to accept an option for configFolderPath (or anything similarly named, to allow Nx to pass the directory).
Similarly, if there's a migrator that looks for any other Storybook-related files (eg. stories transformation) to accept a relevant glob or something (like sb migrate csf-2-to-3 which accepts --glob).
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
We want to be able to call the automigrators from Nx. In Nx, there are multiple
.storybook
directories, and multiple.storybook/main|preview.js
files.From within a Nx generator, we want to recursively call the automigrators (eg.
npx sb automigrate mainjsFramework
) and also pass a flag to tell Storybook which directory to look into, so for example:That would enable us to call the automigrators from Nx, or allow anyone to call the automigrators for a Nx workspace.
Describe the solution you'd like
The functions that are listed here to accept an option for
configFolderPath
(or anything similarly named, to allow Nx to pass the directory).Similarly, if there's a migrator that looks for any other Storybook-related files (eg. stories transformation) to accept a relevant
glob
or something (likesb migrate csf-2-to-3
which accepts--glob
).Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
The text was updated successfully, but these errors were encountered: