## Current Behavior We currently do not have support for Storybook 9, nor any migrations to help users switch to it. ## Expected Behavior Support Storybook 9 and add a migration for users to switch to v9 BREAKING CHANGE: Remove deprecated generators: `@nx/storybook:cypress-project`, `@nx/react-native:storybook-configuration`, `@nx/react-native:stories`, `@nx/react-native:component-story`
33 lines
654 B
TypeScript
33 lines
654 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
import { TargetExecutorTitle } from './target-executor-title';
|
|
|
|
const meta: Meta<typeof TargetExecutorTitle> = {
|
|
component: TargetExecutorTitle,
|
|
title: 'TargetExecutorTitle',
|
|
};
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof TargetExecutorTitle>;
|
|
|
|
export const Command: Story = {
|
|
args: {
|
|
command: 'nx run my-app:build',
|
|
},
|
|
};
|
|
|
|
export const Commands: Story = {
|
|
args: {
|
|
commands: ['nx run my-app:build', 'nx run my-app:test'],
|
|
},
|
|
};
|
|
|
|
export const Script: Story = {
|
|
args: {
|
|
script: 'nx run my-app:build',
|
|
},
|
|
};
|
|
|
|
export const Executor: Story = {
|
|
args: {},
|
|
};
|