{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/4379","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4379/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4379/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4379/events","html_url":"https://github.com/yarnpkg/yarn/issues/4379","id":256488891,"number":4379,"title":"yarn install changes yarn.lock file","user":{"login":"artlogic","id":137194,"avatar_url":"https://avatars1.githubusercontent.com/u/137194?v=4","gravatar_id":"","url":"https://api.github.com/users/artlogic","html_url":"https://github.com/artlogic","followers_url":"https://api.github.com/users/artlogic/followers","following_url":"https://api.github.com/users/artlogic/following{/other_user}","gists_url":"https://api.github.com/users/artlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/artlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artlogic/subscriptions","organizations_url":"https://api.github.com/users/artlogic/orgs","repos_url":"https://api.github.com/users/artlogic/repos","events_url":"https://api.github.com/users/artlogic/events{/privacy}","received_events_url":"https://api.github.com/users/artlogic/received_events","type":"User","site_admin":false},"labels":[{"id":594050542,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/cat-documentation","name":"cat-documentation","color":"5319e7","default":false},{"id":313603439,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/cat-feature","name":"cat-feature","color":"84b6eb","default":false},{"id":313603440,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":732713829,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/needs-discussion","name":"needs-discussion","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2017-09-10T06:26:13Z","updated_at":"2018-04-11T13:02:11Z","closed_at":null,"author_association":"NONE","body":"**Do you want to request a *feature* or report a *bug*?**\r\nBug\r\n\r\n**What is the current behavior?**\r\nWhen installing certain packages the yarn.lock file is changed. It seems to be package specific. In this case cordova triggers the behavior.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nIn an empty directory, do the following:\r\n\r\n```sh\r\nyarn init\r\nyarn add cordova\r\ncp yarn.lock yarn.lock.initial\r\nrm -r node_modules\r\nyarn install\r\ndiff yarn.lock.initial yarn.lock\r\n```\r\n\r\nNotice that the yarn.lock file has changed.\r\n\r\n**What is the expected behavior?**\r\n\r\nInstalling should not change the lock file if it already exists.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\nnode v6.11.3, yarn v1.0.1, Mac OS 10.11.6"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/380443531","html_url":"https://github.com/yarnpkg/yarn/issues/4379#issuecomment-380443531","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4379","id":380443531,"user":{"login":"indeyets","id":13445,"avatar_url":"https://avatars3.githubusercontent.com/u/13445?v=4","gravatar_id":"","url":"https://api.github.com/users/indeyets","html_url":"https://github.com/indeyets","followers_url":"https://api.github.com/users/indeyets/followers","following_url":"https://api.github.com/users/indeyets/following{/other_user}","gists_url":"https://api.github.com/users/indeyets/gists{/gist_id}","starred_url":"https://api.github.com/users/indeyets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indeyets/subscriptions","organizations_url":"https://api.github.com/users/indeyets/orgs","repos_url":"https://api.github.com/users/indeyets/repos","events_url":"https://api.github.com/users/indeyets/events{/privacy}","received_events_url":"https://api.github.com/users/indeyets/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T13:02:11Z","updated_at":"2018-04-11T13:02:11Z","author_association":"NONE","body":"> a flag or a new command like yarn sync\r\n\r\nsounds good to me 👍 . and `yarn install` could show a notice \"package.json and yarn.lock are out of sync. Run 'yarn sync' to update the lockfile\""}}
{"actor":{"display_login":"indeyets"}}