Skip to content

Commit 48b523d

Browse files
author
Nora Tarano
committed
[breaking][deps] Update all dependencies
- Drop support for node < 6 - Update: @storybook, webpack, react-with-styles, react-with-direction, react-with-styles-interface-aphrodite, react-with-styles-interface-css, react-with-styles-interface-css-compiler
1 parent 2bf76ad commit 48b523d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.storybook/config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React from 'react';
2+
23
if (process.env.NODE_ENV !== 'production') {
3-
const { whyDidYouUpdate } = require('why-did-you-update');
4-
whyDidYouUpdate(React);
4+
const whyDidYouRender = require('@welldone-software/why-did-you-render');
5+
whyDidYouRender(React);
56
}
67

78
import moment from 'moment';

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858
"@storybook/addon-info": "^5.1.11",
5959
"@storybook/addon-links": "^5.1.11",
6060
"@storybook/addon-options": "^5.1.11",
61+
"@storybook/addons": "^5.1.11",
6162
"@storybook/react": "^5.1.11",
63+
"@welldone-software/why-did-you-render": "^3.3.1",
6264
"airbnb-js-shims": "^2.2.0",
6365
"aphrodite": "^2.3.1",
6466
"babel-loader": "^8.0.6",
@@ -99,16 +101,15 @@
99101
"react": "^0.14 || ^15.5.4 || ^16.1.1",
100102
"react-dom": "^0.14 || ^15.5.4 || ^16.1.1",
101103
"react-with-styles-interface-aphrodite": "^6.0.0",
102-
"react-with-styles-interface-css-compiler": "^2.1.0",
104+
"react-with-styles-interface-css-compiler": "^2.2.0",
103105
"rimraf": "^2.6.3",
104106
"safe-publish-latest": "^1.1.3",
105107
"sass-loader": "^7.2.0",
106108
"sinon": "^7.4.1",
107109
"sinon-sandbox": "^2.0.5",
108110
"style-loader": "^0.20.3",
109111
"typescript": "*",
110-
"webpack": "^4.31.0",
111-
"why-did-you-update": "^1.0.6"
112+
"webpack": "^4.31.0"
112113
},
113114
"dependencies": {
114115
"@babel/runtime": "^7.5.5",
@@ -125,8 +126,8 @@
125126
"react-outside-click-handler": "^1.2.4",
126127
"react-portal": "^4.2.0",
127128
"react-with-direction": "^1.3.1",
128-
"react-with-styles": "^3.2.3",
129-
"react-with-styles-interface-css": "^5.0.0"
129+
"react-with-styles": "^4.0.0",
130+
"react-with-styles-interface-css": "^6.0.0"
130131
},
131132
"peerDependencies": {
132133
"moment": "^2.18.1",

0 commit comments

Comments
 (0)