angular-cn/packages/localize/schematics/ng-add
Joey Perrott 4b469c960e fix(localize): update type castings for JSON.parse usage (#40710)
Update usages of JSON.parse to be cast as specific types.

PR Close #40710
2021-02-09 10:48:43 -08:00
..
BUILD.bazel build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#39182) 2020-10-08 11:54:59 -07:00
README.md fix(localize): install `@angular/localize` in `devDependencies` by default (#38680) 2020-09-03 09:41:38 -07:00
index.ts fix(localize): install `@angular/localize` in `devDependencies` by default (#38680) 2020-09-03 09:41:38 -07:00
index_spec.ts fix(localize): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
schema.d.ts fix(localize): install `@angular/localize` in `devDependencies` by default (#38680) 2020-09-03 09:41:38 -07:00
schema.json fix(localize): install `@angular/localize` in `devDependencies` by default (#38680) 2020-09-03 09:41:38 -07:00
tsconfig-build.json feat(ivy): support ng-add in localize package (#32791) 2019-09-27 13:15:02 -07:00

README.md

@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.