0.4.0 • Published 2 months ago

@takuma-ru/auto-story-generator v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

@takuma-ru/auto-story-generator

asg-thumbnail

Description

Automatic real-time story file generation from React, Vue, Angular and Lit component files

Getting Started

1. Install the package

npm i @takuma-ru/auto-story-generator

2. Add config

Add settings to main.ts in Storybook (./storybook/main.ts)

For React, Vite

import type { StorybookConfig } from "@storybook/react-vite";

import autoStoryGenerator from "@takuma-ru/auto-story-generator";

import { mergeConfig } from "vite";

const config: StorybookConfig = {
  viteFinal: async config =>
    mergeConfig(config, {
      plugins: [
        autoStoryGenerator.vite({
          preset: "react",
          imports: ["src/components/**/*.tsx"],
        }),
      ],
    }),
};

export default config;

Supported Frameworks

✅: Supported 🚧: Work in progress ❌: Not supported 📝: Not yet implemented

FrameworkSupported
React
Vue🚧
Lit
Angular🚧
Svelte📝
Custom📝

Contributors

Main contributor

npm.io takuma-ru : Core API, React presets more...

Special thanks

0.4.0

2 months ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.10-beta.0

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5-beta.0

1 year ago

0.2.5

1 year ago

0.2.6-beta.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.1.2

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3-0

1 year ago

0.0.2

1 year ago

0.0.2-beta.3

1 year ago

0.0.2-beta.0

1 year ago

0.0.2-beta.1

1 year ago

0.0.2-beta.2

1 year ago

0.0.1-beta.0

1 year ago