Skip to content

Commit

Permalink
#1406 - locked upgraded SB version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jura committed Nov 19, 2024
1 parent a2f65e7 commit bb37022
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 189 deletions.
31 changes: 16 additions & 15 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ const path = require('path');
const config = {
staticDirs: ['../stories/assets'],
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)', '../stories/**/*.mdx'],
addons: [
'@storybook/addon-links',
{
name: '@storybook/addon-essentials',
options: {
actions: false, // 👈 disable the actions addon
},

addons: ['@storybook/addon-links', {
name: '@storybook/addon-essentials',
options: {
actions: false, // 👈 disable the actions addon
},
// 'storybook-addon-rtl',
'@storybook/blocks',
'@storybook/addon-a11y',
'@storybook/react-webpack5',
// '@chromatic-com/storybook',
'@storybook/addon-webpack5-compiler-babel',
'@whitespace/storybook-addon-html'
],
}, // 'storybook-addon-rtl',
'@storybook/blocks', '@storybook/addon-a11y', '@storybook/react-webpack5', // '@chromatic-com/storybook',
'@storybook/addon-webpack5-compiler-babel', '@whitespace/storybook-addon-html'],

webpackFinal: async config => {
config.resolve.alias = {
...config.resolve.alias,
Expand All @@ -43,9 +37,16 @@ const config = {

return config;
},

framework: {
name: '@storybook/react-webpack5'
},

docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
};

export default config;
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ export default {
parameters: parameters,
globalTypes: globalTypes,
decorators: [getLangCode, sbFrameReset, setDirection, setAccentClass],
tags: ['autodocs'],
tags: ['autodocs', 'autodocs'],
}
Loading

0 comments on commit bb37022

Please sign in to comment.