Title: CLI: [command new] add option to enable previous suffix generation on create · Issue #30594 · angular/angular-cli · GitHub
Open Graph Title: CLI: [command new] add option to enable previous suffix generation on create · Issue #30594 · angular/angular-cli
X Title: CLI: [command new] add option to enable previous suffix generation on create · Issue #30594 · angular/angular-cli
Description: Which @angular/* package(s) are relevant/related to the feature request? compiler-cli Description The problem: Starting in Angular v20, by default Angular CLI will not generate suffixes As written in https://blog.angular.dev/announcing-a...
Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? compiler-cli Description The problem: Starting in Angular v20, by default Angular CLI will not generate suffixes As written ...
X Description: Which @angular/* package(s) are relevant/related to the feature request? compiler-cli Description The problem: Starting in Angular v20, by default Angular CLI will not generate suffixes As written ...
Opengraph URL: https://github.com/angular/angular-cli/issues/30594
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CLI: [command new] add option to enable previous suffix generation on create","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncompiler-cli\n\n### Description\n\n### The problem:\n\n**Starting in Angular v20, by default Angular CLI will not generate suffixes**\n\nAs written in https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301\n\n>Starting in Angular v20, by default Angular CLI will not generate suffixes for your components, directives, services, and pipes. For existing projects, ng update will enable suffix generation by updating your angular.json. To enable suffix generation in new projects, use the following schematic configuration:\n\n```\n{\n \"projects\": {\n \"app\": {\n ...\n \"schematics\": {\n \"@schematics/angular:component\": { \"type\": \"component\" },\n \"@schematics/angular:directive\": { \"type\": \"directive\" },\n \"@schematics/angular:service\": { \"type\": \"service\" },\n \"@schematics/angular:guard\": { \"typeSeparator\": \".\" },\n \"@schematics/angular:interceptor\": { \"typeSeparator\": \".\" },\n \"@schematics/angular:module\": { \"typeSeparator\": \".\" },\n \"@schematics/angular:pipe\": { \"typeSeparator\": \".\" },\n \"@schematics/angular:resolver\": { \"typeSeparator\": \".\" }\n },\n ...\n}\n```\n\n\n\n### Proposed solution\n\n### The solution:\n\nTo add an option to the new command, to be able to create a new application with suffixes:\n\n`ng new angular-app --with-suffix`\n\nThis command will automatically add **schematics** to the `angular.json` and creates e.g. `app.component.ts` instead off `app.ts`\n\n### Alternatives considered\n\nThe only way to achive this, add manually the schematics and rename the auto generated files manually.\nThis is time consuming.","author":{"url":"https://github.com/giacomo","@type":"Person","name":"giacomo"},"datePublished":"2025-06-24T22:17:57Z","url":"https://github.com/angular/angular-cli/issues/30594"}
| 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:800a1b58-7683-6cfd-28af-88b01b98a6fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FE4:38C5CF:3BB701E:4BBCE30:6B01E468 |
| html-safe-nonce | 5a19bd92621b8411e11df8f36d446fe1c2f456390cb5fd7ecf2651c423b059ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkU0OjM4QzVDRjozQkI3MDFFOjRCQkNFMzA6NkIwMUU0NjgiLCJ2aXNpdG9yX2lkIjoiMzkzMDA5NDcyMDYwMDEwNjA4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 644abcfeceed46d2d8abaa357b673b1f2050bf707cb35b8b1aa28770e557afd7 |
| hovercard-subject-tag | issue:3173640295 |
| 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/30594/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62e84f3464bdb225dc4117bcbf2f5b3c8b989bd7f0ad507b3cded46299847a15/angular/angular-cli/issues/30594 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62e84f3464bdb225dc4117bcbf2f5b3c8b989bd7f0ad507b3cded46299847a15/angular/angular-cli/issues/30594 |
| og:image:alt | Which @angular/* package(s) are relevant/related to the feature request? compiler-cli Description The problem: Starting in Angular v20, by default Angular CLI will not generate suffixes As written ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | giacomo |
| 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