Title: Add new "common" schematic to share configurations for all schematics at once · Issue #33221 · angular/angular-cli · GitHub
Open Graph Title: Add new "common" schematic to share configurations for all schematics at once · Issue #33221 · angular/angular-cli
X Title: Add new "common" schematic to share configurations for all schematics at once · Issue #33221 · angular/angular-cli
Description: Command generate Description Implement an internal artifact to commonize the configuration of schematics so that all schematics can share a common configuration by default, and override on a per-artifact basis if needed. Currently, all c...
Open Graph Description: Command generate Description Implement an internal artifact to commonize the configuration of schematics so that all schematics can share a common configuration by default, and override on a per-ar...
X Description: Command generate Description Implement an internal artifact to commonize the configuration of schematics so that all schematics can share a common configuration by default, and override on a per-ar...
Opengraph URL: https://github.com/angular/angular-cli/issues/33221
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new \"common\" schematic to share configurations for all schematics at once","articleBody":"### Command\n\ngenerate\n\n### Description\n\nImplement an internal artifact to commonize the configuration of schematics so that all schematics can share a common configuration by default, and override on a per-artifact basis if needed. Currently, all configurations are duplicated, and while not that annoying to deal with for a single collection, it can quickly add up when using several collections.\n\n### Describe the solution you'd like\n\nActual :\n```json\n{\n \"schematics\": {\n \"@schematics/angular:component\": { \"skipSelector\": true },\n \"@schematics/angular:directive\": { \"skipSelector\": true },\n \"@schematics/angular:pipe\": { \"skipSelector\": true }\n }\n}\n```\nProposed : \n```json\n{\n \"schematics\": {\n \"@schematics/angular:common\": { \"skipSelector\": true }\n }\n}\n```\n\nThis new `common` schematic would contain either \n- only fields that are common to all artifacts\n- All fields possible, even if not applicable to certain artifacts \n\nResolving would follow this pattern : \n- Look for common artifact schematic value\n- If existing, apply value\n - If all fields are possible : also check if value is applicable to artifact\n- Look for direct artifact schematic value\n- Override value\n\n### Describe alternatives you've considered\n\nDoing it by hand as already done today is the only solution ","author":{"url":"https://github.com/Maryannah","@type":"Person","name":"Maryannah"},"datePublished":"2026-05-20T07:28:03Z","url":"https://github.com/angular/angular-cli/issues/33221"}
| 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:04b15224-b194-18cf-35fd-816b2eb8473a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF52:8AE25:10426E9:1596FC7:6B01E029 |
| html-safe-nonce | 90c1cb051edeecb2c565ddc4796e82aaee7f750c2f952262da96730c0a9f60c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjUyOjhBRTI1OjEwNDI2RTk6MTU5NkZDNzo2QjAxRTAyOSIsInZpc2l0b3JfaWQiOiI2MTkwNzAzOTMzMTE2MjQ0MDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a505fc27115ee6b55912477dfb0afdc83a54234468470c9288609a9fb636ada0 |
| hovercard-subject-tag | issue:4484162366 |
| 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/33221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/371c21bac2e21c73c4afe9024c412ee2a9db8635104ce84a6289cf6985a2b786/angular/angular-cli/issues/33221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/371c21bac2e21c73c4afe9024c412ee2a9db8635104ce84a6289cf6985a2b786/angular/angular-cli/issues/33221 |
| og:image:alt | Command generate Description Implement an internal artifact to commonize the configuration of schematics so that all schematics can share a common configuration by default, and override on a per-ar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Maryannah |
| 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