Skip to content

Commit

Permalink
Update dependencies; bump react to v16.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzzy committed Nov 14, 2017
1 parent 8bf7e66 commit 9fa8148
Show file tree
Hide file tree
Showing 8 changed files with 196 additions and 137 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"pretty-error": "^2.1.1",
"prop-types": "^15.6.0",
"query-string": "^5.0.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"sequelize": "^4.20.3",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"sequelize": "^4.22.6",
"serialize-javascript": "^1.3.0",
"source-map-support": "^0.5.0",
"sqlite3": "^3.1.8",
Expand All @@ -56,10 +56,10 @@
"browser-sync": "^2.18.13",
"chokidar": "^1.7.0",
"css-loader": "^0.28.7",
"enzyme": "^3.1.0",
"eslint": "^4.10.0",
"enzyme": "^3.1.1",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.6.0",
"eslint-config-prettier": "^2.7.0",
"eslint-import-resolver-node": "^0.3.1",
"eslint-loader": "^1.9.0",
"eslint-plugin-css-modules": "^2.7.5",
Expand All @@ -69,22 +69,22 @@
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"file-loader": "^1.1.5",
"flow-bin": "^0.57.3",
"front-matter": "^2.2.0",
"flow-bin": "^0.59.0",
"front-matter": "^2.3.0",
"glob": "^7.1.2",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^21.2.1",
"jscodeshift": "^0.3.32",
"lint-staged": "^4.3.0",
"lint-staged": "^5.0.0",
"markdown-it": "^8.4.0",
"mkdirp": "^0.5.1",
"null-loader": "^0.1.1",
"pixrem": "^4.0.1",
"pleeease-filters": "^4.0.0",
"postcss": "^6.0.13",
"postcss": "^6.0.14",
"postcss-calc": "^6.0.1",
"postcss-color-function": "^4.0.0",
"postcss-color-function": "^4.0.1",
"postcss-custom-media": "^6.0.0",
"postcss-custom-properties": "^6.2.0",
"postcss-custom-selectors": "^4.0.1",
Expand All @@ -97,20 +97,20 @@
"postcss-pseudoelements": "^5.0.0",
"postcss-selector-matches": "^3.0.1",
"postcss-selector-not": "^3.0.1",
"prettier": "^1.7.4",
"prettier": "^1.8.2",
"raw-loader": "^0.5.1",
"react-deep-force-update": "^2.1.1",
"react-dev-utils": "^4.2.1",
"react-error-overlay": "^3.0.0",
"react-test-renderer": "^16.0.0",
"react-test-renderer": "^16.1.1",
"rimraf": "^2.6.2",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-order": "^0.7.0",
"svg-url-loader": "^2.3.0",
"url-loader": "^0.6.2",
"webpack": "^3.8.1",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-bundle-analyzer": "^2.9.1",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.20.0",
"webpack-node-externals": "^1.6.0"
Expand Down
5 changes: 3 additions & 2 deletions src/components/Html.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ class Html extends React.Component {
dangerouslySetInnerHTML={{
__html:
'window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;' +
`ga('create','${config.analytics
.googleTrackingId}','auto');ga('send','pageview')`,
`ga('create','${
config.analytics.googleTrackingId
}','auto');ga('send','pageview')`,
}}
/>
)}
Expand Down
8 changes: 6 additions & 2 deletions src/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ passport.use(
profile: {
displayName: profile.displayName,
gender: profile._json.gender,
picture: `https://graph.facebook.com/${profile.id}/picture?type=large`,
picture: `https://graph.facebook.com/${
profile.id
}/picture?type=large`,
},
},
{
Expand Down Expand Up @@ -111,7 +113,9 @@ passport.use(
profile: {
displayName: profile.displayName,
gender: profile._json.gender,
picture: `https://graph.facebook.com/${profile.id}/picture?type=large`,
picture: `https://graph.facebook.com/${
profile.id
}/picture?type=large`,
},
},
{
Expand Down
5 changes: 3 additions & 2 deletions tools/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ async function render() {
await writeFile(dist, text);
const time = timeEnd.getTime() - timeStart.getTime();
console.info(
`#${index +
1} ${dist} => ${response.status} ${response.statusText} (${time} ms)`,
`#${index + 1} ${dist} => ${response.status} ${response.statusText} (${
time
} ms)`,
);
}),
);
Expand Down
12 changes: 6 additions & 6 deletions tools/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ function run(fn, options) {
const task = typeof fn.default === 'undefined' ? fn : fn.default;
const start = new Date();
console.info(
`[${format(start)}] Starting '${task.name}${options
? ` (${options})`
: ''}'...`,
`[${format(start)}] Starting '${task.name}${
options ? ` (${options})` : ''
}'...`,
);
return task(options).then(resolution => {
const end = new Date();
const time = end.getTime() - start.getTime();
console.info(
`[${format(end)}] Finished '${task.name}${options
? ` (${options})`
: ''}' after ${time} ms`,
`[${format(end)}] Finished '${task.name}${
options ? ` (${options})` : ''
}' after ${time} ms`,
);
return resolution;
});
Expand Down
4 changes: 3 additions & 1 deletion tools/runServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ function runServer() {
server.once('exit', (code, signal) => {
if (pending) {
throw new Error(
`Server terminated unexpectedly with code: ${code} signal: ${signal}`,
`Server terminated unexpectedly with code: ${code} signal: ${
signal
}`,
);
}
});
Expand Down
6 changes: 3 additions & 3 deletions tools/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function createCompilationPromise(name, compiler, config) {
reject(new Error('Compilation failed!'));
} else {
console.info(
`[${format(
timeEnd,
)}] Finished '${name}' compilation after ${time} ms`,
`[${format(timeEnd)}] Finished '${name}' compilation after ${
time
} ms`,
);
resolve(stats);
}
Expand Down
Loading

0 comments on commit 9fa8148

Please sign in to comment.