## Current Behavior We currently do not have support for Storybook 9, nor any migrations to help users switch to it. ## Expected Behavior Support Storybook 9 and add a migration for users to switch to v9 BREAKING CHANGE: Remove deprecated generators: `@nx/storybook:cypress-project`, `@nx/react-native:storybook-configuration`, `@nx/react-native:stories`, `@nx/react-native:component-story`
37 lines
1.4 KiB
JSON
37 lines
1.4 KiB
JSON
{
|
|
"name": "Nx Storybook",
|
|
"version": "0.1",
|
|
"generators": {
|
|
"init": {
|
|
"factory": "./src/generators/init/init#initGeneratorInternal",
|
|
"schema": "./src/generators/init/schema.json",
|
|
"description": "Add Storybook configuration to the workspace.",
|
|
"aliases": ["ng-add"],
|
|
"hidden": true
|
|
},
|
|
"configuration": {
|
|
"factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
|
|
"schema": "./src/generators/configuration/schema.json",
|
|
"description": "Add Storybook configuration to a UI library or an application.",
|
|
"hidden": false
|
|
},
|
|
"convert-to-inferred": {
|
|
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
"description": "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."
|
|
},
|
|
"migrate-8": {
|
|
"factory": "./src/generators/migrate-8/migrate-8",
|
|
"schema": "./src/generators/migrate-8/schema.json",
|
|
"description": "Migrate to Storybook version 8.",
|
|
"hidden": false
|
|
},
|
|
"migrate-9": {
|
|
"factory": "./src/generators/migrate-9/migrate-9",
|
|
"schema": "./src/generators/migrate-9/schema.json",
|
|
"description": "Migrate to Storybook version 9.",
|
|
"hidden": false
|
|
}
|
|
}
|
|
}
|