Skip to content

Commit

Permalink
fix: storybook problems
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcater committed May 22, 2021
1 parent 2a2f1d0 commit 1be4270
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 213 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
# node
node_modules/

# nvm
.nvmrc

# Logs
logs
*.log
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.9.0
1 change: 0 additions & 1 deletion configuration/storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-param-reassign */

const path = require('path');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin').default;

Expand Down
9 changes: 9 additions & 0 deletions configuration/storybook/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable global-require */
module.exports = {
plugins: [
require('postcss-flexbugs-fixes'),
require('autoprefixer')({
flexbox: 'no-2009',
}),
],
};
24 changes: 12 additions & 12 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1610,9 +1610,9 @@
"@types/lodash" "*"

"@types/lodash@*", "@types/lodash@^4.14.92":
version "4.14.169"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.169.tgz#83c217688f07a4d9ef8f28a3ebd1d318f6ff4cbb"
integrity sha512-DvmZHoHTFJ8zhVYwCLWbQ7uAbYQEk52Ev2/ZiQ7Y7gQGeV9pjBqjnQpECMHfKS1rCYAhMI7LHVxwyZLZinJgdw==
version "4.14.170"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.170.tgz#0d67711d4bf7f4ca5147e9091b847479b87925d6"
integrity sha512-bpcvu/MKHHeYX+qeEN8GE7DIravODWdACVA1ctevD8CN24RhPZIKMn9ntfAsrvLfSX3cR5RrBKAbYm9bGs0A+Q==

"@types/mdast@^3.0.0":
version "3.0.3"
Expand Down Expand Up @@ -1649,9 +1649,9 @@
form-data "^3.0.0"

"@types/node@*":
version "15.3.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.3.1.tgz#23a06b87eedb524016616e886b116b8fdcb180af"
integrity sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw==
version "15.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.6.0.tgz#f0ddca5a61e52627c9dcb771a6039d44694597bc"
integrity sha512-gCYSfQpy+LYhOFTKAeE8BkyGqaxmlFxe+n4DKM6DR0wzw/HISUE/hAmkC/KT8Sw5PCJblqg062b3z9gucv3k0A==

"@types/node@^14.14.10":
version "14.17.0"
Expand Down Expand Up @@ -1702,9 +1702,9 @@
csstype "^3.0.2"

"@types/readable-stream@^2.3.9":
version "2.3.9"
resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.9.tgz#40a8349e6ace3afd2dd1b6d8e9b02945de4566a9"
integrity sha512-sqsgQqFT7HmQz/V5jH1O0fvQQnXAJO46Gg9LRO/JPfjmVmGUlcx831TZZO3Y3HtWhIkzf3kTsNT0Z0kzIhIvZw==
version "2.3.10"
resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.10.tgz#0f1a512ca30bec5e53d3282133b9237a703e7562"
integrity sha512-xwSXvAv9x4B9Vj88AMZnFyEVLilz1EBxKvRUhGqIF4nJpRQBSTm7jS236X4Y9Y2qPsVvaMxwrGJlNhLHEahlFQ==
dependencies:
"@types/node" "*"
safe-buffer "*"
Expand Down Expand Up @@ -3273,9 +3273,9 @@ content-type@^1.0.4, content-type@~1.0.4:
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==

contentful-management@^7.5.1:
version "7.22.0"
resolved "https://registry.yarnpkg.com/contentful-management/-/contentful-management-7.22.0.tgz#7e6426e297183e659cd2bca985f21e696b509f5f"
integrity sha512-Vc4EcNTm8B4Q+l5vNge4V2MwGhEceBJWJ09NSgryANEaX3vaUe+XQplYvMTrs9xiVXvozcHDc+03JXPv1JYXmw==
version "7.22.2"
resolved "https://registry.yarnpkg.com/contentful-management/-/contentful-management-7.22.2.tgz#58931c1cae8aad2b11e4e5ee29f76f6bb263ecd7"
integrity sha512-NIdscTgo4EezPvs4zYi7aTm2IISX2G/DV0hZ1AlbtH8YTGqvMDX/gZJ0NcbDJ9aqwzv8c95AToGm5wwae5/cTA==
dependencies:
"@types/json-patch" "0.0.30"
axios "^0.21.0"
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-typescript": "^8.2.1",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/react": "^6.1.11",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/react": "^6.2.9",
"@sucrase/jest-plugin": "^2.1.0",
"@testing-library/react-hooks": "^6.0.0",
"@types/enzyme": "^3.10.8",
Expand All @@ -56,6 +57,7 @@
"@types/yargs": "^16.0.2",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"autoprefixer": "^10.2.5",
"chalk": "^4.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
Expand All @@ -78,6 +80,7 @@
"jest-axe": "^4.1.0",
"new-github-release-url": "^1.0.0",
"open": "^8.0.9",
"postcss-flexbugs-fixes": "^5.0.2",
"react-docgen-typescript": "^1.22.0",
"react-dom": "^16.14.0",
"rimraf": "^3.0.2",
Expand All @@ -102,5 +105,8 @@
"react-router-dom": "^5.2.0",
"react-textarea-autosize": "^8.3.2",
"react-transition-group": "^4.4.1"
},
"resolutions": {
"**/@babel/preset-env": "~7.12.0"
}
}
Loading

0 comments on commit 1be4270

Please sign in to comment.