{"action":"opened","number":12989,"pull_request":{"url":"https://api.github.com/repos/angular/material2/pulls/12989","id":213391720,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzkxNzIw","html_url":"https://github.com/angular/material2/pull/12989","diff_url":"https://github.com/angular/material2/pull/12989.diff","patch_url":"https://github.com/angular/material2/pull/12989.patch","issue_url":"https://api.github.com/repos/angular/material2/issues/12989","number":12989,"state":"open","locked":false,"title":"refactor(schematics): avoid typescript version conflicts","user":{"login":"DevVersion","id":4987015,"node_id":"MDQ6VXNlcjQ5ODcwMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4987015?v=4","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"body":"The Angular Material schematics parse TypeScript sources files and pass the AST to the `@schematics/angular` package which defined an explicit dependency on `typescript`. Since we currently just always require the flattened `typescript` dependency (`node_modules/typescript`), there could be either no TypeScript version or a different TypeScript version that causes the AST operations of the `@schematics/angular` utility functions to not work properly (e.g. different `SyntaxKind` ids)\r\n\r\nWe should primarily try to load the same TypeScript version that has been shipped with the `@schematics/angular`. If that one couldn't be found, fall back to the top level `typescript` version.","created_at":"2018-09-05T18:46:17Z","updated_at":"2018-09-05T18:46:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/angular/material2/pulls/12989/commits","review_comments_url":"https://api.github.com/repos/angular/material2/pulls/12989/comments","review_comment_url":"https://api.github.com/repos/angular/material2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material2/issues/12989/comments","statuses_url":"https://api.github.com/repos/angular/material2/statuses/3329a01b8814614e3dbdeda92e84fa4317ea03c0","head":{"label":"DevVersion:refactor/schematics-typescript-version-conflicts","ref":"refactor/schematics-typescript-version-conflicts","sha":"3329a01b8814614e3dbdeda92e84fa4317ea03c0","user":{"login":"DevVersion","id":4987015,"node_id":"MDQ6VXNlcjQ5ODcwMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4987015?v=4","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"repo":{"id":49230742,"node_id":"MDEwOlJlcG9zaXRvcnk0OTIzMDc0Mg==","name":"material2","full_name":"DevVersion/material2","owner":{"login":"DevVersion","id":4987015,"node_id":"MDQ6VXNlcjQ5ODcwMTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4987015?v=4","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DevVersion/material2","description":"Material Design components for Angular 2","fork":true,"url":"https://api.github.com/repos/DevVersion/material2","forks_url":"https://api.github.com/repos/DevVersion/material2/forks","keys_url":"https://api.github.com/repos/DevVersion/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevVersion/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevVersion/material2/teams","hooks_url":"https://api.github.com/repos/DevVersion/material2/hooks","issue_events_url":"https://api.github.com/repos/DevVersion/material2/issues/events{/number}","events_url":"https://api.github.com/repos/DevVersion/material2/events","assignees_url":"https://api.github.com/repos/DevVersion/material2/assignees{/user}","branches_url":"https://api.github.com/repos/DevVersion/material2/branches{/branch}","tags_url":"https://api.github.com/repos/DevVersion/material2/tags","blobs_url":"https://api.github.com/repos/DevVersion/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevVersion/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevVersion/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevVersion/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevVersion/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/DevVersion/material2/languages","stargazers_url":"https://api.github.com/repos/DevVersion/material2/stargazers","contributors_url":"https://api.github.com/repos/DevVersion/material2/contributors","subscribers_url":"https://api.github.com/repos/DevVersion/material2/subscribers","subscription_url":"https://api.github.com/repos/DevVersion/material2/subscription","commits_url":"https://api.github.com/repos/DevVersion/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevVersion/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevVersion/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevVersion/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevVersion/material2/contents/{+path}","compare_url":"https://api.github.com/repos/DevVersion/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevVersion/material2/merges","archive_url":"https://api.github.com/repos/DevVersion/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevVersion/material2/downloads","issues_url":"https://api.github.com/repos/DevVersion/material2/issues{/number}","pulls_url":"https://api.github.com/repos/DevVersion/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/DevVersion/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/DevVersion/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevVersion/material2/labels{/name}","releases_url":"https://api.github.com/repos/DevVersion/material2/releases{/id}","deployments_url":"https://api.github.com/repos/DevVersion/material2/deployments","created_at":"2016-01-07T21:05:43Z","updated_at":"2018-09-01T15:52:27Z","pushed_at":"2018-09-05T18:45:50Z","git_url":"git://github.com/DevVersion/material2.git","ssh_url":"git@github.com:DevVersion/material2.git","clone_url":"https://github.com/DevVersion/material2.git","svn_url":"https://github.com/DevVersion/material2","homepage":"","size":18796,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"5d9ab9eeb2549025963004adc11414ce55bbb4d1","user":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":49016322,"node_id":"MDEwOlJlcG9zaXRvcnk0OTAxNjMyMg==","name":"material2","full_name":"angular/material2","owner":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/material2","description":"Material Design components for Angular","fork":false,"url":"https://api.github.com/repos/angular/material2","forks_url":"https://api.github.com/repos/angular/material2/forks","keys_url":"https://api.github.com/repos/angular/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material2/teams","hooks_url":"https://api.github.com/repos/angular/material2/hooks","issue_events_url":"https://api.github.com/repos/angular/material2/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material2/events","assignees_url":"https://api.github.com/repos/angular/material2/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material2/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material2/tags","blobs_url":"https://api.github.com/repos/angular/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material2/languages","stargazers_url":"https://api.github.com/repos/angular/material2/stargazers","contributors_url":"https://api.github.com/repos/angular/material2/contributors","subscribers_url":"https://api.github.com/repos/angular/material2/subscribers","subscription_url":"https://api.github.com/repos/angular/material2/subscription","commits_url":"https://api.github.com/repos/angular/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material2/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material2/merges","archive_url":"https://api.github.com/repos/angular/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material2/downloads","issues_url":"https://api.github.com/repos/angular/material2/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material2/labels{/name}","releases_url":"https://api.github.com/repos/angular/material2/releases{/id}","deployments_url":"https://api.github.com/repos/angular/material2/deployments","created_at":"2016-01-04T18:50:02Z","updated_at":"2018-09-05T17:39:47Z","pushed_at":"2018-09-05T17:55:21Z","git_url":"git://github.com/angular/material2.git","ssh_url":"git@github.com:angular/material2.git","clone_url":"https://github.com/angular/material2.git","svn_url":"https://github.com/angular/material2","homepage":"https://material.angular.io","size":19155,"stargazers_count":15630,"watchers_count":15630,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3930,"mirror_url":null,"archived":false,"open_issues_count":1234,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3930,"open_issues":1234,"watchers":15630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material2/pulls/12989"},"html":{"href":"https://github.com/angular/material2/pull/12989"},"issue":{"href":"https://api.github.com/repos/angular/material2/issues/12989"},"comments":{"href":"https://api.github.com/repos/angular/material2/issues/12989/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material2/pulls/12989/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material2/pulls/12989/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material2/statuses/3329a01b8814614e3dbdeda92e84fa4317ea03c0"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":49,"deletions":19,"changed_files":4}}
{"actor":{"display_login":"DevVersion"}}