31 lines
1.9 KiB
JSON
31 lines
1.9 KiB
JSON
{
|
|
"name": "change-storybook-targets",
|
|
"factory": "./src/generators/change-storybook-targets/change-storybook-targets",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "NxAngularChangeStorybookTargetsGenerator",
|
|
"title": "Change Storybook targets",
|
|
"description": "Change the Storybook target executors.",
|
|
"type": "object",
|
|
"cli": "nx",
|
|
"properties": {
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"x-priority": "internal"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"examplesFile": "This generator will change the `storybook` and `build-storybook` targets in all your Angular projects that are configured to use Storybook. The new target configuration will use the native Storybook builders (`@storybook/angular:build-storybook` and `@storybook/angular:start-storybook`) instead of the Nx Storybook builders (`@nrwl/storybook:build-storybook` and `@nrwl/storybook:storybook`).\n\nThis generator is usually invoked through a migrator, when you are using `nx migrate` to upgrade your workspace to Nx `14.1.8` or later.\n\nIf you are on Nx `14.1.8` or later and you did not use `nx migrate`, you can run this generator manually by running the following command:\n\n```bash\nnx g @nrwl/angular:change-storybook-targets\n```\n\nYou can read more about how this generator works, and why we are changing the Storybook targets, in the [Angular Storybook targets documentation page](/packages/storybook/documents/angular-storybook-targets).\n",
|
|
"presets": []
|
|
},
|
|
"description": "Change storybook targets for Angular projects to use @storybook/angular executors",
|
|
"implementation": "/packages/angular/src/generators/change-storybook-targets/change-storybook-targets.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/angular/src/generators/change-storybook-targets/schema.json",
|
|
"type": "generator"
|
|
}
|