Skip to content

Commit

Permalink
chore: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
steven11329 committed Oct 29, 2024
1 parent ffa5b39 commit 27be058
Show file tree
Hide file tree
Showing 20 changed files with 6,873 additions and 7,789 deletions.
19 changes: 0 additions & 19 deletions .eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

15 changes: 6 additions & 9 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ const { mergeConfig } = require('vite');

module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@chromatic-com/storybook'
],
core: {
builder: '@storybook/builder-vite',
},
Expand All @@ -19,17 +23,10 @@ module.exports = {
},
},
viteFinal: async (config) => {
return mergeConfig(config, {
optimizeDeps: {
include: ['storybook-dark-mode'],
},
});
return mergeConfig(config);
},
framework: {
name: '@storybook/react-webpack5',
options: {},
},
docs: {
autodocs: true,
},
};
2 changes: 1 addition & 1 deletion .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const decorators = [
];

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
date: /Date$/,
Expand All @@ -37,3 +36,4 @@ export const parameters = {
],
},
};
export const tags = ['autodocs'];
Loading

0 comments on commit 27be058

Please sign in to comment.