{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.io/issues/1361","repository_url":"https://api.github.com/repos/angular/angular.io","labels_url":"https://api.github.com/repos/angular/angular.io/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.io/issues/1361/comments","events_url":"https://api.github.com/repos/angular/angular.io/issues/1361/events","html_url":"https://github.com/angular/angular.io/issues/1361","id":154366821,"number":1361,"title":"StyleGuide - Having the root /app folder export a barrel","user":{"login":"Foxandxss","id":1087957,"avatar_url":"https://avatars.githubusercontent.com/u/1087957?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxandxss","html_url":"https://github.com/Foxandxss","followers_url":"https://api.github.com/users/Foxandxss/followers","following_url":"https://api.github.com/users/Foxandxss/following{/other_user}","gists_url":"https://api.github.com/users/Foxandxss/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxandxss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxandxss/subscriptions","organizations_url":"https://api.github.com/users/Foxandxss/orgs","repos_url":"https://api.github.com/users/Foxandxss/repos","events_url":"https://api.github.com/users/Foxandxss/events{/privacy}","received_events_url":"https://api.github.com/users/Foxandxss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T23:39:40Z","updated_at":"2016-05-17T06:32:24Z","closed_at":"2016-05-17T06:32:24Z","body":"The CLI has a barrel in `/src/app` where they export the app.component.ts and some environment. Also the `main.ts` is at `/src` and not `/src/app`.\r\n\r\nSo we have to move `main.ts` up one level and then see if we want the `app` folder to export a barrel and if so, what should it export, only app.component or each subfolder (features and shared)."},"comment":{"url":"https://api.github.com/repos/angular/angular.io/issues/comments/219631082","html_url":"https://github.com/angular/angular.io/issues/1361#issuecomment-219631082","issue_url":"https://api.github.com/repos/angular/angular.io/issues/1361","id":219631082,"user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T06:32:24Z","updated_at":"2016-05-17T06:32:24Z","body":"Closing because (a) I don't think there should be a barrel with nothing but a component in it and (b) this should be handled by a PR (when we have proper resolution). \r\n\r\nHappy to reopen if you insist ... but I'd rather have your PR"}}