Skip to content

Commit

Permalink
Merge pull request #97 from smooth-code/upgrade-dependencies
Browse files Browse the repository at this point in the history
chore: upgrade dependencies
  • Loading branch information
gregberge authored May 14, 2018
2 parents 538b73f + bd3cf8b commit 44c5560
Show file tree
Hide file tree
Showing 5 changed files with 1,118 additions and 742 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CHANGELOG.md
package.json
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,40 @@
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.0.0-beta.40",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.40",
"@babel/cli": "^7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.46",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.1",
"babel-eslint": "^8.2.3",
"babel-jest": "^22.4.3",
"babel-loader": "^7.1.4",
"codecov": "^3.0.0",
"conventional-github-releaser": "^2.0.0",
"eslint": "^4.18.2",
"codecov": "^3.0.2",
"conventional-github-releaser": "^2.0.2",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.9.0",
"jest": "^22.4.2",
"eslint-plugin-import": "^2.11.0",
"jest": "^22.4.3",
"memory-fs": "^0.4.1",
"react": "^16.2.0",
"react": "^16.3.2",
"standard-version": "^4.3.0",
"webpack": "^4.1.1"
"webpack": "^4.8.3"
},
"dependencies": {
"@babel/core": "^7.0.0-beta.40",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.40",
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.40",
"@babel/preset-env": "^7.0.0-beta.40",
"@babel/preset-react": "^7.0.0-beta.40",
"chalk": "^2.3.2",
"commander": "^2.15.0",
"@babel/core": "^7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46",
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/preset-react": "^7.0.0-beta.46",
"chalk": "^2.4.1",
"commander": "^2.15.1",
"glob": "^7.1.2",
"h2x-core": "^0.1.9",
"h2x-plugin-jsx": "^0.1.9",
"h2x-core": "^1.0.0",
"h2x-plugin-jsx": "^1.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.5",
"lodash": "^4.17.10",
"mz": "^2.6.0",
"output-file-sync": "^2.0.1",
"prettier": "^1.11.1",
"prettier": "^1.12.1",
"recursive-readdir": "^2.2.2",
"svgo": "^1.0.5"
},
Expand Down
4 changes: 3 additions & 1 deletion src/__snapshots__/webpack.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export default SvgComponent;"
exports[`webpack loader should convert file 1`] = `
"import React from \\"react\\";
var _ref = React.createElement(\\"svg\\", {
var _ref =
/*#__PURE__*/
React.createElement(\\"svg\\", {
width: 88,
height: 88,
viewBox: \\"0 0 88 88\\"
Expand Down
5 changes: 3 additions & 2 deletions src/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import MemoryFs from 'memory-fs'

function compile(rules) {
const compiler = webpack({
context: path.resolve(__dirname),
mode: 'development',
context: __dirname,
entry: './__fixtures__/icon.svg',
output: {
path: path.resolve(__dirname),
path: __dirname,
filename: 'bundle.js',
},
module: { rules },
Expand Down
Loading

0 comments on commit 44c5560

Please sign in to comment.