{"action":"created","comment":{"url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/comments/222159329","pull_request_review_id":160980707,"id":222159329,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjE1OTMyOQ==","diff_hunk":"@@ -41,44 +41,43 @@\n     \"reflux\": \"^0.4.1\"\n   },\n   \"devDependencies\": {\n-    \"babel-core\": \"^6.22.1\",\n-    \"babel-loader\": \"^6.2.10\",\n-    \"babel-plugin-syntax-flow\": \"^6.8.0\",\n-    \"babel-plugin-transform-flow-strip-types\": \"^6.8.0\",\n-    \"babel-preset-es2015\": \"^6.22.0\",\n-    \"babel-preset-react\": \"^6.22.0\",\n-    \"babel-preset-stage-0\": \"^6.22.0\",\n-    \"css-loader\": \"^0.27.3\",\n-    \"exports-loader\": \"^0.6.3\",\n-    \"file-loader\": \"^0.10.0\",\n-    \"grunt\": \"~1.0.1\",\n-    \"grunt-contrib-clean\": \"~1.0.0\",\n-    \"grunt-contrib-connect\": \"~1.0.2\",\n-    \"grunt-contrib-copy\": \"~1.0.0\",\n-    \"grunt-open\": \"~0.2.3\",\n-    \"grunt-webpack\": \"^2.0.1\",\n-    \"http-server\": \"^0.9.0\",\n+    \"@babel/core\": \"^7.1.2\",\n+    \"@babel/plugin-proposal-class-properties\": \"^7.0.0\",\n+    \"@babel/plugin-syntax-flow\": \"^7.0.0\",\n+    \"@babel/plugin-transform-flow-strip-types\": \"^7.0.0\",\n+    \"@babel/preset-env\": \"^7.1.0\",\n+    \"@babel/preset-react\": \"^7.0.0\",\n+    \"babel-loader\": \"^8.0.0\",\n+    \"css-loader\": \"^1.0.0\",\n+    \"exports-loader\": \"^0.7.0\",\n+    \"file-loader\": \"^2.0.0\",\n+    \"grunt\": \"^1.0.3\",\n+    \"grunt-contrib-clean\": \"^2.0.0\",\n+    \"grunt-contrib-connect\": \"^2.0.0\",\n+    \"grunt-contrib-copy\": \"^1.0.0\",\n+    \"grunt-force-task\": \"^2.0.0\",\n+    \"grunt-open\": \"^0.2.3\",\n+    \"grunt-webpack\": \"^3.1.3\",\n+    \"http-server\": \"^0.11.1\",\n     \"idb-pull-blob-store\": \"^0.5.1\",\n-    \"json-loader\": \"^0.5.4\",\n     \"libp2p-crypto-secp256k1\": \"^0.1.2\",\n-    \"load-grunt-tasks\": \"~3.5.0\",\n-    \"node-sass\": \"^4.5.0\",\n-    \"normalize.css\": \"~5.0.0\",\n+    \"load-grunt-tasks\": \"^4.0.0\",\n+    \"node-sass\": \"^4.3.3\",\n+    \"normalize.css\": \"^8.0.0\",\n     \"ping-ops-requests\": \"~1.0.4\",\n-    \"react-hot-loader\": \"^1.3.0\",\n-    \"sass-loader\": \"^6.0.3\",\n-    \"style-loader\": \"~0.15.0\",\n-    \"transform-loader\": \"^0.2.3\",\n-    \"uglify-js\": \"github:mishoo/UglifyJS2#harmony\",\n-    \"url-loader\": \"~0.5.7\",\n-    \"webpack\": \"^2.3.0\",\n-    \"webpack-dev-server\": \"^2.2.1\"\n+    \"react-hot-loader\": \"^4.3.11\",\n+    \"sass-loader\": \"^7.1.0\",\n+    \"style-loader\": \"^0.23.0\",\n+    \"url-loader\": \"^1.1.1\",\n+    \"webpack\": \"^4.20.2\",\n+    \"webpack-cli\": \"^3.1.2\",\n+    \"webpack-dev-server\": \"^3.1.9\"\n   },\n   \"scripts\": {\n     \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\n     \"dev\": \"grunt serve\",\n     \"build\": \"npm run build:dist\",\n-    \"build:dist\": \"grunt build && webpack --config config/webpack.config.dist.js --hide-modules --progress --env production && uglifyjs dist/assets/app.js -o dist/assets/app.js\",\n+    \"build:dist\": \"grunt build && webpack --config config/webpack.config.dist.js --hide-modules --progress\",","path":"package.json","position":70,"original_position":70,"commit_id":"631b09f9286cdcf5248cca87dda1611cfafa5a33","original_commit_id":"631b09f9286cdcf5248cca87dda1611cfafa5a33","user":{"login":"haadcode","id":7499694,"node_id":"MDQ6VXNlcjc0OTk2OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7499694?v=4","gravatar_id":"","url":"https://api.github.com/users/haadcode","html_url":"https://github.com/haadcode","followers_url":"https://api.github.com/users/haadcode/followers","following_url":"https://api.github.com/users/haadcode/following{/other_user}","gists_url":"https://api.github.com/users/haadcode/gists{/gist_id}","starred_url":"https://api.github.com/users/haadcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haadcode/subscriptions","organizations_url":"https://api.github.com/users/haadcode/orgs","repos_url":"https://api.github.com/users/haadcode/repos","events_url":"https://api.github.com/users/haadcode/events{/privacy}","received_events_url":"https://api.github.com/users/haadcode/received_events","type":"User","site_admin":false},"body":"Did I understand your comment in https://github.com/orbitdb/orbit-web/pull/21#issue-219681164 correctly that webpack now runs in \"production\" mode by default?","created_at":"2018-10-03T01:28:05Z","updated_at":"2018-10-03T01:28:05Z","html_url":"https://github.com/orbitdb/orbit-web/pull/21#discussion_r222159329","pull_request_url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/comments/222159329"},"html":{"href":"https://github.com/orbitdb/orbit-web/pull/21#discussion_r222159329"},"pull_request":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21","id":219681164,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjgxMTY0","html_url":"https://github.com/orbitdb/orbit-web/pull/21","diff_url":"https://github.com/orbitdb/orbit-web/pull/21.diff","patch_url":"https://github.com/orbitdb/orbit-web/pull/21.patch","issue_url":"https://api.github.com/repos/orbitdb/orbit-web/issues/21","number":21,"state":"open","locked":false,"title":"Update build tools","user":{"login":"latenssi","id":1526792,"node_id":"MDQ6VXNlcjE1MjY3OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1526792?v=4","gravatar_id":"","url":"https://api.github.com/users/latenssi","html_url":"https://github.com/latenssi","followers_url":"https://api.github.com/users/latenssi/followers","following_url":"https://api.github.com/users/latenssi/following{/other_user}","gists_url":"https://api.github.com/users/latenssi/gists{/gist_id}","starred_url":"https://api.github.com/users/latenssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latenssi/subscriptions","organizations_url":"https://api.github.com/users/latenssi/orgs","repos_url":"https://api.github.com/users/latenssi/repos","events_url":"https://api.github.com/users/latenssi/events{/privacy}","received_events_url":"https://api.github.com/users/latenssi/received_events","type":"User","site_admin":false},"body":"- Update build tool versions\r\n- Remove `uglifyjs` since webpack 4 will run it on \"production\" mode automatically\r\n- Remove `transform-loader` since it does not seem to be used anymore\r\n- Modify webpack config to reflect webpack 4 defaults and changes \r\n- Use `.babelrc` instead of a JS module for Babel configuration\r\n- Ditch `babel-preset-stage-0` and use the individual modules instead (only `plugin-proposal-class-properties` actually needed)\r\n- Add `grunt-force-task` to force run build pipeline even if `open` fails (on my Windows with Ubuntu on WSL the xdg-open command does not work).\r\n- Convert some `module.exports` to `export default` to allow build to complete without errors\r\n\r\n**Note**: this version is not working (as is not the current master). It builds and runs but the OrbitDB and IPFS integrations are outdated. The purpose is to get started with the upgrade process.","created_at":"2018-10-02T12:12:30Z","updated_at":"2018-10-03T01:28:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"830482911c8d875e6ff882f3fcda337002556740","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21/commits","review_comments_url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21/comments","review_comment_url":"https://api.github.com/repos/orbitdb/orbit-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orbitdb/orbit-web/issues/21/comments","statuses_url":"https://api.github.com/repos/orbitdb/orbit-web/statuses/631b09f9286cdcf5248cca87dda1611cfafa5a33","head":{"label":"latenssi:latenssi/up-to-date","ref":"latenssi/up-to-date","sha":"631b09f9286cdcf5248cca87dda1611cfafa5a33","user":{"login":"latenssi","id":1526792,"node_id":"MDQ6VXNlcjE1MjY3OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1526792?v=4","gravatar_id":"","url":"https://api.github.com/users/latenssi","html_url":"https://github.com/latenssi","followers_url":"https://api.github.com/users/latenssi/followers","following_url":"https://api.github.com/users/latenssi/following{/other_user}","gists_url":"https://api.github.com/users/latenssi/gists{/gist_id}","starred_url":"https://api.github.com/users/latenssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latenssi/subscriptions","organizations_url":"https://api.github.com/users/latenssi/orgs","repos_url":"https://api.github.com/users/latenssi/repos","events_url":"https://api.github.com/users/latenssi/events{/privacy}","received_events_url":"https://api.github.com/users/latenssi/received_events","type":"User","site_admin":false},"repo":{"id":150695445,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA2OTU0NDU=","name":"orbit-web","full_name":"latenssi/orbit-web","private":false,"owner":{"login":"latenssi","id":1526792,"node_id":"MDQ6VXNlcjE1MjY3OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1526792?v=4","gravatar_id":"","url":"https://api.github.com/users/latenssi","html_url":"https://github.com/latenssi","followers_url":"https://api.github.com/users/latenssi/followers","following_url":"https://api.github.com/users/latenssi/following{/other_user}","gists_url":"https://api.github.com/users/latenssi/gists{/gist_id}","starred_url":"https://api.github.com/users/latenssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latenssi/subscriptions","organizations_url":"https://api.github.com/users/latenssi/orgs","repos_url":"https://api.github.com/users/latenssi/repos","events_url":"https://api.github.com/users/latenssi/events{/privacy}","received_events_url":"https://api.github.com/users/latenssi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/latenssi/orbit-web","description":"Orbit Web Application","fork":true,"url":"https://api.github.com/repos/latenssi/orbit-web","forks_url":"https://api.github.com/repos/latenssi/orbit-web/forks","keys_url":"https://api.github.com/repos/latenssi/orbit-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latenssi/orbit-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latenssi/orbit-web/teams","hooks_url":"https://api.github.com/repos/latenssi/orbit-web/hooks","issue_events_url":"https://api.github.com/repos/latenssi/orbit-web/issues/events{/number}","events_url":"https://api.github.com/repos/latenssi/orbit-web/events","assignees_url":"https://api.github.com/repos/latenssi/orbit-web/assignees{/user}","branches_url":"https://api.github.com/repos/latenssi/orbit-web/branches{/branch}","tags_url":"https://api.github.com/repos/latenssi/orbit-web/tags","blobs_url":"https://api.github.com/repos/latenssi/orbit-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latenssi/orbit-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latenssi/orbit-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/latenssi/orbit-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latenssi/orbit-web/statuses/{sha}","languages_url":"https://api.github.com/repos/latenssi/orbit-web/languages","stargazers_url":"https://api.github.com/repos/latenssi/orbit-web/stargazers","contributors_url":"https://api.github.com/repos/latenssi/orbit-web/contributors","subscribers_url":"https://api.github.com/repos/latenssi/orbit-web/subscribers","subscription_url":"https://api.github.com/repos/latenssi/orbit-web/subscription","commits_url":"https://api.github.com/repos/latenssi/orbit-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/latenssi/orbit-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/latenssi/orbit-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/latenssi/orbit-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/latenssi/orbit-web/contents/{+path}","compare_url":"https://api.github.com/repos/latenssi/orbit-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latenssi/orbit-web/merges","archive_url":"https://api.github.com/repos/latenssi/orbit-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latenssi/orbit-web/downloads","issues_url":"https://api.github.com/repos/latenssi/orbit-web/issues{/number}","pulls_url":"https://api.github.com/repos/latenssi/orbit-web/pulls{/number}","milestones_url":"https://api.github.com/repos/latenssi/orbit-web/milestones{/number}","notifications_url":"https://api.github.com/repos/latenssi/orbit-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latenssi/orbit-web/labels{/name}","releases_url":"https://api.github.com/repos/latenssi/orbit-web/releases{/id}","deployments_url":"https://api.github.com/repos/latenssi/orbit-web/deployments","created_at":"2018-09-28T06:27:47Z","updated_at":"2018-09-28T06:27:49Z","pushed_at":"2018-10-02T11:53:10Z","git_url":"git://github.com/latenssi/orbit-web.git","ssh_url":"git@github.com:latenssi/orbit-web.git","clone_url":"https://github.com/latenssi/orbit-web.git","svn_url":"https://github.com/latenssi/orbit-web","homepage":"","size":6094,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"orbitdb:master","ref":"master","sha":"e6c0e29cb79cdf995ca8c1aeaeb193a3856fb8e7","user":{"login":"orbitdb","id":25079463,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDc5NDYz","avatar_url":"https://avatars1.githubusercontent.com/u/25079463?v=4","gravatar_id":"","url":"https://api.github.com/users/orbitdb","html_url":"https://github.com/orbitdb","followers_url":"https://api.github.com/users/orbitdb/followers","following_url":"https://api.github.com/users/orbitdb/following{/other_user}","gists_url":"https://api.github.com/users/orbitdb/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitdb/subscriptions","organizations_url":"https://api.github.com/users/orbitdb/orgs","repos_url":"https://api.github.com/users/orbitdb/repos","events_url":"https://api.github.com/users/orbitdb/events{/privacy}","received_events_url":"https://api.github.com/users/orbitdb/received_events","type":"Organization","site_admin":false},"repo":{"id":80404163,"node_id":"MDEwOlJlcG9zaXRvcnk4MDQwNDE2Mw==","name":"orbit-web","full_name":"orbitdb/orbit-web","private":false,"owner":{"login":"orbitdb","id":25079463,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDc5NDYz","avatar_url":"https://avatars1.githubusercontent.com/u/25079463?v=4","gravatar_id":"","url":"https://api.github.com/users/orbitdb","html_url":"https://github.com/orbitdb","followers_url":"https://api.github.com/users/orbitdb/followers","following_url":"https://api.github.com/users/orbitdb/following{/other_user}","gists_url":"https://api.github.com/users/orbitdb/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitdb/subscriptions","organizations_url":"https://api.github.com/users/orbitdb/orgs","repos_url":"https://api.github.com/users/orbitdb/repos","events_url":"https://api.github.com/users/orbitdb/events{/privacy}","received_events_url":"https://api.github.com/users/orbitdb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/orbitdb/orbit-web","description":"Orbit Web Application","fork":false,"url":"https://api.github.com/repos/orbitdb/orbit-web","forks_url":"https://api.github.com/repos/orbitdb/orbit-web/forks","keys_url":"https://api.github.com/repos/orbitdb/orbit-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbitdb/orbit-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbitdb/orbit-web/teams","hooks_url":"https://api.github.com/repos/orbitdb/orbit-web/hooks","issue_events_url":"https://api.github.com/repos/orbitdb/orbit-web/issues/events{/number}","events_url":"https://api.github.com/repos/orbitdb/orbit-web/events","assignees_url":"https://api.github.com/repos/orbitdb/orbit-web/assignees{/user}","branches_url":"https://api.github.com/repos/orbitdb/orbit-web/branches{/branch}","tags_url":"https://api.github.com/repos/orbitdb/orbit-web/tags","blobs_url":"https://api.github.com/repos/orbitdb/orbit-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbitdb/orbit-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbitdb/orbit-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbitdb/orbit-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbitdb/orbit-web/statuses/{sha}","languages_url":"https://api.github.com/repos/orbitdb/orbit-web/languages","stargazers_url":"https://api.github.com/repos/orbitdb/orbit-web/stargazers","contributors_url":"https://api.github.com/repos/orbitdb/orbit-web/contributors","subscribers_url":"https://api.github.com/repos/orbitdb/orbit-web/subscribers","subscription_url":"https://api.github.com/repos/orbitdb/orbit-web/subscription","commits_url":"https://api.github.com/repos/orbitdb/orbit-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbitdb/orbit-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbitdb/orbit-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbitdb/orbit-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbitdb/orbit-web/contents/{+path}","compare_url":"https://api.github.com/repos/orbitdb/orbit-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbitdb/orbit-web/merges","archive_url":"https://api.github.com/repos/orbitdb/orbit-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbitdb/orbit-web/downloads","issues_url":"https://api.github.com/repos/orbitdb/orbit-web/issues{/number}","pulls_url":"https://api.github.com/repos/orbitdb/orbit-web/pulls{/number}","milestones_url":"https://api.github.com/repos/orbitdb/orbit-web/milestones{/number}","notifications_url":"https://api.github.com/repos/orbitdb/orbit-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbitdb/orbit-web/labels{/name}","releases_url":"https://api.github.com/repos/orbitdb/orbit-web/releases{/id}","deployments_url":"https://api.github.com/repos/orbitdb/orbit-web/deployments","created_at":"2017-01-30T08:22:52Z","updated_at":"2018-10-02T06:56:31Z","pushed_at":"2018-10-02T12:12:31Z","git_url":"git://github.com/orbitdb/orbit-web.git","ssh_url":"git@github.com:orbitdb/orbit-web.git","clone_url":"https://github.com/orbitdb/orbit-web.git","svn_url":"https://github.com/orbitdb/orbit-web","homepage":"","size":6090,"stargazers_count":74,"watchers_count":74,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":36,"open_issues":13,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21"},"html":{"href":"https://github.com/orbitdb/orbit-web/pull/21"},"issue":{"href":"https://api.github.com/repos/orbitdb/orbit-web/issues/21"},"comments":{"href":"https://api.github.com/repos/orbitdb/orbit-web/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orbitdb/orbit-web/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/orbitdb/orbit-web/statuses/631b09f9286cdcf5248cca87dda1611cfafa5a33"}},"author_association":"NONE"}}
{"actor":{"display_login":"haadcode"}}