Skip to content

Commit

Permalink
chore(storybook): adding migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini committed Mar 15, 2022
1 parent 080488c commit 555a9a6
Show file tree
Hide file tree
Showing 9 changed files with 1,431 additions and 13 deletions.
14 changes: 1 addition & 13 deletions docs/generated/api-storybook/executors/storybook.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Default: `@storybook/angular`

Type: `string`

Possible values: `@storybook/angular`, `@storybook/react`, `@storybook/html`, `@storybook/web-components`, `@storybook/vue`, `@storybook/vue3`, `@storybook/svelte`
Possible values: `@storybook/react`, `@storybook/html`, `@storybook/web-components`, `@storybook/vue`, `@storybook/vue3`, `@storybook/svelte`

Storybook framework npm package

Expand Down Expand Up @@ -87,18 +87,6 @@ Type: `array`

Directory where to load static files from, array of strings

### stylePreprocessorOptions.includePaths

Type: `array`

Options to pass to style preprocessors. The paths to include. Paths will be resolved to workspace root. This is for Angular projects only, as an option for the Storybook/Angular builder. It will be ignored in non-Angular projects.

### styles

Type: `array`

Global styles to be included in the build. This is for Angular projects only, as an option for the Storybook/Angular builder. It will be ignored in non-Angular projects.

### watch

Default: `true`
Expand Down
1 change: 1 addition & 0 deletions packages/devkit/src/executors/parse-target-string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type { Target } from 'nx/src/commands/run';
*/
export function parseTargetString(targetString: string): Target {
const [project, target, configuration] = targetString.split(':');
console.log('KATERINA', project, target, configuration);
if (!project || !target) {
throw new Error(`Invalid Target String: ${targetString}`);
}
Expand Down
Loading

0 comments on commit 555a9a6

Please sign in to comment.