angular/package.json

233 lines
10 KiB
JSON
Raw Normal View History

2014-09-18 21:56:38 +00:00
{
"name": "angular-srcs",
"version": "15.1.0-next.3",
"private": true,
"description": "Angular - a web framework for modern web apps",
"homepage": "https://github.com/angular/angular",
"bugs": "https://github.com/angular/angular/issues",
"license": "MIT",
"//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json",
"engines": {
"node": "^14.20.0 || ^16.13.0 || >=18.10.0",
build: rely on engines to prevent using npm for dependency install (#41477) Rather than relying on a preinstall script, set `engine-strict` to `true` in a project `.npmrc` file, relying on the `engines` having `npm` set to note that yarn should be used instead. --- Output from `npm install` changes from: ``` $ npm install > angular-srcs@12.0.0-next.7 preinstall /usr/local/account/js/angular > node tools/yarn/check-yarn.js /usr/local/account/js/angular/tools/yarn/check-yarn.js:12 throw new Error( ^ Error: Please use Yarn instead of NPM to install dependencies. See: https://yarnpkg.com/lang/en/docs/install/ at Object.<anonymous> (/usr/local/account/js/angular/tools/yarn/check-yarn.js:12:9) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-srcs@12.0.0-next.7 preinstall: `node tools/yarn/check-yarn.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-srcs@12.0.0-next.7 preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /usr/local/account/.npm/_logs/2021-04-06T22_54_02_292Z-debug.log ``` to ``` $ npm install npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for angular-srcs@12.0.0-next.7: wanted: {"node":">=10.19.0 <13.0.0","yarn":">=1.22.4 <2","npm":"Plesae use yarn instead of NPM to install dependencies"} (current: {"node":"10.20.1","npm":"6.14.4"}) npm ERR! notsup Not compatible with your version of node/npm: angular-srcs@12.0.0-next.7 npm ERR! notsup Not compatible with your version of node/npm: angular-srcs@12.0.0-next.7 npm ERR! notsup Required: {"node":">=10.19.0 <13.0.0","yarn":">=1.22.4 <2","npm":"Plesae use yarn instead of NPM to install dependencies"} npm ERR! notsup Actual: {"npm":"6.14.4","node":"10.20.1"} npm ERR! A complete log of this run can be found in: npm ERR! /usr/local/account/.npm/_logs/2021-04-06T22_53_23_912Z-debug.log ``` PR Close #41477
2021-04-06 22:51:45 +00:00
"yarn": ">=1.22.4 <2",
"npm": "Please use yarn instead of NPM to install dependencies"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git"
},
2014-09-18 21:56:38 +00:00
"scripts": {
"/": "",
"// 1": "Many 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",
"/ ": "",
"postinstall": "node scripts/webdriver-manager-update.js && node --preserve-symlinks --preserve-symlinks-main ./tools/postinstall-patches.js && patch-package --patch-dir tools/esm-interop/patches/npm",
"prepare": "husky install",
"ng-dev": "cross-env TS_NODE_PROJECT=$PWD/.ng-dev/tsconfig.json TS_NODE_TRANSPILE_ONLY=1 node --no-warnings --loader ts-node/esm node_modules/@angular/ng-dev/bundles/cli.mjs",
"build": "ts-node --esm --project scripts/tsconfig.json scripts/build/build-packages-dist.mts",
"test": "bazelisk test",
"test:ci": "bazelisk test -- //... -//devtools/... -//aio/...",
"test-tsec": "bazelisk test //... --build_tag_filters=tsec --test_tag_filters=tsec",
"lint": "yarn -s tslint && yarn -s ng-dev format changed --check",
"tslint": "tslint -c tslint.json --project tsconfig-tslint.json",
"public-api:check": "node goldens/public-api/manage.js test",
"public-api:update": "node goldens/public-api/manage.js accept",
"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",
"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",
"check-tooling-setup": "yarn tsc --project .ng-dev/tsconfig.json && yarn tsc --project scripts/tsconfig.json",
"devtools:devserver": "ibazel run //devtools/src:devserver",
"devtools:build:chrome": "bazelisk build --config snapshot-build --//devtools/projects/shell-browser/src:flag_browser=chrome -- devtools/projects/shell-browser/src:prodapp",
"devtools:build:firefox": "bazelisk build --config snapshot-build --//devtools/projects/shell-browser/src:flag_browser=firefox -- devtools/projects/shell-browser/src:prodapp",
"devtools:test": "bazelisk test --config snapshot-build --//devtools/projects/shell-browser/src:flag_browser=chrome -- //devtools/..."
2014-09-18 21:56:38 +00:00
},
"// 1": "dependencies are used locally and by bazel",
2014-09-18 21:56:38 +00:00
"dependencies": {
"@angular-devkit/build-angular": "15.1.0-next.2",
build: update cross-repo angular dependencies (#46642) | datasource | package | from | to | | ---------- | --------------------------------- | -------- | --------------- | | npm | @angular-devkit/architect-cli | 0.1400.0 | 0.1401.0-next.3 | | npm | @angular-devkit/build-angular | 13.3.6 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.0 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.0 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.4 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.0 | 14.1.0-next.3 | | npm | @angular-devkit/build-angular | 14.0.0 | 14.1.0-next.3 | | npm | @angular-devkit/build-optimizer | 0.1302.1 | 0.1302.0-rc.1 | | npm | @angular-devkit/core | 13.3.6 | 14.1.0-next.3 | | npm | @angular-devkit/schematics | 13.3.6 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.0 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.0 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.4 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.0 | 14.1.0-next.3 | | npm | @angular/animations | 14.0.0 | 14.1.0-next.3 | | npm | @angular/cdk | 13.3.7 | 14.1.0-next.3 | | npm | @angular/cdk | 14.0.0 | 14.1.0-next.3 | | npm | @angular/cdk | 14.0.0 | 14.1.0-next.3 | | npm | @angular/cli | 13.3.6 | 14.1.0-next.3 | | npm | @angular/common | 14.0.0 | 14.1.0-next.3 | | npm | @angular/common | 14.0.0 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.4 | 14.1.0-next.3 | | npm | @angular/common | 14.0.0 | 14.1.0-next.3 | | npm | @angular/common | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.4 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.0 | 14.1.0-next.3 | | npm | @angular/compiler-cli | 14.0.0 | 14.1.0-next.3 | | npm | @angular/core | 14.0.0 | 14.1.0-next.3 | | npm | @angular/core | 14.0.0 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.4 | 14.1.0-next.3 | | npm | @angular/core | 14.0.0 | 14.1.0-next.3 | | npm | @angular/core | 14.0.0 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.0 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.0 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.4 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.4 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.0 | 14.1.0-next.3 | | npm | @angular/elements | 14.0.0 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.0 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.0 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.4 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.0 | 14.1.0-next.3 | | npm | @angular/forms | 14.0.0 | 14.1.0-next.3 | | npm | @angular/localize | 14.0.0 | 14.1.0-next.3 | | npm | @angular/localize | 14.0.0 | 14.1.0-next.3 | | npm | @angular/localize | 14.0.4 | 14.1.0-next.3 | | npm | @angular/localize | 14.0.4 | 14.1.0-next.3 | | npm | @angular/material | 13.3.7 | 14.1.0-next.3 | | npm | @angular/material | 14.0.0 | 14.1.0-next.3 | | npm | @angular/material | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-browser-dynamic | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-server | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-server | 14.0.0 | 14.1.0-next.3 | | npm | @angular/platform-server | 14.0.4 | 14.1.0-next.3 | | npm | @angular/platform-server | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.0 | 14.1.0-next.3 | | npm | @angular/router | 14.0.0 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.4 | 14.1.0-next.3 | | npm | @angular/router | 14.0.0 | 14.1.0-next.3 | | npm | @angular/router | 14.0.0 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.0 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.0 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.4 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.4 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.0 | 14.1.0-next.3 | | npm | @angular/service-worker | 14.0.0 | 14.1.0-next.3 | | npm | @angular/upgrade | 14.0.0 | 14.1.0-next.3 | | npm | @angular/upgrade | 14.0.0 | 14.1.0-next.3 | | npm | @angular/upgrade | 14.0.4 | 14.1.0-next.3 | | npm | @angular/upgrade | 14.0.4 | 14.1.0-next.3 | | npm | @schematics/angular | 13.3.6 | 14.1.0-next.3 | PR Close #46642
2022-06-30 12:47:56 +00:00
"@angular-devkit/build-optimizer": "0.1302.0-rc.1",
"@angular-devkit/core": "15.1.0-next.2",
"@angular-devkit/schematics": "15.1.0-next.2",
"@angular/animations-12": "npm:@angular/animations@12.2.13",
"@angular/cdk": "15.1.0-next.1",
"@angular/cli": "15.1.0-next.2",
"@angular/common-12": "npm:@angular/common@12.2.13",
"@angular/core-12": "npm:@angular/core@12.2.13",
"@angular/forms-12": "npm:@angular/forms@12.2.13",
"@angular/material": "15.1.0-next.1",
"@angular/platform-browser-12": "npm:@angular/platform-browser@12.2.13",
"@angular/platform-browser-dynamic-12": "npm:@angular/platform-browser-dynamic@12.2.13",
"@angular/platform-server-12": "npm:@angular/platform-server@12.2.13",
"@angular/router-12": "npm:@angular/router@12.2.13",
"@babel/cli": "7.19.3",
"@babel/core": "7.19.3",
"@babel/generator": "7.19.5",
"@babel/parser": "7.19.4",
"@babel/preset-env": "7.19.4",
"@babel/template": "7.18.10",
"@babel/traverse": "7.19.4",
"@babel/types": "7.19.4",
"@bazel/concatjs": "5.7.1",
"@bazel/esbuild": "5.7.1",
"@bazel/jasmine": "5.7.1",
"@bazel/protractor": "5.7.1",
"@bazel/rollup": "5.7.1",
"@bazel/runfiles": "5.7.1",
"@bazel/terser": "5.7.1",
"@bazel/worker": "5.7.1",
"@jridgewell/sourcemap-codec": "^1.4.14",
"@microsoft/api-extractor": "^7.24.2",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^23.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@schematics/angular": "15.1.0-next.2",
"@types/angular": "^1.6.47",
"@types/babel__core": "7.1.20",
"@types/babel__generator": "7.6.4",
"@types/babel__template": "7.4.1",
"@types/babel__traverse": "7.18.3",
"@types/base64-js": "1.3.0",
"@types/bluebird": "^3.5.27",
"@types/chrome": "^0.0.203",
"@types/convert-source-map": "^1.5.1",
"@types/diff": "^5.0.0",
"@types/events": "3.0.0",
"@types/filesystem": "^0.0.32",
"@types/hammerjs": "2.0.41",
"@types/jasmine": "^4.0.0",
"@types/jasmine-ajax": "^3.3.1",
"@types/jasminewd2": "^2.0.8",
"@types/multimatch": "^4.0.0",
"@types/node": "^16.11.7",
"@types/resize-observer-browser": "^0.1.5",
"@types/selenium-webdriver": "3.0.7",
"@types/semver": "^7.3.4",
"@types/shelljs": "^0.8.6",
"@types/systemjs": "0.19.32",
"@types/uuid": "^9.0.0",
"@types/yargs": "^17.0.3",
"@webcomponents/custom-elements": "^1.1.0",
"angular-1.5": "npm:angular@1.5",
"angular-1.6": "npm:angular@1.6",
"angular-1.7": "npm:angular@1.7",
"angular-1.8": "npm:angular@1.8",
"angular-mocks-1.5": "npm:angular-mocks@1.5",
"angular-mocks-1.6": "npm:angular-mocks@1.6",
"angular-mocks-1.7": "npm:angular-mocks@1.7",
"angular-mocks-1.8": "npm:angular-mocks@1.8",
"base64-js": "1.5.1",
"bluebird": "^3.7.2",
"brotli": "^1.3.2",
"canonical-path": "1.0.0",
"chalk": "^4.1.0",
"chokidar": "^3.5.1",
"convert-source-map": "^1.5.1",
"core-js-bundle": "^3.10.2",
"d3": "^7.0.0",
"dependency-graph": "^0.11.0",
"diff": "^5.0.0",
"document-register-element": "^1.7.2",
"domino": "~2.1.6",
"google-closure-compiler": "20221102.0.1",
"graceful-fs": "4.2.10",
"hammerjs": "~2.0.8",
"http-server": "^14.0.0",
"incremental-dom": "0.7.0",
"jasmine": "^4.0.0",
"jasmine-ajax": "^4.0.0",
"jasmine-core": "^4.0.0",
"jquery": "3.6.1",
"js-levenshtein": "^1.1.6",
"karma": "~6.4.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^5.0.0",
"karma-requirejs": "^1.1.0",
"karma-sourcemap-loader": "^0.3.7",
"magic-string": "0.27.0",
"materialize-css": "1.0.0",
"memo-decorator": "^2.0.1",
"ngx-flamegraph": "0.0.11",
"nodejs-websocket": "^1.7.2",
"protractor": "^7.0.0",
"puppeteer": "18.0.5",
"reflect-metadata": "^0.1.3",
"requirejs": "^2.3.6",
"rollup": "~2.79.0",
"rollup-plugin-preserve-shebang": "^1.0.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rxjs": "^6.6.7",
"selenium-webdriver": "3.5.0",
"semver-dsl": "^1.0.1",
"shelljs": "^0.8.5",
"source-map": "0.7.4",
"source-map-support": "0.5.21",
"start-server-and-test": "^1.10.11",
"systemjs": "0.18.10",
"terser": "^5.8.0",
"tmp": "0.2.1",
"todomvc-app-css": "^2.3.0",
"todomvc-common": "^1.0.5",
"tsickle": "0.46.3",
"tslib": "^2.3.0",
"tslint": "6.1.3",
"typescript": "~4.9.3",
"webtreemap": "^2.0.1",
"xhr2": "0.2.1",
"yargs": "^17.2.1"
},
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
"devDependencies": {
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#e1aec534818208328b29a76cfe9892c2a031ed94",
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#05278122c48e06eff8e5398d59c49ed6688c949b",
"@bazel/bazelisk": "^1.7.5",
"@bazel/buildifier": "^5.0.0",
"@bazel/ibazel": "^0.16.0",
"@octokit/graphql": "^5.0.0",
"@types/browser-sync": "^2.26.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 20:57:42 +00:00
"@types/cldrjs": "^0.4.22",
"@types/cli-progress": "^3.4.2",
"@types/minimist": "^1.2.0",
"@types/send": "^0.17.0",
"@yarnpkg/lockfile": "^1.1.0",
"browser-sync": "2.27.10",
"check-side-effects": "0.0.23",
"cldr": "7.3.0",
"cldrjs": "0.5.5",
"conventional-changelog": "^3.1.24",
"cross-env": "^7.0.3",
"firebase-tools": "^11.0.0",
"glob": "8.0.3",
"gulp": "^4.0.2",
"gulp-conventional-changelog": "^2.0.35",
"husky": "8.0.2",
"karma-sauce-launcher": "^4.3.6",
"madge": "^5.0.0",
"minimist": "^1.2.0",
"multimatch": "^6.0.0",
"patch-package": "^6.5.0",
"prettier": "^2.5.1",
"sauce-connect": "https://saucelabs.com/downloads/sc-4.8.1-linux.tar.gz",
"semver": "^7.3.5",
"send": "^0.18.0",
"ts-node": "^10.8.1",
"tsec": "0.2.6",
"tslint-eslint-rules": "5.4.0",
"tslint-no-toplevel-property-access": "0.0.2",
"typed-graphqlify": "^3.1.1",
"vlq": "2.0.4",
"vrsource-tslint-rules": "6.0.0"
build: Fix gulp format for Node >= 10.14 (#28213) With Node.js v10.14 and greater, running `yarn gulp format` produces the following error: ``` $ nvm current v10.15.0 $ yarn gulp format:changed yarn run v1.12.3 $ /usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/.bin/gulp format:changed internal/util/inspect.js:31 const types = internalBinding('types'); ^ ReferenceError: internalBinding is not defined at internal/util/inspect.js:31:15 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at require (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:110:12) at util.js:25:21 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at require (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:110:12) at fs.js:42:21 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at Object.req [as require] (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:54:10) at Object.<anonymous> (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99) ``` A search on GitHub reveals this issue is due to natives@1.1.4: gulpjs/gulp#2246 ``` $ yarn why natives yarn why v1.12.3 [1/4] Why do we have the module "natives"...? [2/4] Initialising dependency graph... [3/4] Finding dependency... [4/4] Calculating file sizes... => Found "natives@1.1.6" info Reasons this module exists - "gulp#vinyl-fs#graceful-fs" depends on it - Hoisted from "gulp#vinyl-fs#graceful-fs#natives" - Hoisted from "browserstacktunnel-wrapper#unzip#fstream#graceful-fs#natives" ``` The solution is to add a manual resolution for natives@1.1.6 PR Close #28213
2019-01-18 18:43:04 +00: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",
test: use puppeteer in integration tests and to download correct chromedriver (#35049) This means integration tests no longer need to depend on a $CI_CHROMEDRIVER_VERSION_ARG environment variable to specify which chromedriver version to download to match the locally installed chrome. This was bad DX and not having it specified was not reliable as webdriver-manager would not always download the chromedriver version to work with the locally installed chrome. webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG is now replaced with node webdriver-manager-update.js in the root package.json, which checks which version of chrome puppeteer has come bundled with & downloads informs webdriver-manager to download the corresponding chrome driver version. Integration tests now use "webdriver-manager": "file:../../node_modules/webdriver-manager" so they don't have to waste time calling webdriver-manager update in postinstall "// resolutions": "Ensure a single version of webdriver-manager which comes from root node_modules that has already run webdriver-manager update", "resolutions": { "**/webdriver-manager": "file:../../node_modules/webdriver-manager" } This should speed up each integration postinstall by a few seconds. Further, integration test package.json files link puppeteer via file:../../node_modules/puppeteer which is the ideal situation as the puppeteer post-install won't download chrome if it is already downloaded. In CI, since node_modules is cached it should not need to download Chrome either unless the node_modules cache is busted. NB: each version of puppeteer comes bundles with a specific version of chrome. Root package.json & yarn.lock currently pull down puppeteer 2.1.0 which comes with chrome 80. See https://github.com/puppeteer/puppeteer#q-which-chromium-version-does-puppeteer-use for more info. Only two references to CI_CHROMEDRIVER_VERSION_ARG left in integration tests at integration/bazel-schematics/test.sh which I'm not entirely sure how to get rid of it Use a lightweight puppeteer=>chrome version mapping instead of launching chrome and calling browser.version() Launching puppeteer headless chrome and calling browser.version() was a heavy-handed approach to determine the Chrome version. A small and easy to update mappings file is a better solution and it means that the `yarn install` step does not require chrome shared libs available on the system for its postinstall step PR Close #35049
2020-01-31 23:50:44 +00: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",
"// 6": "Ensure that transitive dependencies on `https-proxy-agent` are at minimum v5 as older versions patch NodeJS directly, breaking tools like webdriver which is used by the karma-sauce-launcher as an example.",
"// 7": "Ensure that a single instance of the `saucelabs` package is used. Protractor and the Karma sauce launcher pull this package as dependency. A single instance allows for e.g. easier patching in the Karma config.",
build: Fix gulp format for Node >= 10.14 (#28213) With Node.js v10.14 and greater, running `yarn gulp format` produces the following error: ``` $ nvm current v10.15.0 $ yarn gulp format:changed yarn run v1.12.3 $ /usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/.bin/gulp format:changed internal/util/inspect.js:31 const types = internalBinding('types'); ^ ReferenceError: internalBinding is not defined at internal/util/inspect.js:31:15 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at require (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:110:12) at util.js:25:21 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at require (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:110:12) at fs.js:42:21 at req_ (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:137:5) at Object.req [as require] (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/natives/index.js:54:10) at Object.<anonymous> (/usr/local/google/home/kyliau/Documents/GitHub/angular/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99) ``` A search on GitHub reveals this issue is due to natives@1.1.4: gulpjs/gulp#2246 ``` $ yarn why natives yarn why v1.12.3 [1/4] Why do we have the module "natives"...? [2/4] Initialising dependency graph... [3/4] Finding dependency... [4/4] Calculating file sizes... => Found "natives@1.1.6" info Reasons this module exists - "gulp#vinyl-fs#graceful-fs" depends on it - Hoisted from "gulp#vinyl-fs#graceful-fs#natives" - Hoisted from "browserstacktunnel-wrapper#unzip#fstream#graceful-fs#natives" ``` The solution is to add a manual resolution for natives@1.1.6 PR Close #28213
2019-01-18 18:43:04 +00:00
"resolutions": {
"**/graceful-fs": "4.2.10",
"**/webdriver-manager": "12.1.8",
"**/https-proxy-agent": "5.0.1",
"**/saucelabs": "7.2.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 20:57:42 +00:00
}
}