From 733b31d40c6ed3411380f6bba77560741d9fd798 Mon Sep 17 00:00:00 2001 From: Ricardo Amaral Date: Wed, 20 Mar 2024 18:22:54 +0000 Subject: [PATCH] chore: Remove `TypistEditor` reference from Storybook --- .storybook/main.ts | 7 ------- package-lock.json | 1 - package.json | 1 - .../{typist-editor.mdx => typist-editor.mdx.disabled} | 0 4 files changed, 9 deletions(-) rename stories/documentation/reference/components/{typist-editor.mdx => typist-editor.mdx.disabled} (100%) diff --git a/.storybook/main.ts b/.storybook/main.ts index abaa742d..797748e0 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -10,13 +10,6 @@ const config: StorybookConfig = { options: {}, }, stories: [{ directory: '../stories' }], - typescript: { - // This causes the warning "The CJS build of Vite's Node API is deprecated" when running - // Storybook. The warning goes away when using `react-docgen` instead, however, it doesn't - // generate the full table of properties for components that use TypeScript. - // ref: https://github.com/storybookjs/storybook/discussions/26551 - reactDocgen: 'react-docgen-typescript', - }, addons: [ { name: '@storybook/addon-essentials', diff --git a/package-lock.json b/package-lock.json index cc7bf20c..b2797f5c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,6 @@ "npm-run-all2": "6.1.2", "prettier": "3.2.5", "react": "18.2.0", - "react-docgen-typescript": "2.2.2", "react-dom": "18.2.0", "react-icons": "5.0.1", "react-markdown": "9.0.1", diff --git a/package.json b/package.json index 7769eda1..cda2fbe0 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,6 @@ "npm-run-all2": "6.1.2", "prettier": "3.2.5", "react": "18.2.0", - "react-docgen-typescript": "2.2.2", "react-dom": "18.2.0", "react-icons": "5.0.1", "react-markdown": "9.0.1", diff --git a/stories/documentation/reference/components/typist-editor.mdx b/stories/documentation/reference/components/typist-editor.mdx.disabled similarity index 100% rename from stories/documentation/reference/components/typist-editor.mdx rename to stories/documentation/reference/components/typist-editor.mdx.disabled