{
  "cli": "nx",
  "title": "Add Storybook Configuration to the workspace",
  "description": "Add Storybook Configuration to the workspace.",
  "$id": "init-storybook-plugin",
  "type": "object",
  "properties": {
    "uiFramework": {
      "type": "string",
      "description": "Storybook UI Framework to use.",
      "enum": [
        "@storybook/angular",
        "@storybook/html-webpack5",
        "@storybook/nextjs",
        "@storybook/preact-webpack5",
        "@storybook/react-webpack5",
        "@storybook/react-vite",
        "@storybook/server-webpack5",
        "@storybook/svelte-webpack5",
        "@storybook/svelte-vite",
        "@storybook/sveltekit",
        "@storybook/vue-webpack5",
        "@storybook/vue-vite",
        "@storybook/vue3-webpack5",
        "@storybook/vue3-vite",
        "@storybook/web-components-webpack5",
        "@storybook/web-components-vite",
        "@storybook/react",
        "@storybook/html",
        "@storybook/web-components",
        "@storybook/vue",
        "@storybook/vue3",
        "@storybook/svelte",
        "@storybook/react-native"
      ],
      "x-prompt": "What UI framework plugin should storybook use?",
      "x-priority": "important"
    },
    "bundler": {
      "description": "The bundler to use.",
      "type": "string",
      "enum": ["vite", "webpack"],
      "x-prompt": "Which bundler do you want to use?",
      "default": "webpack",
      "x-priority": "important"
    },
    "storybook7betaConfiguration": {
      "description": "Configure your workspace to use Storybook 7, even though Storybook v7 is still in beta.",
      "type": "boolean",
      "default": false,
      "hidden": true
    },
    "js": {
      "type": "boolean",
      "description": "Generate JavaScript story files rather than TypeScript story files.",
      "default": false
    }
  }
}
