angular-cn/packages/common
Paul Gschwendtner 3b2f607cda build: generate closure locale files using hard-coded list of locales (#42230)
With the refactoring from a Gulp task to a Bazel too, we tried switching
away from the hard-coded list of locales and aliases for the Closure
Locale file generation. After multiple attempts of landing this, it
turned out that Closure Compiler/Closure Library relies on locale
identifiers CLDR does not capture within it's `availableLocales.json`
or `aliases.json` data.

Closure Library does not use any unknown locale identifiers here. The
locale identifiers can be resolved within CLDR using the bundle lookup
algorithm that is specified as part of CLDR; instead the problem is that
the locale identifiers do not follow any reasonable pattern and
therefore it's extremely difficult to generate them automatically (it's
almost like we'd need to build up _all_ possible combinations). Instead
of doing that, we just use the hard-coded locales and aliases from the
old Closure Locale generation script.

PR Close #42230
2021-07-16 12:44:59 -07:00
..
http refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
locales build: generate closure locale files using hard-coded list of locales (#42230) 2021-07-16 12:44:59 -07:00
src build: wire up new CLDR generation tool within Bazel (#42230) 2021-07-16 12:44:59 -07:00
test fix(common): re-sort output of `KeyValuePipe` when `compareFn` changes (#42821) 2021-07-13 11:33:21 -07:00
testing feat(common): add `historyGo` method to `Location` service (#38890) 2021-04-06 09:25:58 -07:00
upgrade docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
BUILD.bazel build: wire up new CLDR generation tool within Bazel (#42230) 2021-07-16 12:44:59 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00