{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-try/issues/170","repository_url":"https://api.github.com/repos/ember-cli/ember-try","labels_url":"https://api.github.com/repos/ember-cli/ember-try/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-try/issues/170/comments","events_url":"https://api.github.com/repos/ember-cli/ember-try/issues/170/events","html_url":"https://github.com/ember-cli/ember-try/issues/170","id":286263738,"node_id":"MDU6SXNzdWUyODYyNjM3Mzg=","number":170,"title":"`npm prune --no-shrinkwrap` removes packages declared with `github:repo#hash` syntax","user":{"login":"xcambar","id":657654,"node_id":"MDQ6VXNlcjY1NzY1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/657654?v=4","gravatar_id":"","url":"https://api.github.com/users/xcambar","html_url":"https://github.com/xcambar","followers_url":"https://api.github.com/users/xcambar/followers","following_url":"https://api.github.com/users/xcambar/following{/other_user}","gists_url":"https://api.github.com/users/xcambar/gists{/gist_id}","starred_url":"https://api.github.com/users/xcambar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcambar/subscriptions","organizations_url":"https://api.github.com/users/xcambar/orgs","repos_url":"https://api.github.com/users/xcambar/repos","events_url":"https://api.github.com/users/xcambar/events{/privacy}","received_events_url":"https://api.github.com/users/xcambar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-05T11:30:36Z","updated_at":"2018-08-31T21:39:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Since 0.2.18 and the introduction of the `--no-shrinkwrap` to the `npm prune` command (see https://github.com/ember-cli/ember-try/blob/23bc1e62845f1786026bde54eb9a53a996003d95/lib/dependency-manager-adapters/npm.js#L111-L113), **some** packages declared with the `github:org/repo#commitish` syntax are removed.\r\n\r\nI doubt this is an `ember-try` bug, as the results vary from one platform to another and I've narrowed it down to the `npm prune --no-shrinkwap` command.\r\n\r\nThe questions at hand here are:\r\n\r\n* Did anyone else notice this behaviour?\r\n* The `--no-shrinkwrap` argument to `npm prune` is undocumented, is it safe for use?\r\n* Could the same outcome be obtained differently?\r\n\r\nFWIW, I've created a repo which test command replicates the issue: https://github.com/xcambar/npm-prune\r\n  "},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-try/issues/comments/417796038","html_url":"https://github.com/ember-cli/ember-try/issues/170#issuecomment-417796038","issue_url":"https://api.github.com/repos/ember-cli/ember-try/issues/170","id":417796038,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzc5NjAzOA==","user":{"login":"kategengler","id":444218,"node_id":"MDQ6VXNlcjQ0NDIxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/444218?v=4","gravatar_id":"","url":"https://api.github.com/users/kategengler","html_url":"https://github.com/kategengler","followers_url":"https://api.github.com/users/kategengler/followers","following_url":"https://api.github.com/users/kategengler/following{/other_user}","gists_url":"https://api.github.com/users/kategengler/gists{/gist_id}","starred_url":"https://api.github.com/users/kategengler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kategengler/subscriptions","organizations_url":"https://api.github.com/users/kategengler/orgs","repos_url":"https://api.github.com/users/kategengler/repos","events_url":"https://api.github.com/users/kategengler/events{/privacy}","received_events_url":"https://api.github.com/users/kategengler/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T21:39:33Z","updated_at":"2018-08-31T21:39:33Z","author_association":"COLLABORATOR","body":"Fixed by #171 "}}
{"actor":{"display_login":"kategengler"}}