{"action":"opened","number":169,"pull_request":{"url":"https://api.github.com/repos/stealjs/system-npm/pulls/169","id":78889186,"html_url":"https://github.com/stealjs/system-npm/pull/169","diff_url":"https://github.com/stealjs/system-npm/pull/169.diff","patch_url":"https://github.com/stealjs/system-npm/pull/169.patch","issue_url":"https://api.github.com/repos/stealjs/system-npm/issues/169","number":169,"state":"open","locked":false,"title":"Restore system.main after applying config","user":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"body":"A couple of places we need to run a package.json' `system` property\r\nthrough `loader.config()` in order to configure the loader. Whenever we\r\ndo this we remove the `system.main` property so that `System.main` is\r\nnot set (this will be the app's \"main\"). In one place we forgot to\r\nrestore this property afterwards, as it's needed to properly normalize\r\nin production.\r\n\r\nFixes #168","created_at":"2016-07-26T17:08:05Z","updated_at":"2016-07-26T17:08:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a720d81487e516b8e3a3809d6ef4d089ab39664","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stealjs/system-npm/pulls/169/commits","review_comments_url":"https://api.github.com/repos/stealjs/system-npm/pulls/169/comments","review_comment_url":"https://api.github.com/repos/stealjs/system-npm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stealjs/system-npm/issues/169/comments","statuses_url":"https://api.github.com/repos/stealjs/system-npm/statuses/c7a41fff8128575952f068213e3bc8a243340382","head":{"label":"stealjs:later-system-main","ref":"later-system-main","sha":"c7a41fff8128575952f068213e3bc8a243340382","user":{"login":"stealjs","id":10838945,"avatar_url":"https://avatars.githubusercontent.com/u/10838945?v=3","gravatar_id":"","url":"https://api.github.com/users/stealjs","html_url":"https://github.com/stealjs","followers_url":"https://api.github.com/users/stealjs/followers","following_url":"https://api.github.com/users/stealjs/following{/other_user}","gists_url":"https://api.github.com/users/stealjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stealjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stealjs/subscriptions","organizations_url":"https://api.github.com/users/stealjs/orgs","repos_url":"https://api.github.com/users/stealjs/repos","events_url":"https://api.github.com/users/stealjs/events{/privacy}","received_events_url":"https://api.github.com/users/stealjs/received_events","type":"Organization","site_admin":false},"repo":{"id":28149995,"name":"system-npm","full_name":"stealjs/system-npm","owner":{"login":"stealjs","id":10838945,"avatar_url":"https://avatars.githubusercontent.com/u/10838945?v=3","gravatar_id":"","url":"https://api.github.com/users/stealjs","html_url":"https://github.com/stealjs","followers_url":"https://api.github.com/users/stealjs/followers","following_url":"https://api.github.com/users/stealjs/following{/other_user}","gists_url":"https://api.github.com/users/stealjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stealjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stealjs/subscriptions","organizations_url":"https://api.github.com/users/stealjs/orgs","repos_url":"https://api.github.com/users/stealjs/repos","events_url":"https://api.github.com/users/stealjs/events{/privacy}","received_events_url":"https://api.github.com/users/stealjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stealjs/system-npm","description":"StealJS plugin for using NPM","fork":false,"url":"https://api.github.com/repos/stealjs/system-npm","forks_url":"https://api.github.com/repos/stealjs/system-npm/forks","keys_url":"https://api.github.com/repos/stealjs/system-npm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stealjs/system-npm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stealjs/system-npm/teams","hooks_url":"https://api.github.com/repos/stealjs/system-npm/hooks","issue_events_url":"https://api.github.com/repos/stealjs/system-npm/issues/events{/number}","events_url":"https://api.github.com/repos/stealjs/system-npm/events","assignees_url":"https://api.github.com/repos/stealjs/system-npm/assignees{/user}","branches_url":"https://api.github.com/repos/stealjs/system-npm/branches{/branch}","tags_url":"https://api.github.com/repos/stealjs/system-npm/tags","blobs_url":"https://api.github.com/repos/stealjs/system-npm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stealjs/system-npm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stealjs/system-npm/git/refs{/sha}","trees_url":"https://api.github.com/repos/stealjs/system-npm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stealjs/system-npm/statuses/{sha}","languages_url":"https://api.github.com/repos/stealjs/system-npm/languages","stargazers_url":"https://api.github.com/repos/stealjs/system-npm/stargazers","contributors_url":"https://api.github.com/repos/stealjs/system-npm/contributors","subscribers_url":"https://api.github.com/repos/stealjs/system-npm/subscribers","subscription_url":"https://api.github.com/repos/stealjs/system-npm/subscription","commits_url":"https://api.github.com/repos/stealjs/system-npm/commits{/sha}","git_commits_url":"https://api.github.com/repos/stealjs/system-npm/git/commits{/sha}","comments_url":"https://api.github.com/repos/stealjs/system-npm/comments{/number}","issue_comment_url":"https://api.github.com/repos/stealjs/system-npm/issues/comments{/number}","contents_url":"https://api.github.com/repos/stealjs/system-npm/contents/{+path}","compare_url":"https://api.github.com/repos/stealjs/system-npm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stealjs/system-npm/merges","archive_url":"https://api.github.com/repos/stealjs/system-npm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stealjs/system-npm/downloads","issues_url":"https://api.github.com/repos/stealjs/system-npm/issues{/number}","pulls_url":"https://api.github.com/repos/stealjs/system-npm/pulls{/number}","milestones_url":"https://api.github.com/repos/stealjs/system-npm/milestones{/number}","notifications_url":"https://api.github.com/repos/stealjs/system-npm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stealjs/system-npm/labels{/name}","releases_url":"https://api.github.com/repos/stealjs/system-npm/releases{/id}","deployments_url":"https://api.github.com/repos/stealjs/system-npm/deployments","created_at":"2014-12-17T18:33:45Z","updated_at":"2016-07-06T12:43:17Z","pushed_at":"2016-07-26T17:08:05Z","git_url":"git://github.com/stealjs/system-npm.git","ssh_url":"git@github.com:stealjs/system-npm.git","clone_url":"https://github.com/stealjs/system-npm.git","svn_url":"https://github.com/stealjs/system-npm","homepage":"http://stealjs.com/","size":1665,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":11,"forks":7,"open_issues":11,"watchers":12,"default_branch":"master"}},"base":{"label":"stealjs:master","ref":"master","sha":"afb33e90ae0b3832c03371d4d33ea0f8d1136503","user":{"login":"stealjs","id":10838945,"avatar_url":"https://avatars.githubusercontent.com/u/10838945?v=3","gravatar_id":"","url":"https://api.github.com/users/stealjs","html_url":"https://github.com/stealjs","followers_url":"https://api.github.com/users/stealjs/followers","following_url":"https://api.github.com/users/stealjs/following{/other_user}","gists_url":"https://api.github.com/users/stealjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stealjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stealjs/subscriptions","organizations_url":"https://api.github.com/users/stealjs/orgs","repos_url":"https://api.github.com/users/stealjs/repos","events_url":"https://api.github.com/users/stealjs/events{/privacy}","received_events_url":"https://api.github.com/users/stealjs/received_events","type":"Organization","site_admin":false},"repo":{"id":28149995,"name":"system-npm","full_name":"stealjs/system-npm","owner":{"login":"stealjs","id":10838945,"avatar_url":"https://avatars.githubusercontent.com/u/10838945?v=3","gravatar_id":"","url":"https://api.github.com/users/stealjs","html_url":"https://github.com/stealjs","followers_url":"https://api.github.com/users/stealjs/followers","following_url":"https://api.github.com/users/stealjs/following{/other_user}","gists_url":"https://api.github.com/users/stealjs/gists{/gist_id}","starred_url":"https://api.github.com/users/stealjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stealjs/subscriptions","organizations_url":"https://api.github.com/users/stealjs/orgs","repos_url":"https://api.github.com/users/stealjs/repos","events_url":"https://api.github.com/users/stealjs/events{/privacy}","received_events_url":"https://api.github.com/users/stealjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stealjs/system-npm","description":"StealJS plugin for using NPM","fork":false,"url":"https://api.github.com/repos/stealjs/system-npm","forks_url":"https://api.github.com/repos/stealjs/system-npm/forks","keys_url":"https://api.github.com/repos/stealjs/system-npm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stealjs/system-npm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stealjs/system-npm/teams","hooks_url":"https://api.github.com/repos/stealjs/system-npm/hooks","issue_events_url":"https://api.github.com/repos/stealjs/system-npm/issues/events{/number}","events_url":"https://api.github.com/repos/stealjs/system-npm/events","assignees_url":"https://api.github.com/repos/stealjs/system-npm/assignees{/user}","branches_url":"https://api.github.com/repos/stealjs/system-npm/branches{/branch}","tags_url":"https://api.github.com/repos/stealjs/system-npm/tags","blobs_url":"https://api.github.com/repos/stealjs/system-npm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stealjs/system-npm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stealjs/system-npm/git/refs{/sha}","trees_url":"https://api.github.com/repos/stealjs/system-npm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stealjs/system-npm/statuses/{sha}","languages_url":"https://api.github.com/repos/stealjs/system-npm/languages","stargazers_url":"https://api.github.com/repos/stealjs/system-npm/stargazers","contributors_url":"https://api.github.com/repos/stealjs/system-npm/contributors","subscribers_url":"https://api.github.com/repos/stealjs/system-npm/subscribers","subscription_url":"https://api.github.com/repos/stealjs/system-npm/subscription","commits_url":"https://api.github.com/repos/stealjs/system-npm/commits{/sha}","git_commits_url":"https://api.github.com/repos/stealjs/system-npm/git/commits{/sha}","comments_url":"https://api.github.com/repos/stealjs/system-npm/comments{/number}","issue_comment_url":"https://api.github.com/repos/stealjs/system-npm/issues/comments{/number}","contents_url":"https://api.github.com/repos/stealjs/system-npm/contents/{+path}","compare_url":"https://api.github.com/repos/stealjs/system-npm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stealjs/system-npm/merges","archive_url":"https://api.github.com/repos/stealjs/system-npm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stealjs/system-npm/downloads","issues_url":"https://api.github.com/repos/stealjs/system-npm/issues{/number}","pulls_url":"https://api.github.com/repos/stealjs/system-npm/pulls{/number}","milestones_url":"https://api.github.com/repos/stealjs/system-npm/milestones{/number}","notifications_url":"https://api.github.com/repos/stealjs/system-npm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stealjs/system-npm/labels{/name}","releases_url":"https://api.github.com/repos/stealjs/system-npm/releases{/id}","deployments_url":"https://api.github.com/repos/stealjs/system-npm/deployments","created_at":"2014-12-17T18:33:45Z","updated_at":"2016-07-06T12:43:17Z","pushed_at":"2016-07-26T17:08:05Z","git_url":"git://github.com/stealjs/system-npm.git","ssh_url":"git@github.com:stealjs/system-npm.git","clone_url":"https://github.com/stealjs/system-npm.git","svn_url":"https://github.com/stealjs/system-npm","homepage":"http://stealjs.com/","size":1665,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":11,"forks":7,"open_issues":11,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stealjs/system-npm/pulls/169"},"html":{"href":"https://github.com/stealjs/system-npm/pull/169"},"issue":{"href":"https://api.github.com/repos/stealjs/system-npm/issues/169"},"comments":{"href":"https://api.github.com/repos/stealjs/system-npm/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/stealjs/system-npm/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/stealjs/system-npm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stealjs/system-npm/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/stealjs/system-npm/statuses/c7a41fff8128575952f068213e3bc8a243340382"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":55,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"matthewp"}}