angular-docs-cn/packages
Paul Gschwendtner e640db198f build: simplify generation of closure locale file (#42230)
In the past, the closure file has been generated so that all individual
locale files were imported individually. This resulted in a huge
slow-down in g3 due to the large amount of imports.

With 90bd984ff7 this changed so that we
inline the locale data for the g3 closure locale file. Also the file
only contained data for locales being supported by Closure. For this a
list of locales has been extracted from Closure Compiler, as well as a
list of locale aliases.

This logic is prone to CLDR version updates, and also broke as part of
the Gulp -> Bazel migration where this logic has been slightly modified
but caused issues in G3. e.g. a locale `zh-Hant` was requested in g3,
but the locale data had the name of the alias locale that provided the
data at index zero (which represents the locale name). Note that the
locale names at index zero always could differentiate from the requested
`goog.LOCALE` due to the aliasing logic. This just didn't come up before.

We simplify this logic by generating a `goog.LOCALE` case for all
locales CLDR provides data for. We don't need to bother about aliasing
because with the refactorings to the CLDR generation tool, all locales
are built (which also captures the aliases), and we can generate the locale
file on the fly (which has not been done before).

PR Close #42230
2021-07-16 12:44:59 -07:00
..
animations refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
bazel build: update dependency @microsoft/api-extractor to v7.18.4 (#42864) 2021-07-15 13:34:24 -07:00
benchpress refactor(benchpress): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:15 -07:00
common build: simplify generation of closure locale file (#42230) 2021-07-16 12:44:59 -07:00
compiler docs: remove reference to an obsolete design doc (#42842) 2021-07-15 13:24:58 -07:00
compiler-cli perf(compiler-cli): optimize cycle detection using a persistent cache (#41271) 2021-07-15 13:13:48 -07:00
core build: wire up new CLDR generation tool within Bazel (#42230) 2021-07-16 12:44:59 -07:00
docs docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:12 -07:00
elements refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
examples refactor: ensure compatibility with noImplicitOverride for examples (#42512) 2021-07-12 13:11:16 -07:00
forms refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
language-service refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
localize refactor(localize): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:16 -07:00
misc/angular-in-memory-web-api refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
platform-browser refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
platform-browser-dynamic refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
platform-server refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
private/testing docs: convert the last `my-app` components to `app-root` (#42256) 2021-05-25 22:13:36 +00:00
router refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
service-worker refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
upgrade refactor(upgrade): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:15 -07:00
zone.js build: lock file maintenance (#42824) 2021-07-15 13:22:37 -07:00
BUILD.bazel build: remove unused no-strict tsconfig file (#42506) 2021-06-07 10:47:47 -07:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json build: enable noImplicitOverride in project (#42512) 2021-07-12 13:11:14 -07:00
tsconfig-legacy-saucelabs.json build: enable noImplicitOverride in project (#42512) 2021-07-12 13:11:14 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json build: enable noImplicitOverride in project (#42512) 2021-07-12 13:11:14 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT