* feat(angular): upgrade Angular to v12.0.0-rc.3 * feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade * fix(angular): use defaultConfiguration if no other configuration is passed * cleanup(angular): sync migration folder name to target version * fix(repo): creating custom schema flattener for docs * chore(repo): amend yarn.lock * feat(angular): update angular storybook to use webpack 5 * fix(angular): add legacy peer deps for angular+jest * fix(angular): move migrations to 12.3.0-rc.0 Co-authored-by: Zack DeRose <zack.derose@gmail.com> Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
1.0 KiB
1.0 KiB
configuration
Add storybook configuration to a ui library or an application
Usage
nx generate configuration ...
By default, Nx will search for configuration in the default collection provisioned in angular.json.
You can specify the collection explicitly as follows:
nx g @nrwl/storybook:configuration ...
Show what will be generated without writing to disk:
nx g configuration ... --dry-run
Options
configureCypress
Type: boolean
Run the cypress-configure generator
cypressDirectory
Type: string
A directory where the Cypress project will be placed. Added at root by default.
js
Default: false
Type: boolean
Generate JavaScript files rather than TypeScript files
linter
Default: eslint
Type: string
Possible values: eslint, tslint, none
The tool to use for running lint checks.
name
Type: string
Library or application name
uiFramework
Type: string
Possible values: @storybook/angular, @storybook/react
Storybook UI Framework to use