Skip to content

Commit 3edaca9

Browse files
committed
update: bump to react@^16.14.0 and storybook 6.1.6
1 parent 74d98ac commit 3edaca9

File tree

3 files changed

+122
-257
lines changed

3 files changed

+122
-257
lines changed

Diff for: .storybook/main.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
const path = require("path");
1+
const path = require('path');
22

33
module.exports = {
4-
stories: ["../src/**/*.stories.tsx"],
4+
stories: ['../src/**/*.stories.tsx'],
55
// Add any Storybook addons you want here: https://storybook.js.org/addons/
66
addons: [],
77
webpackFinal: async (config) => {
88
config.module.rules.push({
99
test: /\.scss$/,
10-
use: ["style-loader", "css-loader", "sass-loader"],
11-
include: path.resolve(__dirname, "../")
10+
use: ['style-loader', 'css-loader', 'sass-loader'],
11+
include: path.resolve(__dirname, '../'),
1212
});
1313

1414
config.module.rules.push({
1515
test: /\.(ts|tsx)$/,
16-
loader: require.resolve("babel-loader"),
16+
loader: require.resolve('babel-loader'),
1717
options: {
18-
presets: [["react-app", { flow: false, typescript: true }]]
19-
}
18+
presets: [['react-app', { flow: false, typescript: true }]],
19+
},
2020
});
21-
config.resolve.extensions.push(".ts", ".tsx");
21+
config.resolve.extensions.push('.ts', '.tsx');
2222

2323
return config;
24-
}
24+
},
2525
};

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@rollup/plugin-commonjs": "^11.1.0",
4747
"@rollup/plugin-image": "^2.0.5",
4848
"@rollup/plugin-node-resolve": "^7.1.3",
49-
"@storybook/react": "^6.1.2",
49+
"@storybook/react": "^6.1.6",
5050
"@testing-library/jest-dom": "^5.5.0",
5151
"@types/jest": "^24.0.24",
5252
"@types/react": "^16.9.12",
@@ -70,8 +70,8 @@
7070
"lint-staged": "^10.5.2",
7171
"node-sass": "^4.14.1",
7272
"prettier": "2.2.0",
73-
"react": "^16.13.1",
74-
"react-dom": "^16.13.1",
73+
"react": "^16.14.0",
74+
"react-dom": "^16.14.0",
7575
"rollup": "^1.27.4",
7676
"rollup-plugin-copy": "^3.3.0",
7777
"rollup-plugin-peer-deps-external": "^2.2.0",

0 commit comments

Comments
 (0)