mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 09:37:18 +08:00
To align with the updated style guide, Angular v20 will generate components without a `.component` file extension type for all component related files by default. Projects will automatically use this naming convention. Projects can however opt-out by setting the `type` option to `Component` for the component schematic. This can be done as a default in the `angular.json` or directly on the commandline via `--type=Component` when executing `ng generate`. As an example, `app.component.css` will now be named `app.css`. Additionally, the TypeScript class name will be `App` instead of the previous `AppComponent`.
/tests
Folder
Contains all e2e tests and test assets.
legacy-cli/
Contains all assets and all e2e tests from the legacy CLI repo.
Others
Other folders contain test assets related to the Package namespace folders matching their name.