UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

57 lines (56 loc) 1.79 kB
{ "$schema": "https://json-schema.org/schema", "$id": "NxAngularStorybookStoriesGenerator", "title": "Create Storybook stories/specs", "description": "Creates Storybook stories/specs for all Angular components declared in a project.", "cli": "nx", "type": "object", "properties": { "name": { "type": "string", "aliases": ["project", "projectName"], "description": "Project for which to generate stories.", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What's the name of the project for which you want to generate stories?", "x-dropdown": "projects", "x-priority": "important" }, "interactionTests": { "type": "boolean", "description": "Set up Storybook interaction tests.", "x-prompt": "Do you want to set up Storybook interaction tests?", "x-priority": "important", "default": true }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "ignorePaths": { "type": "array", "description": "Paths to ignore when looking for components.", "items": { "type": "string", "description": "Path to ignore." }, "default": [ "*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx" ], "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ] } }, "additionalProperties": false, "required": ["name"], "examplesFile": "../../../docs/stories-examples.md" }