Skip to content

Commit

Permalink
fix: fix storybook with node version
Browse files Browse the repository at this point in the history
  • Loading branch information
AssisrMatheus committed Oct 19, 2022
1 parent a81e0c2 commit 9a738f5
Show file tree
Hide file tree
Showing 11 changed files with 41,355 additions and 18,290 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
'plugin:react/recommended',
'prettier/react',
'plugin:react-hooks/recommended',
'plugin:storybook/recommended',
'plugin:prettier/recommended' // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
plugins: ['import'],
Expand Down
5 changes: 5 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
staticDirs: ['../public'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
Expand All @@ -15,6 +16,10 @@ module.exports = {
'@storybook/addon-a11y',
'@whitespace/storybook-addon-html'
],
core: {
// builder: '@storybook/builder-vite'
builder: 'webpack5'
},
babel: async (options) => ({
...options,
// If updating the plugin list make sure you update .babelrc as well, and vice versa
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [8.0.1] 2022-10-19

### Fixed

- Fixes issue with storybook and updated node

## [8.0.0] 2022-10-19

### Changes
Expand Down
Loading

0 comments on commit 9a738f5

Please sign in to comment.