Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com> Co-authored-by: Jack Hsu <jack.hsu@gmail.com> Co-authored-by: Colum Ferry <cferry09@gmail.com> Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com> Co-authored-by: Emily Xiong <xiongemi@gmail.com> Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "init",
|
|
"factory": "./src/generators/init/init#initGeneratorInternal",
|
|
"schema": {
|
|
"cli": "nx",
|
|
"title": "Add Storybook Configuration to the workspace",
|
|
"description": "Add Storybook Configuration to the workspace.",
|
|
"$id": "init-storybook-plugin",
|
|
"type": "object",
|
|
"properties": {
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"skipPackageJson": {
|
|
"description": "Do not add dependencies to `package.json`.",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"keepExistingVersions": {
|
|
"type": "boolean",
|
|
"x-priority": "internal",
|
|
"description": "Keep existing dependencies versions",
|
|
"default": false
|
|
},
|
|
"updatePackageScripts": {
|
|
"type": "boolean",
|
|
"x-priority": "internal",
|
|
"description": "Update `package.json` scripts with inferred targets",
|
|
"default": false
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"description": "Add Storybook configuration to the workspace.",
|
|
"aliases": ["ng-add"],
|
|
"hidden": true,
|
|
"implementation": "/packages/storybook/src/generators/init/init#initGeneratorInternal.ts",
|
|
"path": "/packages/storybook/src/generators/init/schema.json",
|
|
"type": "generator"
|
|
}
|