Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit 96e2ca0

Browse files
greenkeeper[bot]chrishelgert
authored andcommitted
Update webpack to the latest version 🚀 (#30)
* chore(package): update webpack to version 3.0.0 * generated yarn.lock * update dependencies * replaced proptypes from react with prop-types
1 parent 7583859 commit 96e2ca0

File tree

9 files changed

+946
-909
lines changed

9 files changed

+946
-909
lines changed

__tests__/components/EmptyHandler-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import renderer from 'react-test-renderer'
34
import EmptyHandler from '../../src/components/EmptyHandler'
45

__tests__/components/ErrorHandler-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import renderer from 'react-test-renderer'
34
import ErrorHandler from '../../src/components/ErrorHandler'
45

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,19 @@
3939
"babel-core": "^6.21.0",
4040
"babel-eslint": "^7.1.1",
4141
"babel-jest": "^20.0.0",
42-
"babel-loader": "^7.0.0",
42+
"babel-loader": "^7.1.1",
4343
"babel-plugin-transform-object-rest-spread": "^6.20.2",
4444
"babel-preset-es2015": "^6.18.0",
4545
"babel-preset-react": "^6.16.0",
4646
"cross-env": "^5.0.0",
4747
"jest": "^20.0.0",
48+
"prop-types": "^15.5.10",
4849
"react": "^15.4.1",
4950
"react-test-renderer": "^15.4.1",
5051
"rimraf": "^2.5.4",
5152
"snazzy": "^7.0.0",
5253
"standard": "^10.0.1",
53-
"webpack": "^2.3.0"
54+
"webpack": "^3.0.0"
5455
},
5556
"peerDependencies": {
5657
"react": "^15.4.1"

src/components/EmptyHandler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23

34
/**
45
* This Mini-Handler handles only the empty-state

src/components/ErrorEmptyHandler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import EmptyHandler from './EmptyHandler'
34
import ErrorHandler from './ErrorHandler'
45

src/components/ErrorHandler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23

34
/**
45
* This Mini-Handler handles only the error-state

src/components/Handler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import ErrorEmptyHandler from './ErrorEmptyHandler'
34
import LoadingHandler from './LoadingHandler'
45

src/components/LoadingHandler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23

34
/**
45
* This Mini-Handler handles only the loading-state

0 commit comments

Comments
 (0)