Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.17
18.18
12 changes: 2 additions & 10 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ const StylelintWebpackPlugin = require('stylelint-webpack-plugin');
const YAML = require('yaml');

module.exports = {
staticDirs: [path.resolve(__dirname, '../public')],
staticDirs: ['../public'],
stories: ['../source/**/*.stories.@(js|jsx|ts|tsx)', '../source/**/*.mdx'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
{
name: '@storybook/addon-styling',
options: {
postcssLoaderOptions: {
implementation: require('postcss'),
},
},
},
'@storybook/addon-a11y',
],
framework: {
Expand All @@ -26,7 +18,7 @@ module.exports = {
webpackFinal: async config => {
config.plugins.push(
new StylelintWebpackPlugin({
exclude: ['node_modules', 'storybook'],
exclude: ['node_modules', 'storybook', '.next'],
}),
);
config.module.rules.find(
Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import theme from './theme';

addons.setConfig({
Expand Down
1 change: 1 addition & 0 deletions .storybook/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const storybookTheme = create({
appContentBg: '#fff',
barBg: '#19013A',
barSelectedColor: '#EE2737',
barHoverColor: '#EE2737',
barTextColor: '#fff',
base: 'light',
brandTitle: 'Forum One',
Expand Down
Loading