Storybook 8 fixes (#3937)
* Add globs for auto-generated CSF screenshot stories to main.js * Remove unneeded mdx files for screenshots * Glob for stories.js instead of just js files in the doc pages directory * Might as well update it to 8.3 while we're at it * Update knip config file to make it happy * Fix linter warning --------- Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
@@ -3,7 +3,7 @@ module.exports = {
|
||||
previewMdx2: true,
|
||||
},
|
||||
|
||||
stories: ['../.storybook/stories-category-doc-pages/**/*.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)', '../components/**/*.stories.@(js|jsx|ts|tsx)', '../pages/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
stories: ['../.storybook/stories-category-doc-pages/**/*.@(mdx|stories.js)', '../stories/**/*.stories.@(js|jsx|ts|tsx)', '../components/**/*.stories.@(js|jsx|ts|tsx)', '../pages/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
|
||||
addons: [
|
||||
'@storybook/addon-links',
|
||||
@@ -117,7 +117,5 @@ module.exports = {
|
||||
|
||||
staticDirs: ['../public', '../../static', './story-assets'],
|
||||
|
||||
docs: {
|
||||
autodocs: false,
|
||||
},
|
||||
docs: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user