From 710f1be63b536aacb9435e8ab751b6660f2ec02e Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 23 Feb 2023 21:28:34 +0100 Subject: [PATCH] remove .stories from mdx files. It can cause problems --- src/Umbraco.Web.UI.Client/.storybook/main.ts | 34 +++++++++---------- ...ification.stories.mdx => notification.mdx} | 0 .../stories/{debug.stories.mdx => debug.mdx} | 0 .../modal/{modal.stories.mdx => modal.mdx} | 0 ...{contextapi.stories.mdx => contextapi.mdx} | 0 ...started.stories.mdx => gettingstarted.mdx} | 0 .../stories/{store.stories.mdx => store.mdx} | 0 ...{umbelement.stories.mdx => umbelement.mdx} | 0 8 files changed, 17 insertions(+), 17 deletions(-) rename src/Umbraco.Web.UI.Client/libs/notification/{notification.stories.mdx => notification.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/stories/{debug.stories.mdx => debug.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/core/modal/{modal.stories.mdx => modal.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/stories/{contextapi.stories.mdx => contextapi.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/stories/{gettingstarted.stories.mdx => gettingstarted.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/stories/{store.stories.mdx => store.mdx} (100%) rename src/Umbraco.Web.UI.Client/src/stories/{umbelement.stories.mdx => umbelement.mdx} (100%) diff --git a/src/Umbraco.Web.UI.Client/.storybook/main.ts b/src/Umbraco.Web.UI.Client/.storybook/main.ts index d99db4dad5..b6bb733d13 100644 --- a/src/Umbraco.Web.UI.Client/.storybook/main.ts +++ b/src/Umbraco.Web.UI.Client/.storybook/main.ts @@ -1,21 +1,21 @@ import { StorybookConfig } from '@storybook/web-components-vite'; const config: StorybookConfig = { - stories: ['../@(src|libs|apps)/**/*.stories.mdx', '../@(src|libs|apps)/**/*.stories.@(js|jsx|ts|tsx)'], - addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-a11y'], - framework: { - name: '@storybook/web-components-vite', - options: {} - }, - features: { - storyStoreV7: true - }, - staticDirs: ['../public-assets'], - typescript: { - check: true, - }, - docs: { - autodocs: true - } + stories: ['../@(src|libs|apps)/**/*.mdx', '../@(src|libs|apps)/**/*.stories.@(js|jsx|ts|tsx)'], + addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-a11y'], + framework: { + name: '@storybook/web-components-vite', + options: {}, + }, + features: { + storyStoreV7: true, + }, + staticDirs: ['../public-assets'], + typescript: { + check: true, + }, + docs: { + autodocs: true, + }, }; -export default config; \ No newline at end of file +export default config; diff --git a/src/Umbraco.Web.UI.Client/libs/notification/notification.stories.mdx b/src/Umbraco.Web.UI.Client/libs/notification/notification.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/libs/notification/notification.stories.mdx rename to src/Umbraco.Web.UI.Client/libs/notification/notification.mdx diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/stories/debug.stories.mdx b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/stories/debug.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/stories/debug.stories.mdx rename to src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/stories/debug.mdx diff --git a/src/Umbraco.Web.UI.Client/src/core/modal/modal.stories.mdx b/src/Umbraco.Web.UI.Client/src/core/modal/modal.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/core/modal/modal.stories.mdx rename to src/Umbraco.Web.UI.Client/src/core/modal/modal.mdx diff --git a/src/Umbraco.Web.UI.Client/src/stories/contextapi.stories.mdx b/src/Umbraco.Web.UI.Client/src/stories/contextapi.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/stories/contextapi.stories.mdx rename to src/Umbraco.Web.UI.Client/src/stories/contextapi.mdx diff --git a/src/Umbraco.Web.UI.Client/src/stories/gettingstarted.stories.mdx b/src/Umbraco.Web.UI.Client/src/stories/gettingstarted.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/stories/gettingstarted.stories.mdx rename to src/Umbraco.Web.UI.Client/src/stories/gettingstarted.mdx diff --git a/src/Umbraco.Web.UI.Client/src/stories/store.stories.mdx b/src/Umbraco.Web.UI.Client/src/stories/store.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/stories/store.stories.mdx rename to src/Umbraco.Web.UI.Client/src/stories/store.mdx diff --git a/src/Umbraco.Web.UI.Client/src/stories/umbelement.stories.mdx b/src/Umbraco.Web.UI.Client/src/stories/umbelement.mdx similarity index 100% rename from src/Umbraco.Web.UI.Client/src/stories/umbelement.stories.mdx rename to src/Umbraco.Web.UI.Client/src/stories/umbelement.mdx