angular/packages/localize/schematics/ng-add
cexbrayat 5a20a44c64 fix(localize): ng-add schematics for application builder (#51777)
The schematics now supports the `application` builder, which is the new default builder in an application built with the CLI v17

PR Close #51777
2023-09-15 09:07:51 +02:00
..
BUILD.bazel build: make devmode a noop and ensure it never runs (#48521) 2022-12-19 19:50:45 +00:00
index.ts fix(localize): ng-add schematics for application builder (#51777) 2023-09-15 09:07:51 +02:00
index_spec.ts fix(localize): ng-add schematics for application builder (#51777) 2023-09-15 09:07:51 +02:00
README.md docs(docs-infra): improve docs for @angular/localize package. (#49393) 2023-03-20 13:12:19 +01:00
schema.d.ts fix(localize): add --project option to ng-add schematic (#46664) 2022-07-06 15:49:05 -07:00
schema.json fix(localize): add --project option to ng-add schematic (#46664) 2022-07-06 15:49:05 -07:00
tsconfig-build.json fix(localize): add polyfill in polyfills array instead of polyfills.ts (#47569) 2022-10-03 08:47:03 -07:00

@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 add types: ["@angular/localize"] in the TypeScript configuration files of the project.

If the user specifies that they want to use $localize at runtime then the dependency will be added to the dependencies section of package.json rather than in the devDependencies which is the default.