{"action":"created","issue":{"url":"https://api.github.com/repos/pnpm/pnpm/issues/1172","repository_url":"https://api.github.com/repos/pnpm/pnpm","labels_url":"https://api.github.com/repos/pnpm/pnpm/issues/1172/labels{/name}","comments_url":"https://api.github.com/repos/pnpm/pnpm/issues/1172/comments","events_url":"https://api.github.com/repos/pnpm/pnpm/issues/1172/events","html_url":"https://github.com/pnpm/pnpm/issues/1172","id":324572784,"node_id":"MDU6SXNzdWUzMjQ1NzI3ODQ=","number":1172,"title":"recursive link should unlink packages that don't satisfy the wanted range","user":{"login":"zkochan","id":1927579,"node_id":"MDQ6VXNlcjE5Mjc1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1927579?v=4","gravatar_id":"","url":"https://api.github.com/users/zkochan","html_url":"https://github.com/zkochan","followers_url":"https://api.github.com/users/zkochan/followers","following_url":"https://api.github.com/users/zkochan/following{/other_user}","gists_url":"https://api.github.com/users/zkochan/gists{/gist_id}","starred_url":"https://api.github.com/users/zkochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkochan/subscriptions","organizations_url":"https://api.github.com/users/zkochan/orgs","repos_url":"https://api.github.com/users/zkochan/repos","events_url":"https://api.github.com/users/zkochan/events{/privacy}","received_events_url":"https://api.github.com/users/zkochan/received_events","type":"User","site_admin":false},"labels":[{"id":937791374,"node_id":"MDU6TGFiZWw5Mzc3OTEzNzQ=","url":"https://api.github.com/repos/pnpm/pnpm/labels/area:%20link","name":"area: link","color":"1d76db","default":false},{"id":836545211,"node_id":"MDU6TGFiZWw4MzY1NDUyMTE=","url":"https://api.github.com/repos/pnpm/pnpm/labels/area:%20multi-package%20repo","name":"area: multi-package repo","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pnpm/pnpm/milestones/3","html_url":"https://github.com/pnpm/pnpm/milestone/3","labels_url":"https://api.github.com/repos/pnpm/pnpm/milestones/3/labels","id":3076067,"node_id":"MDk6TWlsZXN0b25lMzA3NjA2Nw==","number":3,"title":"v3.0.0","description":"","creator":{"login":"zkochan","id":1927579,"node_id":"MDQ6VXNlcjE5Mjc1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1927579?v=4","gravatar_id":"","url":"https://api.github.com/users/zkochan","html_url":"https://github.com/zkochan","followers_url":"https://api.github.com/users/zkochan/followers","following_url":"https://api.github.com/users/zkochan/following{/other_user}","gists_url":"https://api.github.com/users/zkochan/gists{/gist_id}","starred_url":"https://api.github.com/users/zkochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkochan/subscriptions","organizations_url":"https://api.github.com/users/zkochan/orgs","repos_url":"https://api.github.com/users/zkochan/repos","events_url":"https://api.github.com/users/zkochan/events{/privacy}","received_events_url":"https://api.github.com/users/zkochan/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2018-01-30T20:17:47Z","updated_at":"2018-08-24T17:50:30Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-05-18T22:48:48Z","updated_at":"2018-08-24T17:50:29Z","closed_at":"2018-08-24T17:50:30Z","author_association":"MEMBER","body":"There is a multi-package repo with two packages: `a@1.0.0` and `b@1.0.0`. `a@1.0.0` depends on `b@^1.0.0`, so when running `pnpm recursive link`, `b` is linked into `node_modules` of `a`.\r\n\r\n```\r\na@1.0.0 (dependencies: { b: ^1.0.0 })\r\n\\__node_modules\r\n     \\__b --> ../../b@1.0.0\r\nb@1.0.0\r\n```\r\n\r\nIf the `package.json` of `a` is modified, and now it depends on `b@0.0.0` then `pnpm recursive link` should unlink `b` from `a` and install `v0.0.0` of `b`.\r\n\r\n```\r\na@1.0.0 (dependencies: { b: ^0.0.0 })\r\n\\__node_modules\r\n     \\__b (v0.0.0 installed from the registry because it is not found in the monorepo)\r\nb@1.0.0\r\n```\r\n\r\nrelated: #883"},"comment":{"url":"https://api.github.com/repos/pnpm/pnpm/issues/comments/415833346","html_url":"https://github.com/pnpm/pnpm/issues/1172#issuecomment-415833346","issue_url":"https://api.github.com/repos/pnpm/pnpm/issues/1172","id":415833346,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTgzMzM0Ng==","user":{"login":"zkochan","id":1927579,"node_id":"MDQ6VXNlcjE5Mjc1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1927579?v=4","gravatar_id":"","url":"https://api.github.com/users/zkochan","html_url":"https://github.com/zkochan","followers_url":"https://api.github.com/users/zkochan/followers","following_url":"https://api.github.com/users/zkochan/following{/other_user}","gists_url":"https://api.github.com/users/zkochan/gists{/gist_id}","starred_url":"https://api.github.com/users/zkochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkochan/subscriptions","organizations_url":"https://api.github.com/users/zkochan/orgs","repos_url":"https://api.github.com/users/zkochan/repos","events_url":"https://api.github.com/users/zkochan/events{/privacy}","received_events_url":"https://api.github.com/users/zkochan/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T17:50:29Z","updated_at":"2018-08-24T17:50:29Z","author_association":"MEMBER","body":":ship: v2.14.0-1"}}
{"actor":{"display_login":"zkochan"}}