{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3837","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3837/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3837/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3837/events","html_url":"https://github.com/ember-cli/ember-cli/issues/3837","id":66993098,"number":3837,"title":"ember init stomps all over packages.json. Diffing is harder than necessary","user":{"login":"Twinkletoes","id":2016523,"avatar_url":"https://avatars.githubusercontent.com/u/2016523?v=3","gravatar_id":"","url":"https://api.github.com/users/Twinkletoes","html_url":"https://github.com/Twinkletoes","followers_url":"https://api.github.com/users/Twinkletoes/followers","following_url":"https://api.github.com/users/Twinkletoes/following{/other_user}","gists_url":"https://api.github.com/users/Twinkletoes/gists{/gist_id}","starred_url":"https://api.github.com/users/Twinkletoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twinkletoes/subscriptions","organizations_url":"https://api.github.com/users/Twinkletoes/orgs","repos_url":"https://api.github.com/users/Twinkletoes/repos","events_url":"https://api.github.com/users/Twinkletoes/events{/privacy}","received_events_url":"https://api.github.com/users/Twinkletoes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/wish","name":"wish","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-04-07T21:19:16Z","updated_at":"2015-04-14T15:44:51Z","closed_at":null,"body":"I'd like to rewrite ember init to preserve the application's dependencies and only update ember-cli dependencies. I've looked through the source and can't see how it works. I think `npm-install.js` has something to do with it but I can't see where `options.packages` comes from, or where the code is that overwrites `packages.json`\r\n\r\nCan anyone guide me so I can make a PR?"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/92919066","html_url":"https://github.com/ember-cli/ember-cli/issues/3837#issuecomment-92919066","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/3837","id":92919066,"user":{"login":"tim-evans","id":177701,"avatar_url":"https://avatars.githubusercontent.com/u/177701?v=3","gravatar_id":"","url":"https://api.github.com/users/tim-evans","html_url":"https://github.com/tim-evans","followers_url":"https://api.github.com/users/tim-evans/followers","following_url":"https://api.github.com/users/tim-evans/following{/other_user}","gists_url":"https://api.github.com/users/tim-evans/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-evans/subscriptions","organizations_url":"https://api.github.com/users/tim-evans/orgs","repos_url":"https://api.github.com/users/tim-evans/repos","events_url":"https://api.github.com/users/tim-evans/events{/privacy}","received_events_url":"https://api.github.com/users/tim-evans/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T15:44:51Z","updated_at":"2015-04-14T15:44:51Z","body":"Yes, but there's a few out of place every once in a while. The friction of updating ember-cli stems mostly from the updating the dependencies in bower.json and package.json. The rest of ember init is noise to me."}}