{"action":"created","comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments/80731606","pull_request_review_id":1767088,"id":80731606,"diff_hunk":"@@ -76,21 +82,21 @@ prompt(\n \n   var ownPackage = require(path.join(ownPath, 'package.json'));\n   var appPackage = require(path.join(appPath, 'package.json'));\n-\n+  console.log(cyan('Updating dependencies...'));\n   var ownPackageName = ownPackage.name;\n-  console.log('Removing dependency: ' + ownPackageName);\n+  console.log(yellow('  Removing dependency: ') + ownPackageName);\n   delete appPackage.devDependencies[ownPackageName];\n \n   Object.keys(ownPackage.dependencies).forEach(function (key) {\n     // For some reason optionalDependencies end up in dependencies after install\n     if (ownPackage.optionalDependencies[key]) {\n       return;\n     }\n-    console.log('Adding dependency: ' + key);\n+    console.log(cyan('  Adding dependency: ') + key);\n     appPackage.devDependencies[key] = ownPackage.dependencies[key];\n   });\n-\n-  console.log('Updating scripts');\n+  console.log();\n+  console.log(cyan('Updating scripts...'));\n   delete appPackage.scripts['eject'];\n   Object.keys(appPackage.scripts).forEach(function (key) {\n     appPackage.scripts[key] = appPackage.scripts[key]","path":"packages/react-scripts/scripts/eject.js","position":63,"original_position":63,"commit_id":"1c5f505d50ed2222b5343a34045d7321491a47ba","original_commit_id":"1c5f505d50ed2222b5343a34045d7321491a47ba","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"body":"Let’s print each step here?\r\nFor example:\r\n\r\n```\r\n  Replacing \"react-scripts start\" with \"node scripts/start.js\"\r\n```\r\n\r\n","created_at":"2016-09-27T16:12:28Z","updated_at":"2016-09-27T16:12:42Z","html_url":"https://github.com/facebookincubator/create-react-app/pull/769#discussion_r80731606","pull_request_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769","_links":{"self":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments/80731606"},"html":{"href":"https://github.com/facebookincubator/create-react-app/pull/769#discussion_r80731606"},"pull_request":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769"}}},"pull_request":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769","id":86799040,"html_url":"https://github.com/facebookincubator/create-react-app/pull/769","diff_url":"https://github.com/facebookincubator/create-react-app/pull/769.diff","patch_url":"https://github.com/facebookincubator/create-react-app/pull/769.patch","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/769","number":769,"state":"open","locked":false,"title":"Beaufity output of eject.js script","user":{"login":"azakordonets","id":1200012,"avatar_url":"https://avatars.githubusercontent.com/u/1200012?v=3","gravatar_id":"","url":"https://api.github.com/users/azakordonets","html_url":"https://github.com/azakordonets","followers_url":"https://api.github.com/users/azakordonets/followers","following_url":"https://api.github.com/users/azakordonets/following{/other_user}","gists_url":"https://api.github.com/users/azakordonets/gists{/gist_id}","starred_url":"https://api.github.com/users/azakordonets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakordonets/subscriptions","organizations_url":"https://api.github.com/users/azakordonets/orgs","repos_url":"https://api.github.com/users/azakordonets/repos","events_url":"https://api.github.com/users/azakordonets/events{/privacy}","received_events_url":"https://api.github.com/users/azakordonets/received_events","type":"User","site_admin":false},"body":"Solution for issue ##750 \r\n\r\nSince in ```build.js``` we already use ```chalk``` library, i decided to reuse it in eject.js file. Operations are marked with green, file names and path's are marked with yellow and are underlined. Screenshots are attached . \r\n<img width=\"852\" alt=\"screenshot 2016-09-26 20 53 54\" src=\"https://cloud.githubusercontent.com/assets/1200012/18847811/e8347904-842b-11e6-8787-defb6f74e210.png\">\r\n<img width=\"696\" alt=\"screenshot 2016-09-26 20 54 03\" src=\"https://cloud.githubusercontent.com/assets/1200012/18847813/e836eff4-842b-11e6-9ba7-a653273f2be6.png\">\r\n<img width=\"543\" alt=\"screenshot 2016-09-26 20 54 11\" src=\"https://cloud.githubusercontent.com/assets/1200012/18847812/e836a666-842b-11e6-9104-e7a25f50672b.png\">\r\n\r\n\r\n","created_at":"2016-09-26T18:59:00Z","updated_at":"2016-09-27T16:14:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"020ae9bee6d319e1c12fe398f22abd9717402deb","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/15","html_url":"https://github.com/facebookincubator/create-react-app/milestones/0.7.0","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones/15/labels","id":2027329,"number":15,"title":"0.7.0","description":"","creator":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2016-09-25T22:13:04Z","updated_at":"2016-09-27T15:52:11Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769/commits","review_comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769/comments","review_comment_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/769/comments","statuses_url":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/1c5f505d50ed2222b5343a34045d7321491a47ba","head":{"label":"azakordonets:master","ref":"master","sha":"1c5f505d50ed2222b5343a34045d7321491a47ba","user":{"login":"azakordonets","id":1200012,"avatar_url":"https://avatars.githubusercontent.com/u/1200012?v=3","gravatar_id":"","url":"https://api.github.com/users/azakordonets","html_url":"https://github.com/azakordonets","followers_url":"https://api.github.com/users/azakordonets/followers","following_url":"https://api.github.com/users/azakordonets/following{/other_user}","gists_url":"https://api.github.com/users/azakordonets/gists{/gist_id}","starred_url":"https://api.github.com/users/azakordonets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakordonets/subscriptions","organizations_url":"https://api.github.com/users/azakordonets/orgs","repos_url":"https://api.github.com/users/azakordonets/repos","events_url":"https://api.github.com/users/azakordonets/events{/privacy}","received_events_url":"https://api.github.com/users/azakordonets/received_events","type":"User","site_admin":false},"repo":{"id":69164401,"name":"create-react-app","full_name":"azakordonets/create-react-app","owner":{"login":"azakordonets","id":1200012,"avatar_url":"https://avatars.githubusercontent.com/u/1200012?v=3","gravatar_id":"","url":"https://api.github.com/users/azakordonets","html_url":"https://github.com/azakordonets","followers_url":"https://api.github.com/users/azakordonets/followers","following_url":"https://api.github.com/users/azakordonets/following{/other_user}","gists_url":"https://api.github.com/users/azakordonets/gists{/gist_id}","starred_url":"https://api.github.com/users/azakordonets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azakordonets/subscriptions","organizations_url":"https://api.github.com/users/azakordonets/orgs","repos_url":"https://api.github.com/users/azakordonets/repos","events_url":"https://api.github.com/users/azakordonets/events{/privacy}","received_events_url":"https://api.github.com/users/azakordonets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azakordonets/create-react-app","description":"Create React apps with no build configuration.","fork":true,"url":"https://api.github.com/repos/azakordonets/create-react-app","forks_url":"https://api.github.com/repos/azakordonets/create-react-app/forks","keys_url":"https://api.github.com/repos/azakordonets/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azakordonets/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azakordonets/create-react-app/teams","hooks_url":"https://api.github.com/repos/azakordonets/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/azakordonets/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/azakordonets/create-react-app/events","assignees_url":"https://api.github.com/repos/azakordonets/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/azakordonets/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/azakordonets/create-react-app/tags","blobs_url":"https://api.github.com/repos/azakordonets/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azakordonets/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azakordonets/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/azakordonets/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azakordonets/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/azakordonets/create-react-app/languages","stargazers_url":"https://api.github.com/repos/azakordonets/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/azakordonets/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/azakordonets/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/azakordonets/create-react-app/subscription","commits_url":"https://api.github.com/repos/azakordonets/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/azakordonets/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/azakordonets/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/azakordonets/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/azakordonets/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/azakordonets/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azakordonets/create-react-app/merges","archive_url":"https://api.github.com/repos/azakordonets/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azakordonets/create-react-app/downloads","issues_url":"https://api.github.com/repos/azakordonets/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/azakordonets/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/azakordonets/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/azakordonets/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azakordonets/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/azakordonets/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/azakordonets/create-react-app/deployments","created_at":"2016-09-25T12:58:39Z","updated_at":"2016-09-25T12:58:41Z","pushed_at":"2016-09-27T15:52:38Z","git_url":"git://github.com/azakordonets/create-react-app.git","ssh_url":"git@github.com:azakordonets/create-react-app.git","clone_url":"https://github.com/azakordonets/create-react-app.git","svn_url":"https://github.com/azakordonets/create-react-app","homepage":null,"size":915,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebookincubator:master","ref":"master","sha":"37819ee8efba7940470e1fec8882c603540e502d","user":{"login":"facebookincubator","id":19538647,"avatar_url":"https://avatars.githubusercontent.com/u/19538647?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookincubator","html_url":"https://github.com/facebookincubator","followers_url":"https://api.github.com/users/facebookincubator/followers","following_url":"https://api.github.com/users/facebookincubator/following{/other_user}","gists_url":"https://api.github.com/users/facebookincubator/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookincubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookincubator/subscriptions","organizations_url":"https://api.github.com/users/facebookincubator/orgs","repos_url":"https://api.github.com/users/facebookincubator/repos","events_url":"https://api.github.com/users/facebookincubator/events{/privacy}","received_events_url":"https://api.github.com/users/facebookincubator/received_events","type":"Organization","site_admin":false},"repo":{"id":63537249,"name":"create-react-app","full_name":"facebookincubator/create-react-app","owner":{"login":"facebookincubator","id":19538647,"avatar_url":"https://avatars.githubusercontent.com/u/19538647?v=3","gravatar_id":"","url":"https://api.github.com/users/facebookincubator","html_url":"https://github.com/facebookincubator","followers_url":"https://api.github.com/users/facebookincubator/followers","following_url":"https://api.github.com/users/facebookincubator/following{/other_user}","gists_url":"https://api.github.com/users/facebookincubator/gists{/gist_id}","starred_url":"https://api.github.com/users/facebookincubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebookincubator/subscriptions","organizations_url":"https://api.github.com/users/facebookincubator/orgs","repos_url":"https://api.github.com/users/facebookincubator/repos","events_url":"https://api.github.com/users/facebookincubator/events{/privacy}","received_events_url":"https://api.github.com/users/facebookincubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebookincubator/create-react-app","description":"Create React apps with no build configuration.","fork":false,"url":"https://api.github.com/repos/facebookincubator/create-react-app","forks_url":"https://api.github.com/repos/facebookincubator/create-react-app/forks","keys_url":"https://api.github.com/repos/facebookincubator/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebookincubator/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebookincubator/create-react-app/teams","hooks_url":"https://api.github.com/repos/facebookincubator/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/events","assignees_url":"https://api.github.com/repos/facebookincubator/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/facebookincubator/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/facebookincubator/create-react-app/tags","blobs_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/facebookincubator/create-react-app/languages","stargazers_url":"https://api.github.com/repos/facebookincubator/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/facebookincubator/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/facebookincubator/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/facebookincubator/create-react-app/subscription","commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebookincubator/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebookincubator/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/facebookincubator/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebookincubator/create-react-app/merges","archive_url":"https://api.github.com/repos/facebookincubator/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebookincubator/create-react-app/downloads","issues_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/facebookincubator/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/facebookincubator/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/facebookincubator/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/facebookincubator/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/facebookincubator/create-react-app/deployments","created_at":"2016-07-17T14:55:11Z","updated_at":"2016-09-27T15:59:28Z","pushed_at":"2016-09-27T15:52:39Z","git_url":"git://github.com/facebookincubator/create-react-app.git","ssh_url":"git@github.com:facebookincubator/create-react-app.git","clone_url":"https://github.com/facebookincubator/create-react-app.git","svn_url":"https://github.com/facebookincubator/create-react-app","homepage":null,"size":2149,"stargazers_count":11718,"watchers_count":11718,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":889,"mirror_url":null,"open_issues_count":96,"forks":889,"open_issues":96,"watchers":11718,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769"},"html":{"href":"https://github.com/facebookincubator/create-react-app/pull/769"},"issue":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/issues/769"},"comments":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/issues/769/comments"},"review_comments":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769/comments"},"review_comment":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/pulls/769/commits"},"statuses":{"href":"https://api.github.com/repos/facebookincubator/create-react-app/statuses/1c5f505d50ed2222b5343a34045d7321491a47ba"}}}}
{"actor":{"display_login":"gaearon"}}