Skip to content

Commit

Permalink
⬆️ [#49] update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkiysendoorn1 committed Mar 18, 2024
1 parent c2c9de9 commit 274c5c1
Show file tree
Hide file tree
Showing 6 changed files with 6,236 additions and 7,600 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
20
38 changes: 20 additions & 18 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
import path from 'path';
import type {StorybookConfig} from '@storybook/react-webpack5';
import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';

module.exports = {
features: {
interactionsDebugger: true,
const config: StorybookConfig = {
core: {
disableTelemetry: true,
disableWhatsNewNotifications: true,
},
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
framework: {
name: '@storybook/react-webpack5',
options: {},
},
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'storybook-react-intl',
],
core: {
disableTelemetry: true,
builder: 'webpack5',
docs: {
autodocs: 'tag',
},
framework: '@storybook/react',

webpackFinal: (config: { resolve: { plugins: TsconfigPathsPlugin[]; }; }) => {
config.resolve.plugins = config.resolve.plugins || [];
config.resolve.plugins.push(
new TsconfigPathsPlugin({
configFile: path.resolve(__dirname, '../tsconfig.json'),
})
);

webpackFinal: async config => {
if (!config.resolve) {
config.resolve = {};
}
config.resolve.plugins = [new TsconfigPathsPlugin()];
return config;
},
};

export default config;
Loading

0 comments on commit 274c5c1

Please sign in to comment.