From b4598c22c985122304ead0efefdcbb404f72c779 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Tue, 19 Nov 2019 22:34:19 +0100 Subject: [PATCH 1/2] Fix stories glob --- examples/official-storybook/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/official-storybook/main.js b/examples/official-storybook/main.js index ebd5bdbf7d7e..20c98e932aa9 100644 --- a/examples/official-storybook/main.js +++ b/examples/official-storybook/main.js @@ -3,7 +3,7 @@ module.exports = { stories: [ '../../lib/ui/src/**/*.stories./(js|tsx|mdx)', '../../lib/components/src/**/*.stories.(js|tsx|mdx)', - './stories/*.stories.(js|tsx|mdx)', + './stories/**/*.stories.(js|tsx|mdx)', ], addons: [ '@storybook/addon-storysource/register', From e57b6c5f1fe13312d86395103b49132fd1b3b4c5 Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Wed, 20 Nov 2019 01:19:25 +0100 Subject: [PATCH 2/2] Fix lib/ui stories glob --- examples/official-storybook/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/official-storybook/main.js b/examples/official-storybook/main.js index 20c98e932aa9..74dadf2bd338 100644 --- a/examples/official-storybook/main.js +++ b/examples/official-storybook/main.js @@ -1,7 +1,7 @@ module.exports = { presets: ['@storybook/addon-docs/preset'], stories: [ - '../../lib/ui/src/**/*.stories./(js|tsx|mdx)', + '../../lib/ui/src/**/*.stories.(js|tsx|mdx)', '../../lib/components/src/**/*.stories.(js|tsx|mdx)', './stories/**/*.stories.(js|tsx|mdx)', ],