{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/31","repository_url":"https://api.github.com/repos/vuejs/component-compiler-utils","labels_url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/31/comments","events_url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/31/events","html_url":"https://github.com/vuejs/component-compiler-utils/pull/31","id":364708464,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4ODMwNTI3","number":31,"title":"Relax Prettier dependency to ^1","user":{"login":"koresar","id":1622575,"node_id":"MDQ6VXNlcjE2MjI1NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1622575?v=4","gravatar_id":"","url":"https://api.github.com/users/koresar","html_url":"https://github.com/koresar","followers_url":"https://api.github.com/users/koresar/followers","following_url":"https://api.github.com/users/koresar/following{/other_user}","gists_url":"https://api.github.com/users/koresar/gists{/gist_id}","starred_url":"https://api.github.com/users/koresar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koresar/subscriptions","organizations_url":"https://api.github.com/users/koresar/orgs","repos_url":"https://api.github.com/users/koresar/repos","events_url":"https://api.github.com/users/koresar/events{/privacy}","received_events_url":"https://api.github.com/users/koresar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T01:31:33Z","updated_at":"2018-09-28T05:37:40Z","closed_at":"2018-09-28T05:37:40Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/vuejs/component-compiler-utils/pulls/31","html_url":"https://github.com/vuejs/component-compiler-utils/pull/31","diff_url":"https://github.com/vuejs/component-compiler-utils/pull/31.diff","patch_url":"https://github.com/vuejs/component-compiler-utils/pull/31.patch"},"body":"Problem: I have several `prettier`s installed in my new Vue project.\r\n\r\nHow to reproduce using Vue Cli 3.\r\n* `vue init my-project`\r\n* `npm ls prettier`\r\n```\r\n├─┬ @vue/cli-service@3.0.4\r\n│ └─┬ vue-loader@15.4.2\r\n│   └─┬ @vue/component-compiler-utils@2.2.0\r\n│     └── prettier@1.13.7 \r\n├─┬ @vue/eslint-config-prettier@3.0.4\r\n│ └── prettier@1.14.3  deduped\r\n└── prettier@1.14.3 \r\n```\r\n\r\nAs you can see the `@vue/component-compiler-utils` dictates the (not latest) prettier version for the entire project."},"comment":{"url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/comments/425326483","html_url":"https://github.com/vuejs/component-compiler-utils/pull/31#issuecomment-425326483","issue_url":"https://api.github.com/repos/vuejs/component-compiler-utils/issues/31","id":425326483,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTMyNjQ4Mw==","user":{"login":"yyx990803","id":499550,"node_id":"MDQ6VXNlcjQ5OTU1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/499550?v=4","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T05:37:40Z","updated_at":"2018-09-28T05:37:40Z","author_association":"MEMBER","body":"1. This is intentional, because prettier has had breaking changes in minor releases in the past.\r\n\r\n2. This does not dictate the prettier version for your entire project. As you can see from the tree, it in the worst case only causes one extra copy of prettier which is used only by this module."}}
{"actor":{"display_login":"yyx990803"}}