@nx/storybook:convert-to-inferred

Convert existing Storybook project(s) using @nx/storybook:* executors to use @nx/storybook/plugin. Defaults to migrating all projects. Pass '--project' to migrate only one target.

Usage

1nx generate convert-to-inferred ... 2

By default, Nx will search for convert-to-inferred in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/storybook:convert-to-inferred ... 2

Show what will be generated without writing to disk:

1nx g convert-to-inferred ... --dry-run 2

Options

project

string

The project to convert from using the @nx/storybook:* executors to use @nx/storybook/plugin.

skipFormat

boolean
Default: false

Whether to format files at the end of the migration.