{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/10397","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/10397/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/10397/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/10397/events","html_url":"https://github.com/angular/angular-cli/pull/10397","id":316047561,"number":10397,"title":"feat(@angular/cli): build only the projects of a certain type","user":{"login":"noelmace","id":7578400,"avatar_url":"https://avatars3.githubusercontent.com/u/7578400?v=4","gravatar_id":"","url":"https://api.github.com/users/noelmace","html_url":"https://github.com/noelmace","followers_url":"https://api.github.com/users/noelmace/followers","following_url":"https://api.github.com/users/noelmace/following{/other_user}","gists_url":"https://api.github.com/users/noelmace/gists{/gist_id}","starred_url":"https://api.github.com/users/noelmace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noelmace/subscriptions","organizations_url":"https://api.github.com/users/noelmace/orgs","repos_url":"https://api.github.com/users/noelmace/repos","events_url":"https://api.github.com/users/noelmace/events{/privacy}","received_events_url":"https://api.github.com/users/noelmace/received_events","type":"User","site_admin":false},"labels":[{"id":393399567,"url":"https://api.github.com/repos/angular/angular-cli/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"filipesilva","id":4172079,"avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"assignees":[{"login":"filipesilva","id":4172079,"avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-19T21:28:38Z","updated_at":"2018-05-24T19:22:34Z","closed_at":"2018-05-24T19:22:34Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/angular/angular-cli/pulls/10397","html_url":"https://github.com/angular/angular-cli/pull/10397","diff_url":"https://github.com/angular/angular-cli/pull/10397.diff","patch_url":"https://github.com/angular/angular-cli/pull/10397.patch"},"body":"## Goal feature\r\n\r\nPermit to run some architect commands only on projects with a specific projectType.\r\n\r\nFor example, this will only build the libraries : \r\n```\r\nng build --project-type=library\r\n```\r\nangular/devkit#739 would be needed for filtering project names.\r\n\r\n## Purpose\r\n\r\nApplications and libraries doesn't share the same use-cases : where applications are built (thanks to the build-angular build architect) in order to be served through HTTP, libraries, on the other hand, are bundled by ng-packagr in order to be published to a npm repository. Therefore, deployment / publication processes diverged between the two, so is the CI.\r\n\r\nThis PR is also a first example of angular/devkit#739 use."},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/391829943","html_url":"https://github.com/angular/angular-cli/pull/10397#issuecomment-391829943","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/10397","id":391829943,"user":{"login":"filipesilva","id":4172079,"avatar_url":"https://avatars2.githubusercontent.com/u/4172079?v=4","gravatar_id":"","url":"https://api.github.com/users/filipesilva","html_url":"https://github.com/filipesilva","followers_url":"https://api.github.com/users/filipesilva/followers","following_url":"https://api.github.com/users/filipesilva/following{/other_user}","gists_url":"https://api.github.com/users/filipesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/filipesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipesilva/subscriptions","organizations_url":"https://api.github.com/users/filipesilva/orgs","repos_url":"https://api.github.com/users/filipesilva/repos","events_url":"https://api.github.com/users/filipesilva/events{/privacy}","received_events_url":"https://api.github.com/users/filipesilva/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T19:22:34Z","updated_at":"2018-05-24T19:22:34Z","author_association":"MEMBER","body":"Heya I brought this up with the team and we don't want to do it via filtering through project type. We feel it is a fairly limited way of doing this. \r\n\r\nThe need for this sort of thing is still there in the cases you mentioned. I have made https://github.com/angular/angular-cli/issues/11002 to track this. There's other parties with similar needs and we hope to converge on a design that satisfies them."}}
{"actor":{"display_login":"filipesilva"}}