2014-09-18 17:56:38 -04:00
{
2015-10-15 12:57:29 -04:00
"name" : "angular-srcs" ,
2021-07-21 17:53:53 -04:00
"version" : "12.2.0-next.3" ,
2016-04-28 20:50:03 -04:00
"private" : true ,
2017-01-27 01:30:42 -05:00
"description" : "Angular - a web framework for modern web apps" ,
2015-02-10 18:18:16 -05:00
"homepage" : "https://github.com/angular/angular" ,
"bugs" : "https://github.com/angular/angular/issues" ,
2016-01-12 11:36:43 -05:00
"license" : "MIT" ,
2019-12-04 15:05:53 -05:00
"//engines-comment" : "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json" ,
2015-12-01 17:09:31 -05:00
"engines" : {
2021-05-27 09:48:45 -04:00
"node" : "^12.20.0 || >=14.0.0" ,
2021-04-06 18:51:45 -04:00
"yarn" : ">=1.22.4 <2" ,
"npm" : "Please use yarn instead of NPM to install dependencies"
2015-12-01 17:09:31 -05:00
} ,
2015-01-24 13:50:18 -05:00
"repository" : {
"type" : "git" ,
"url" : "https://github.com/angular/angular.git"
} ,
2014-09-18 17:56:38 -04:00
"scripts" : {
2020-05-15 19:01:38 -04:00
"/" : "" ,
"// 1" : "Many developer of our checks/scripts/tools have moved to our ng-dev tool" ,
"// 2" : "Find the usage you are looking for with:" ,
"// 3" : "yarn ng-dev --help" ,
"/ " : "" ,
2021-04-02 19:13:10 -04:00
"postinstall" : "node scripts/webdriver-manager-update.js && node --preserve-symlinks --preserve-symlinks-main ./tools/postinstall-patches.js" ,
"prepare" : "husky install" ,
2020-02-04 19:14:21 -05:00
"test-ivy-aot" : "bazelisk test --config=ivy --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot" ,
"test-non-ivy" : "bazelisk test --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only" ,
"test-fixme-ivy-aot" : "bazelisk test --config=ivy --build_tag_filters=-no-ivy-aot --test_tag_filters=-no-ivy-aot" ,
"list-fixme-ivy-targets" : "bazelisk query --output=label 'attr(\"tags\", \"\\[.*fixme-ivy.*\\]\", //...) except kind(\"sh_binary\", //...) except kind(\"devmode_js_sources\", //...)' | sort" ,
2020-04-20 16:04:08 -04:00
"lint" : "yarn -s tslint && yarn -s ng-dev format changed --check" ,
2021-07-06 13:41:48 -04:00
"tslint" : "tslint -c tslint.json --project tsconfig-tslint.json" ,
2020-02-26 12:09:35 -05:00
"public-api:check" : "node goldens/public-api/manage.js test" ,
2020-02-24 06:03:15 -05:00
"public-api:update" : "node goldens/public-api/manage.js accept" ,
2020-09-11 17:54:53 -04:00
"symbol-extractor:check" : "node tools/symbol-extractor/run_all_symbols_extractor_tests.js test" ,
"symbol-extractor:update" : "node tools/symbol-extractor/run_all_symbols_extractor_tests.js accept" ,
2020-10-01 19:06:56 -04:00
"ts-circular-deps:check" : "yarn -s ng-dev ts-circular-deps check --config ./packages/circular-deps-test.conf.js" ,
"ts-circular-deps:approve" : "yarn -s ng-dev ts-circular-deps approve --config ./packages/circular-deps-test.conf.js" ,
2020-10-28 13:20:15 -04:00
"ng-dev" : "node dev-infra/ng-dev" ,
"ng-dev:dev" : "ts-node --transpile-only -- dev-infra/cli.ts"
2014-09-18 17:56:38 -04:00
} ,
2018-10-22 17:26:52 -04:00
"// 1" : "dependencies are used locally and by bazel" ,
2014-09-18 17:56:38 -04:00
"dependencies" : {
2021-06-10 13:33:47 -04:00
"@angular-devkit/build-angular" : "12.0.4" ,
"@angular-devkit/build-optimizer" : "0.1200.4" ,
"@angular-devkit/core" : "12.0.4" ,
"@angular-devkit/schematics" : "12.0.4" ,
"@angular/cli" : "12.0.4" ,
2021-06-15 18:06:23 -04:00
"@babel/cli" : "7.14.5" ,
2021-04-05 05:57:24 -04:00
"@babel/core" : "7.8.6" ,
"@babel/generator" : "7.8.6" ,
"@babel/parser" : "7.9.4" ,
"@babel/preset-env" : "7.10.2" ,
"@babel/template" : "7.8.6" ,
"@babel/traverse" : "7.8.6" ,
"@babel/types" : "7.8.6" ,
2021-07-06 09:45:55 -04:00
"@bazel/concatjs" : "4.0.0-beta.0" ,
"@bazel/jasmine" : "4.0.0-beta.0" ,
"@bazel/protractor" : "4.0.0-beta.0" ,
"@bazel/rollup" : "4.0.0-beta.0" ,
"@bazel/runfiles" : "4.0.0-beta.0" ,
"@bazel/terser" : "4.0.0-beta.0" ,
"@bazel/typescript" : "4.0.0-beta.0" ,
2021-07-15 04:46:16 -04:00
"@microsoft/api-extractor" : "7.18.4" ,
2021-06-25 18:45:48 -04:00
"@octokit/rest" : "^18.6.2" ,
"@octokit/core" : "^3.5.1" ,
"@octokit/plugin-rest-endpoint-methods" : "^5.3.3" ,
"@octokit/plugin-paginate-rest" : "^2.13.5" ,
"@octokit/types" : "^6.16.6" ,
2021-06-10 13:33:47 -04:00
"@schematics/angular" : "12.0.4" ,
2019-01-28 15:59:25 -05:00
"@types/angular" : "^1.6.47" ,
2021-04-05 05:57:24 -04:00
"@types/babel__core" : "7.1.6" ,
"@types/babel__generator" : "7.6.1" ,
"@types/babel__template" : "7.0.2" ,
"@types/babel__traverse" : "7.0.9" ,
"@types/base64-js" : "1.3.0" ,
2019-05-31 11:56:07 -04:00
"@types/bluebird" : "^3.5.27" ,
2018-07-16 02:08:48 -04:00
"@types/convert-source-map" : "^1.5.1" ,
2021-04-05 05:57:24 -04:00
"@types/diff" : "^5.0.0" ,
2021-03-19 15:11:21 -04:00
"@types/events" : "3.0.0" ,
2021-07-09 01:46:30 -04:00
"@types/hammerjs" : "2.0.40" ,
2020-07-29 17:19:15 -04:00
"@types/inquirer" : "^7.3.0" ,
2021-07-09 01:46:30 -04:00
"@types/jasmine" : "3.8.1" ,
2020-06-12 12:25:08 -04:00
"@types/jasmine-ajax" : "^3.3.1" ,
2020-01-03 00:28:06 -05:00
"@types/jasminewd2" : "^2.0.8" ,
2019-04-09 21:08:13 -04:00
"@types/minimist" : "^1.2.0" ,
2020-08-26 16:49:43 -04:00
"@types/multimatch" : "^4.0.0" ,
2019-10-17 07:18:19 -04:00
"@types/node" : "^12.11.1" ,
2020-07-24 11:47:30 -04:00
"@types/node-fetch" : "^2.5.7" ,
2017-09-22 13:51:03 -04:00
"@types/selenium-webdriver" : "3.0.7" ,
2021-04-05 05:57:24 -04:00
"@types/semver" : "^7.3.4" ,
2019-11-14 19:56:55 -05:00
"@types/shelljs" : "^0.8.6" ,
2019-05-31 11:56:07 -04:00
"@types/systemjs" : "0.19.32" ,
2020-08-26 16:49:43 -04:00
"@types/yaml" : "^1.9.7" ,
2021-04-05 05:57:24 -04:00
"@types/yargs" : "^16.0.1" ,
2020-03-08 11:52:17 -04:00
"@webcomponents/custom-elements" : "^1.1.0" ,
2018-02-15 12:21:18 -05:00
"angular-1.5" : "npm:angular@1.5" ,
2018-07-31 08:10:13 -04:00
"angular-1.6" : "npm:angular@1.6" ,
2020-12-04 09:53:12 -05:00
"angular-1.7" : "npm:angular@1.7" ,
2021-07-06 09:29:19 -04:00
"angular-1.8" : "npm:angular@1.8" ,
2018-02-15 12:21:18 -05:00
"angular-mocks-1.5" : "npm:angular-mocks@1.5" ,
2018-07-31 08:10:13 -04:00
"angular-mocks-1.6" : "npm:angular-mocks@1.6" ,
2020-12-04 09:53:12 -05:00
"angular-mocks-1.7" : "npm:angular-mocks@1.7" ,
2021-07-06 09:29:19 -04:00
"angular-mocks-1.8" : "npm:angular-mocks@1.8" ,
2021-04-05 05:57:24 -04:00
"base64-js" : "1.5.1" ,
2021-02-05 13:13:21 -05:00
"bluebird" : "^3.7.2" ,
2019-04-15 14:57:36 -04:00
"brotli" : "^1.3.2" ,
2018-10-24 08:24:14 -04:00
"canonical-path" : "1.0.0" ,
2021-04-21 02:38:13 -04:00
"chalk" : "^4.1.0" ,
2021-02-05 13:13:21 -05:00
"chokidar" : "^3.5.1" ,
2018-10-22 17:26:52 -04:00
"convert-source-map" : "^1.5.1" ,
2021-04-21 04:13:34 -04:00
"core-js-bundle" : "^3.10.2" ,
2021-04-05 05:57:24 -04:00
"dependency-graph" : "^0.11.0" ,
"diff" : "^5.0.0" ,
"domino" : "~2.1.6" ,
2021-06-04 01:28:38 -04:00
"google-closure-compiler" : "20210601.0.0" ,
2021-04-05 05:57:24 -04:00
"graceful-fs" : "4.2.6" ,
"hammerjs" : "~2.0.8" ,
2021-02-05 13:13:21 -05:00
"http-server" : "^0.12.3" ,
2021-04-05 05:57:24 -04:00
"incremental-dom" : "0.7.0" ,
2020-01-03 00:28:06 -05:00
"jasmine" : "^3.5.0" ,
2020-06-12 12:25:08 -04:00
"jasmine-ajax" : "^4.0.0" ,
2020-01-03 00:28:06 -05:00
"jasmine-core" : "^3.5.0" ,
2021-04-05 05:57:24 -04:00
"jquery" : "3.6.0" ,
2020-05-04 15:20:00 -04:00
"js-levenshtein" : "^1.1.6" ,
2021-04-30 14:01:03 -04:00
"karma" : "~4.4.0" ,
2021-04-05 05:57:24 -04:00
"karma-chrome-launcher" : "^3.1.0" ,
"karma-firefox-launcher" : "^2.1.0" ,
"karma-jasmine" : "^4.0.1" ,
2019-11-22 16:12:05 -05:00
"karma-requirejs" : "^1.1.0" ,
"karma-sourcemap-loader" : "^0.3.7" ,
2021-04-05 05:57:24 -04:00
"magic-string" : "0.25.7" ,
2019-02-06 06:33:17 -05:00
"materialize-css" : "1.0.0" ,
2020-01-30 11:05:40 -05:00
"minimatch" : "^3.0.4" ,
2021-02-05 13:13:21 -05:00
"minimist" : "^1.2.5" ,
"node-fetch" : "^2.6.1" ,
2018-10-22 17:26:52 -04:00
"node-uuid" : "1.4.8" ,
2019-05-31 11:56:07 -04:00
"nodejs-websocket" : "^1.7.2" ,
2021-04-05 05:57:24 -04:00
"protractor" : "^7.0.0" ,
2020-12-16 10:27:47 -05:00
"puppeteer" : "5.4.1" ,
2018-10-22 17:26:52 -04:00
"reflect-metadata" : "^0.1.3" ,
2019-11-22 16:12:05 -05:00
"requirejs" : "^2.3.6" ,
2021-04-05 05:57:24 -04:00
"rollup" : "2.16.1" ,
2019-10-29 17:21:30 -04:00
"rollup-plugin-commonjs" : "^10.1.0" ,
"rollup-plugin-node-resolve" : "^5.2.0" ,
2021-04-05 05:57:24 -04:00
"rollup-plugin-sourcemaps" : "^0.6.3" ,
2019-09-23 04:44:21 -04:00
"rxjs" : "^6.5.3" ,
2018-10-22 17:26:52 -04:00
"selenium-webdriver" : "3.5.0" ,
2021-02-05 13:13:21 -05:00
"shelljs" : "^0.8.4" ,
2018-10-22 17:26:52 -04:00
"source-map" : "^0.6.1" ,
2021-04-05 05:57:24 -04:00
"source-map-support" : "0.5.19" ,
2020-02-16 15:07:30 -05:00
"sourcemap-codec" : "^1.4.8" ,
2019-02-01 08:27:13 -05:00
"systemjs" : "0.18.10" ,
2019-11-14 16:08:40 -05:00
"terser" : "^4.4.0" ,
2021-04-05 05:57:24 -04:00
"tmp" : "0.2.1" ,
2020-03-04 20:27:27 -05:00
"tsickle" : "0.38.1" ,
2021-05-06 10:52:39 -04:00
"tslib" : "^2.2.0" ,
2020-07-15 06:21:04 -04:00
"tslint" : "6.1.3" ,
2021-06-18 09:29:03 -04:00
"typescript" : "~4.3.4" ,
2021-04-05 05:57:24 -04:00
"xhr2" : "0.2.1" ,
2020-08-26 16:49:43 -04:00
"yaml" : "^1.10.0" ,
2021-05-04 02:39:44 -04:00
"yargs" : "^17.0.0"
2018-10-22 17:26:52 -04:00
} ,
"// 2" : "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted." ,
"devDependencies" : {
2021-04-13 13:07:12 -04:00
"@bazel/bazelisk" : "^1.7.5" ,
2021-04-05 05:57:24 -04:00
"@bazel/buildifier" : "^4.0.1" ,
2021-04-13 13:07:12 -04:00
"@bazel/ibazel" : "^0.15.8" ,
2021-04-05 05:57:24 -04:00
"@octokit/graphql" : "^4.6.1" ,
build: convert CLDR locale extraction from Gulp to Bazel tool (#42230)
Converts the CLDR locale extraction script to a Bazel tool.
This allows us to generate locale files within Bazel, so that
locales don't need to live as sources within the repo. Also
it allows us to get rid of the legacy Gulp tooling.
The migration of the Gulp script to a Bazel tool involved the
following things:
1. Basic conversion of the `extract.js` script to TypeScript.
This mostly was about adding explicit types. e.g. adding `locale:
string` or `localeData: CldrStatic`.
2. Split-up into separate files. Instead of keeping the large
`extract.js` file, the tool has been split into separate files.
The logic remains the same, just that code is more readable and
maintainable.
3. Introduction of a new `index.ts` file that is the entry-point
for the Bazel tool. Previously the Gulp tool just generated
all locale files, the default locale and base currency files
at once. The new entry-point accepts a mode to be passed as
first process argument. based on that argument, either locales
are generated into a specified directory, or the default locale,
base currencies or closure file is generated.
This allows us to generate files with a Bazel genrule where
we simply run the tool and specify the outputs. Note: It's
necessary to have multiple modes because files live in separate
locations. e.g. the default locale in `@angular/core`, but the
rest in `@angular/common`.
4. Removal of the `cldr-data-downloader` and custom CLDR resolution
logic. Within Bazel we cannot run a downloader using network.
We switch this to something more Bazel idiomatic with better
caching. For this a new repository rule is introduced that
downloads the CLDR JSON repository and extracts it. Within
that rule we determine the supported locales so that they
can be used to pre-declare outputs (for the locales) within
Bazel analysis phase. This allows us to add the generated locale
files to a `ts_library` (which we want to have for better testing,
and consistent JS transpilation).
Note that the removal of `cldr-data-downloader` also requires us to
add logic for detecting locales without data. The CLDR data
downloader overwrote the `availableLocales.json` file with a file
that only lists locales that CLDR provides data for. We use the
official `availableLocales` file CLDR provides, but filter out
locales for which no data is available. This is needed until we
update to CLDR 39 where data is available for all such locales
listed in `availableLocales.json`.
PR Close #42230
2021-05-21 16:57:42 -04:00
"@types/cldrjs" : "^0.4.22" ,
2020-04-20 16:00:10 -04:00
"@types/cli-progress" : "^3.4.2" ,
2021-03-19 15:11:21 -04:00
"@types/conventional-commits-parser" : "^3.0.1" ,
2021-04-01 19:28:17 -04:00
"@types/ejs" : "^3.0.6" ,
2021-03-24 19:17:15 -04:00
"@types/git-raw-commits" : "^2.0.0" ,
2018-10-22 17:26:52 -04:00
"@types/minimist" : "^1.2.0" ,
2019-11-25 10:48:18 -05:00
"@yarnpkg/lockfile" : "^1.1.0" ,
2021-02-11 15:14:15 -05:00
"browserstacktunnel-wrapper" : "^2.0.4" ,
2021-02-05 13:13:21 -05:00
"check-side-effects" : "0.0.23" ,
2020-03-23 11:53:42 -04:00
"clang-format" : "^1.4.0" ,
build: convert CLDR locale extraction from Gulp to Bazel tool (#42230)
Converts the CLDR locale extraction script to a Bazel tool.
This allows us to generate locale files within Bazel, so that
locales don't need to live as sources within the repo. Also
it allows us to get rid of the legacy Gulp tooling.
The migration of the Gulp script to a Bazel tool involved the
following things:
1. Basic conversion of the `extract.js` script to TypeScript.
This mostly was about adding explicit types. e.g. adding `locale:
string` or `localeData: CldrStatic`.
2. Split-up into separate files. Instead of keeping the large
`extract.js` file, the tool has been split into separate files.
The logic remains the same, just that code is more readable and
maintainable.
3. Introduction of a new `index.ts` file that is the entry-point
for the Bazel tool. Previously the Gulp tool just generated
all locale files, the default locale and base currency files
at once. The new entry-point accepts a mode to be passed as
first process argument. based on that argument, either locales
are generated into a specified directory, or the default locale,
base currencies or closure file is generated.
This allows us to generate files with a Bazel genrule where
we simply run the tool and specify the outputs. Note: It's
necessary to have multiple modes because files live in separate
locations. e.g. the default locale in `@angular/core`, but the
rest in `@angular/common`.
4. Removal of the `cldr-data-downloader` and custom CLDR resolution
logic. Within Bazel we cannot run a downloader using network.
We switch this to something more Bazel idiomatic with better
caching. For this a new repository rule is introduced that
downloads the CLDR JSON repository and extracts it. Within
that rule we determine the supported locales so that they
can be used to pre-declare outputs (for the locales) within
Bazel analysis phase. This allows us to add the generated locale
files to a `ts_library` (which we want to have for better testing,
and consistent JS transpilation).
Note that the removal of `cldr-data-downloader` also requires us to
add logic for detecting locales without data. The CLDR data
downloader overwrote the `availableLocales.json` file with a file
that only lists locales that CLDR provides data for. We use the
official `availableLocales` file CLDR provides, but filter out
locales for which no data is available. This is needed until we
update to CLDR 39 where data is available for all such locales
listed in `availableLocales.json`.
PR Close #42230
2021-05-21 16:57:42 -04:00
"cldr" : "5.7.0" ,
2021-04-05 05:57:24 -04:00
"cldrjs" : "0.5.5" ,
2020-04-20 16:00:10 -04:00
"cli-progress" : "^3.7.0" ,
2021-04-05 05:57:24 -04:00
"conventional-changelog" : "^3.1.24" ,
2021-03-19 15:11:21 -04:00
"conventional-commits-parser" : "^3.2.1" ,
2021-04-01 19:28:17 -04:00
"ejs" : "^3.1.6" ,
2021-04-19 17:21:32 -04:00
"firebase-tools" : "^9.0.0" ,
2021-03-24 19:17:15 -04:00
"git-raw-commits" : "^2.0.10" ,
2021-05-07 01:05:02 -04:00
"glob" : "7.1.7" ,
2021-02-11 15:09:30 -05:00
"gulp" : "^4.0.2" ,
"gulp-conventional-changelog" : "^2.0.35" ,
2021-07-09 01:46:30 -04:00
"husky" : "7.0.1" ,
2021-04-13 13:07:12 -04:00
"inquirer" : "^8.0.0" ,
2019-11-22 16:12:05 -05:00
"karma-browserstack-launcher" : "^1.3.0" ,
2018-12-12 17:07:21 -05:00
"karma-sauce-launcher" : "^2.0.2" ,
2021-06-24 11:49:49 -04:00
"madge" : "^5.0.0" ,
2021-04-05 05:57:24 -04:00
"multimatch" : "^5.0.0" ,
2020-07-24 11:47:30 -04:00
"nock" : "^13.0.3" ,
2020-09-01 04:46:10 -04:00
"ora" : "^5.0.0" ,
2021-05-14 13:53:38 -04:00
"prettier" : "^2.3.0" ,
2020-10-26 22:42:23 -04:00
"rollup-plugin-hashbang" : "^2.2.2" ,
2020-09-30 19:12:11 -04:00
"sauce-connect" : "https://saucelabs.com/downloads/sc-4.6.2-linux.tar.gz" ,
2021-04-05 05:57:24 -04:00
"semver" : "^7.3.5" ,
2021-06-01 15:17:00 -04:00
"ts-node" : "^10.0.0" ,
2020-03-02 13:00:50 -05:00
"tslint-eslint-rules" : "5.4.0" ,
2019-05-02 11:44:24 -04:00
"tslint-no-toplevel-property-access" : "0.0.2" ,
2021-04-21 08:23:57 -04:00
"typed-graphqlify" : "^3.1.1" ,
2021-04-05 05:57:24 -04:00
"vlq" : "1.0.1" ,
"vrsource-tslint-rules" : "6.0.0"
2019-01-18 13:43:04 -05:00
} ,
2019-10-23 06:49:49 -04:00
"// 4" : "Overwrite graceful-fs to a version that does not rely on the 'natives' package. This fixes gulp for >= 10.13, more information: #28213" ,
2020-01-31 18:50:44 -05:00
"// 5" : "Ensure a single version of webdriver-manager so it is hoisted as the integration tests depend on it being found at ../../node_modules/webdriver-manager" ,
2021-04-05 05:57:24 -04:00
"// 6" : "Ensure that `@babel/*` packages match the below versions to avoid conflicts with `types/babel__*`" ,
2019-01-18 13:43:04 -05:00
"resolutions" : {
2021-04-14 03:22:30 -04:00
"**/graceful-fs" : "4.2.6" ,
2021-04-05 05:57:24 -04:00
"**/webdriver-manager" : "12.1.8" ,
"@babel/core" : "7.8.6" ,
"@babel/generator" : "7.8.6" ,
"@babel/parser" : "7.9.4" ,
"@babel/preset-env" : "7.10.2" ,
"@babel/template" : "7.8.6" ,
"@babel/traverse" : "7.8.6" ,
"@babel/types" : "7.8.6"
build: convert CLDR locale extraction from Gulp to Bazel tool (#42230)
Converts the CLDR locale extraction script to a Bazel tool.
This allows us to generate locale files within Bazel, so that
locales don't need to live as sources within the repo. Also
it allows us to get rid of the legacy Gulp tooling.
The migration of the Gulp script to a Bazel tool involved the
following things:
1. Basic conversion of the `extract.js` script to TypeScript.
This mostly was about adding explicit types. e.g. adding `locale:
string` or `localeData: CldrStatic`.
2. Split-up into separate files. Instead of keeping the large
`extract.js` file, the tool has been split into separate files.
The logic remains the same, just that code is more readable and
maintainable.
3. Introduction of a new `index.ts` file that is the entry-point
for the Bazel tool. Previously the Gulp tool just generated
all locale files, the default locale and base currency files
at once. The new entry-point accepts a mode to be passed as
first process argument. based on that argument, either locales
are generated into a specified directory, or the default locale,
base currencies or closure file is generated.
This allows us to generate files with a Bazel genrule where
we simply run the tool and specify the outputs. Note: It's
necessary to have multiple modes because files live in separate
locations. e.g. the default locale in `@angular/core`, but the
rest in `@angular/common`.
4. Removal of the `cldr-data-downloader` and custom CLDR resolution
logic. Within Bazel we cannot run a downloader using network.
We switch this to something more Bazel idiomatic with better
caching. For this a new repository rule is introduced that
downloads the CLDR JSON repository and extracts it. Within
that rule we determine the supported locales so that they
can be used to pre-declare outputs (for the locales) within
Bazel analysis phase. This allows us to add the generated locale
files to a `ts_library` (which we want to have for better testing,
and consistent JS transpilation).
Note that the removal of `cldr-data-downloader` also requires us to
add logic for detecting locales without data. The CLDR data
downloader overwrote the `availableLocales.json` file with a file
that only lists locales that CLDR provides data for. We use the
official `availableLocales` file CLDR provides, but filter out
locales for which no data is available. This is needed until we
update to CLDR 39 where data is available for all such locales
listed in `availableLocales.json`.
PR Close #42230
2021-05-21 16:57:42 -04:00
}
2021-01-22 10:54:07 -05:00
}