open-index/open-npm huggingface dataset:
npm package: @gridscale/ngx-storybook-schematics
Description: Schematics for Angular & Storybook workshops
Latest version: 1.0.7

# Schematics for Angular and Storybook Workshops

[![npm version](https://badge.fury.io/js/%40ngx-storybook%2Fschematics.svg)](https://badge.fury.io/js/%40ngx-storybook%2Fschematics)

## Installation

```shell script
ng add @ngx-storybook/schematics
```

This schematic automatically adjusts `.storybook/config.js` to include all `stories.ts` files inside the `src` folder, not only from `src/stories`.

## Usage

### `component` (alias: `c`)

```shell script
ng g @ngx-storybook/schematics:c button
```

This command creates a module, component and a story with the given name.

### `stories` (alias: `s`)

```shell script
ng g @ngx-storybook/schematics:s my-stories
```

This command creates a stories file with the given name.