mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
392c56749a
`--project` is unwritten standard to provide the project name. With this change we allow the project name to be provided using the `--project` command line argument and remove the ambiguity with other schematics. PR Close #46664
@angular/localize schematic for ng add
This schematic will be executed when an Angular CLI user runs ng add @angular/localize.
It will search their angular.json file, and find polyfills and main files for server builders.
Then it will add the @angular/localize/init polyfill that @angular/localize needs to work.
If the user specifies that they want to use $localize at runtime then the dependency will be
added to the depdendencies section of package.json rather than in the devDependencies which
is the default.