Title: Split `angular.json` into multiple files · Issue #22655 · angular/angular-cli · GitHub
Open Graph Title: Split `angular.json` into multiple files · Issue #22655 · angular/angular-cli
X Title: Split `angular.json` into multiple files · Issue #22655 · angular/angular-cli
Description: 🚀 Feature request new build serve test e2e generate add update lint extract-i18n run config help version doc Description I have a monorepository and I want to split my angular.json into separate files. So that I can have something like t...
Open Graph Description: 🚀 Feature request new build serve test e2e generate add update lint extract-i18n run config help version doc Description I have a monorepository and I want to split my angular.json into separate fi...
X Description: 🚀 Feature request new build serve test e2e generate add update lint extract-i18n run config help version doc Description I have a monorepository and I want to split my angular.json into separate fi...
Opengraph URL: https://github.com/angular/angular-cli/issues/22655
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Split `angular.json` into multiple files","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n# 🚀 Feature request\r\n\r\n\u003c!-- Can you pin-point the command or commands that are relevant for this feature request? -->\r\n\u003c!-- ✍️edit: -->\r\n\r\n- [x] new\r\n- [x] build\r\n- [x] serve\r\n- [x] test\r\n- [x] e2e\r\n- [x] generate\r\n- [ ] add\r\n- [ ] update\r\n- [x] lint\r\n- [ ] extract-i18n\r\n- [x] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n\r\n### Description\r\n\r\nI have a monorepository and I want to split my `angular.json` into separate files.\r\n\r\nSo that I can have something like this:\r\n\r\n```\r\n{\r\n \"version\": 2,\r\n \"projects\": {\r\n \"module-auth\": \"packages/auth\",\r\n \"module-core\": \"packages/core\",\r\n \"module-button\": \"packages/button\"\r\n }\r\n}\r\n```\r\n\r\nAfter working with NX I noticed that with Lerna and the usual setup my `angular.json` file has 119 lines of code even though I basically have an empty repository. I believe that having a single `angular.json` file is a very bad idea, especially for bigger monorepositories or UI libraries.\r\n\r\n### Describe the solution you'd like\r\n\r\nMake the JSON configuration 1:1 with [what NX does](https://nx.dev/configuration/projectjson#workspace-json) or implement similar functionality.","author":{"url":"https://github.com/developer239","@type":"Person","name":"developer239"},"datePublished":"2022-02-06T16:41:17Z","url":"https://github.com/angular/angular-cli/issues/22655"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:081e59f3-aa82-5fd0-859c-fc85fca56f96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 851A:1AE20C:371B204:45CC781:6B01E2C5 |
| html-safe-nonce | a4c8faf8a6638dc35e9014222d4b7d3289c436b9686b6d704940fd101b084718 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTFBOjFBRTIwQzozNzFCMjA0OjQ1Q0M3ODE6NkIwMUUyQzUiLCJ2aXNpdG9yX2lkIjoiNjIzMzM1NzM3Nzg4Njg3MjI2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a117f1eb5854c057b198c69b824573f28fb9b6909d26c2dcf19d0eb29bd980f5 |
| hovercard-subject-tag | issue:1125252039 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/22655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7afa5df41a2b4c46d1db462a73ec28626c6b5208990daf6f181a46e9cfab5797/angular/angular-cli/issues/22655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7afa5df41a2b4c46d1db462a73ec28626c6b5208990daf6f181a46e9cfab5797/angular/angular-cli/issues/22655 |
| og:image:alt | 🚀 Feature request new build serve test e2e generate add update lint extract-i18n run config help version doc Description I have a monorepository and I want to split my angular.json into separate fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | developer239 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width