diff --git a/.bazelrc b/.bazelrc index 21face3fa70..d27ca49b45d 100644 --- a/.bazelrc +++ b/.bazelrc @@ -101,3 +101,33 @@ build:remote --remote_accept_cached=true # Load any settings which are specific to the current user. Needs to be *last* statement # in this config, as the user configuration should be able to overwrite flags from this file. try-import .bazelrc.user + + + + # This option is changed to true in Bazel 0.27 and exposes a possible +# regression in Bazel 0.27.0. +# Error observed is in npm_package target `//packages/common/locales:package`: +# ``` +# ERROR: /home/circleci/ng/packages/common/locales/BUILD.bazel:13:1: Assembling +# npm package packages/common/locales/package failed: No usable spawn strategy found +# for spawn with mnemonic SkylarkAction. Your --spawn_strategyor --strategy flags +# are probably too strict. Visit https://github.com/bazelbuild/bazel/issues/7480 for +# migration advises +# ``` +# Suspect is https://github.com/bazelbuild/rules_nodejs/blob/master/internal/npm_package/npm_package.bzl#L75-L82: +# ``` +# execution_requirements = { +# # Never schedule this action remotely because it's not computationally expensive. +# # It just copies files into a directory; it's not worth copying inputs and outputs to a remote worker. +# # Also don't run it in a sandbox, because it resolves an absolute path to the bazel-out directory +# # allowing the .pack and .publish runnables to work with no symlink_prefix +# # See https://github.com/bazelbuild/rules_nodejs/issues/187 +# "local": "1", +# }, +# ``` +build --incompatible_list_based_execution_strategy_selection=false +test --incompatible_list_based_execution_strategy_selection=false +run --incompatible_list_based_execution_strategy_selection=false +build --incompatible_new_actions_api=false +build --incompatible_depset_is_not_iterable=false +build --incompatible_no_support_tools_in_action_inputs=false diff --git a/WORKSPACE b/WORKSPACE index 009df2c2ed1..81981ac6c47 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -5,22 +5,22 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Add NodeJS rules (explicitly used for sass bundle rules) http_archive( name = "build_bazel_rules_nodejs", - sha256 = "e04a82a72146bfbca2d0575947daa60fda1878c8d3a3afe868a8ec39a6b968bb", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.31.1/rules_nodejs-0.31.1.tar.gz"], + sha256 = "6d4edbf28ff6720aedf5f97f9b9a7679401bf7fca9d14a0fff80f644a99992b4", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.32.2/rules_nodejs-0.32.2.tar.gz"], ) # Add sass rules http_archive( name = "io_bazel_rules_sass", - sha256 = "f404a88872c5ffe9af7f5d54be35add624164b852c29c265843ba172bb0c7ac4", - strip_prefix = "rules_sass-9a00e557c32ac0f26e5d3c66d1d17316874027b3", - url = "https://github.com/bazelbuild/rules_sass/archive/9a00e557c32ac0f26e5d3c66d1d17316874027b3.zip", + sha256 = "4f05239080175a3f4efa8982d2b7775892d656bb47e8cf56914d5f9441fb5ea6", + strip_prefix = "rules_sass-86ca977cf2a8ed481859f83a286e164d07335116", + url = "https://github.com/bazelbuild/rules_sass/archive/86ca977cf2a8ed481859f83a286e164d07335116.zip", ) load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install") -# The minimum bazel version to use with this repo is 0.26.1 -check_bazel_version("0.26.1") +# The minimum bazel version to use with this repo is 0.27.0 +check_bazel_version("0.27.0") node_repositories( # For deterministic builds, specify explicit NodeJS and Yarn versions. diff --git a/package.json b/package.json index baa0f4209a8..70cabb3256a 100644 --- a/package.json +++ b/package.json @@ -63,12 +63,13 @@ "@angular/platform-server": "^8.0.1", "@angular/router": "^8.0.1", "@angular/upgrade": "^8.0.1", - "@bazel/bazel": "0.26.1", + "@bazel/bazel": "^0.27.0", + "@bazel/hide-bazel-files": "0.32.2", "@bazel/buildifier": "^0.25.1", "@bazel/ibazel": "^0.10.3", - "@bazel/jasmine": "0.31.1", - "@bazel/karma": "0.31.1", - "@bazel/typescript": "0.31.1", + "@bazel/jasmine": "0.32.2", + "@bazel/karma": "0.32.2", + "@bazel/typescript": "0.32.2", "@firebase/app-types": "^0.3.2", "@octokit/rest": "^15.9.4", "@schematics/angular": "^8.0.3", @@ -132,7 +133,7 @@ "moment": "^2.18.1", "node-sass": "^4.11.0", "parse5": "^5.0.0", - "protractor": "^5.4.1", + "protractor": "^5.4.2", "resolve-bin": "^0.4.0", "rollup": "^0.56.3", "rollup-plugin-alias": "^1.4.0", diff --git a/packages.bzl b/packages.bzl index 403fc04ebf7..1340836350d 100644 --- a/packages.bzl +++ b/packages.bzl @@ -150,22 +150,22 @@ ROLLUP_GLOBALS.update({ # UMD bundles for Angular packages and subpackges we depend on for development and testing. ANGULAR_LIBRARY_UMDS = [ - "@npm//node_modules/@angular/animations:bundles/animations-browser.umd.js", - "@npm//node_modules/@angular/animations:bundles/animations.umd.js", - "@npm//node_modules/@angular/common:bundles/common-http-testing.umd.js", - "@npm//node_modules/@angular/common:bundles/common-http.umd.js", - "@npm//node_modules/@angular/common:bundles/common-testing.umd.js", - "@npm//node_modules/@angular/common:bundles/common.umd.js", - "@npm//node_modules/@angular/compiler:bundles/compiler-testing.umd.js", - "@npm//node_modules/@angular/compiler:bundles/compiler.umd.js", - "@npm//node_modules/@angular/core:bundles/core-testing.umd.js", - "@npm//node_modules/@angular/core:bundles/core.umd.js", - "@npm//node_modules/@angular/elements:bundles/elements.umd.js", - "@npm//node_modules/@angular/forms:bundles/forms.umd.js", - "@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic-testing.umd.js", - "@npm//node_modules/@angular/platform-browser-dynamic:bundles/platform-browser-dynamic.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser-animations.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser-testing.umd.js", - "@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js", - "@npm//node_modules/@angular/router:bundles/router.umd.js", + "@npm//:node_modules/@angular/animations/bundles/animations-browser.umd.js", + "@npm//:node_modules/@angular/animations/bundles/animations.umd.js", + "@npm//:node_modules/@angular/common/bundles/common-http-testing.umd.js", + "@npm//:node_modules/@angular/common/bundles/common-http.umd.js", + "@npm//:node_modules/@angular/common/bundles/common-testing.umd.js", + "@npm//:node_modules/@angular/common/bundles/common.umd.js", + "@npm//:node_modules/@angular/compiler/bundles/compiler-testing.umd.js", + "@npm//:node_modules/@angular/compiler/bundles/compiler.umd.js", + "@npm//:node_modules/@angular/core/bundles/core-testing.umd.js", + "@npm//:node_modules/@angular/core/bundles/core.umd.js", + "@npm//:node_modules/@angular/elements/bundles/elements.umd.js", + "@npm//:node_modules/@angular/forms/bundles/forms.umd.js", + "@npm//:node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js", + "@npm//:node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js", + "@npm//:node_modules/@angular/platform-browser/bundles/platform-browser-animations.umd.js", + "@npm//:node_modules/@angular/platform-browser/bundles/platform-browser-testing.umd.js", + "@npm//:node_modules/@angular/platform-browser/bundles/platform-browser.umd.js", + "@npm//:node_modules/@angular/router/bundles/router.umd.js", ] diff --git a/src/e2e-app/BUILD.bazel b/src/e2e-app/BUILD.bazel index 53df62c1fc1..69e9adac426 100644 --- a/src/e2e-app/BUILD.bazel +++ b/src/e2e-app/BUILD.bazel @@ -100,7 +100,7 @@ ts_devserver( scripts = [ ":devserver-configure.js", "//tools/rxjs:rxjs_umd_modules", - "@npm//node_modules/tslib:tslib.js", + "@npm//:node_modules/tslib/tslib.js", ] + ANGULAR_LIBRARY_UMDS, # Serving path of the bundle that serves all files specified in "deps" and "scripts". serving_path = "/bundle.js", diff --git a/src/material-experimental/mdc-checkbox/BUILD.bazel b/src/material-experimental/mdc-checkbox/BUILD.bazel index 572cfdfa629..208f137a5d5 100644 --- a/src/material-experimental/mdc-checkbox/BUILD.bazel +++ b/src/material-experimental/mdc-checkbox/BUILD.bazel @@ -82,7 +82,7 @@ ng_test_library( ng_web_test_suite( name = "unit_tests", - static_files = ["@npm//node_modules/@material/checkbox:dist/mdc.checkbox.js"], + static_files = ["@npm//:node_modules/@material/checkbox/dist/mdc.checkbox.js"], deps = [ ":checkbox_tests_lib", "//src/material-experimental:mdc_require_config.js", diff --git a/src/material-experimental/mdc-helpers/BUILD.bazel b/src/material-experimental/mdc-helpers/BUILD.bazel index 4d573b982e2..9bfe811b183 100644 --- a/src/material-experimental/mdc-helpers/BUILD.bazel +++ b/src/material-experimental/mdc-helpers/BUILD.bazel @@ -25,104 +25,104 @@ ng_module( sass_library( name = "mdc_scss_deps_lib", srcs = [ - "@npm//node_modules/@material/animation:_functions.scss", - "@npm//node_modules/@material/animation:_variables.scss", - "@npm//node_modules/@material/base:_mixins.scss", - "@npm//node_modules/@material/button:_mixins.scss", - "@npm//node_modules/@material/button:_variables.scss", - "@npm//node_modules/@material/card:_mixins.scss", - "@npm//node_modules/@material/card:_variables.scss", - "@npm//node_modules/@material/checkbox:_functions.scss", - "@npm//node_modules/@material/checkbox:_keyframes.scss", - "@npm//node_modules/@material/checkbox:_mixins.scss", - "@npm//node_modules/@material/checkbox:_variables.scss", - "@npm//node_modules/@material/chips:_mixins.scss", - "@npm//node_modules/@material/chips:_variables.scss", - "@npm//node_modules/@material/dialog:_mixins.scss", - "@npm//node_modules/@material/dialog:_variables.scss", - "@npm//node_modules/@material/drawer:_mixins.scss", - "@npm//node_modules/@material/drawer:_variables.scss", - "@npm//node_modules/@material/elevation:_mixins.scss", - "@npm//node_modules/@material/elevation:_variables.scss", - "@npm//node_modules/@material/fab:_mixins.scss", - "@npm//node_modules/@material/fab:_variables.scss", - "@npm//node_modules/@material/feature-targeting:_functions.scss", - "@npm//node_modules/@material/feature-targeting:_mixins.scss", - "@npm//node_modules/@material/feature-targeting:_variables.scss", - "@npm//node_modules/@material/floating-label:_mixins.scss", - "@npm//node_modules/@material/floating-label:_variables.scss", - "@npm//node_modules/@material/form-field:_mixins.scss", - "@npm//node_modules/@material/form-field:_variables.scss", - "@npm//node_modules/@material/grid-list:_mixins.scss", - "@npm//node_modules/@material/grid-list:_variables.scss", - "@npm//node_modules/@material/icon-button:_mixins.scss", - "@npm//node_modules/@material/icon-button:_variables.scss", - "@npm//node_modules/@material/image-list:_mixins.scss", - "@npm//node_modules/@material/image-list:_variables.scss", - "@npm//node_modules/@material/layout-grid:_mixins.scss", - "@npm//node_modules/@material/layout-grid:_variables.scss", - "@npm//node_modules/@material/line-ripple:_functions.scss", - "@npm//node_modules/@material/line-ripple:_mixins.scss", - "@npm//node_modules/@material/linear-progress:_keyframes.scss", - "@npm//node_modules/@material/linear-progress:_mixins.scss", - "@npm//node_modules/@material/linear-progress:_variables.scss", - "@npm//node_modules/@material/list:_mixins.scss", - "@npm//node_modules/@material/list:_variables.scss", - "@npm//node_modules/@material/menu:_mixins.scss", - "@npm//node_modules/@material/menu:_variables.scss", - "@npm//node_modules/@material/menu-surface:_mixins.scss", - "@npm//node_modules/@material/menu-surface:_variables.scss", - "@npm//node_modules/@material/notched-outline:_mixins.scss", - "@npm//node_modules/@material/notched-outline:_variables.scss", - "@npm//node_modules/@material/radio:_functions.scss", - "@npm//node_modules/@material/radio:_mixins.scss", - "@npm//node_modules/@material/radio:_variables.scss", - "@npm//node_modules/@material/ripple:_functions.scss", - "@npm//node_modules/@material/ripple:_keyframes.scss", - "@npm//node_modules/@material/ripple:_mixins.scss", - "@npm//node_modules/@material/ripple:_variables.scss", - "@npm//node_modules/@material/rtl:_mixins.scss", - "@npm//node_modules/@material/select:_functions.scss", - "@npm//node_modules/@material/select:_keyframes.scss", - "@npm//node_modules/@material/select:_mixins.scss", - "@npm//node_modules/@material/select:_variables.scss", - "@npm//node_modules/@material/select:helper-text/_mixins.scss", - "@npm//node_modules/@material/select:icon/_mixins.scss", - "@npm//node_modules/@material/select:icon/_variables.scss", - "@npm//node_modules/@material/shape:_functions.scss", - "@npm//node_modules/@material/shape:_mixins.scss", - "@npm//node_modules/@material/shape:_variables.scss", - "@npm//node_modules/@material/slider:_keyframes.scss", - "@npm//node_modules/@material/slider:_mixins.scss", - "@npm//node_modules/@material/slider:_variables.scss", - "@npm//node_modules/@material/snackbar:_mixins.scss", - "@npm//node_modules/@material/snackbar:_variables.scss", - "@npm//node_modules/@material/switch:_functions.scss", - "@npm//node_modules/@material/switch:_mixins.scss", - "@npm//node_modules/@material/switch:_variables.scss", - "@npm//node_modules/@material/tab:_mixins.scss", - "@npm//node_modules/@material/tab:_variables.scss", - "@npm//node_modules/@material/tab-bar:_mixins.scss", - "@npm//node_modules/@material/tab-indicator:_mixins.scss", - "@npm//node_modules/@material/textfield:_functions.scss", - "@npm//node_modules/@material/textfield:_mixins.scss", - "@npm//node_modules/@material/textfield:_variables.scss", - "@npm//node_modules/@material/textfield:character-counter/_mixins.scss", - "@npm//node_modules/@material/textfield:helper-text/_mixins.scss", - "@npm//node_modules/@material/textfield:icon/_mixins.scss", - "@npm//node_modules/@material/textfield:icon/_variables.scss", - "@npm//node_modules/@material/theme:_color-palette.scss", - "@npm//node_modules/@material/theme:_constants.scss", - "@npm//node_modules/@material/theme:_functions.scss", - "@npm//node_modules/@material/theme:_mixins.scss", - "@npm//node_modules/@material/theme:_variables.scss", - "@npm//node_modules/@material/toolbar:_mixins.scss", - "@npm//node_modules/@material/toolbar:_variables.scss", - "@npm//node_modules/@material/top-app-bar:_mixins.scss", - "@npm//node_modules/@material/top-app-bar:_variables.scss", - "@npm//node_modules/@material/typography:_functions.scss", - "@npm//node_modules/@material/typography:_mixins.scss", - "@npm//node_modules/@material/typography:_variables.scss", + "@npm//:node_modules/@material/animation/_functions.scss", + "@npm//:node_modules/@material/animation/_variables.scss", + "@npm//:node_modules/@material/base/_mixins.scss", + "@npm//:node_modules/@material/button/_mixins.scss", + "@npm//:node_modules/@material/button/_variables.scss", + "@npm//:node_modules/@material/card/_mixins.scss", + "@npm//:node_modules/@material/card/_variables.scss", + "@npm//:node_modules/@material/checkbox/_functions.scss", + "@npm//:node_modules/@material/checkbox/_keyframes.scss", + "@npm//:node_modules/@material/checkbox/_mixins.scss", + "@npm//:node_modules/@material/checkbox/_variables.scss", + "@npm//:node_modules/@material/chips/_mixins.scss", + "@npm//:node_modules/@material/chips/_variables.scss", + "@npm//:node_modules/@material/dialog/_mixins.scss", + "@npm//:node_modules/@material/dialog/_variables.scss", + "@npm//:node_modules/@material/drawer/_mixins.scss", + "@npm//:node_modules/@material/drawer/_variables.scss", + "@npm//:node_modules/@material/elevation/_mixins.scss", + "@npm//:node_modules/@material/elevation/_variables.scss", + "@npm//:node_modules/@material/fab/_mixins.scss", + "@npm//:node_modules/@material/fab/_variables.scss", + "@npm//:node_modules/@material/feature-targeting/_functions.scss", + "@npm//:node_modules/@material/feature-targeting/_mixins.scss", + "@npm//:node_modules/@material/feature-targeting/_variables.scss", + "@npm//:node_modules/@material/floating-label/_mixins.scss", + "@npm//:node_modules/@material/floating-label/_variables.scss", + "@npm//:node_modules/@material/form-field/_mixins.scss", + "@npm//:node_modules/@material/form-field/_variables.scss", + "@npm//:node_modules/@material/grid-list/_mixins.scss", + "@npm//:node_modules/@material/grid-list/_variables.scss", + "@npm//:node_modules/@material/icon-button/_mixins.scss", + "@npm//:node_modules/@material/icon-button/_variables.scss", + "@npm//:node_modules/@material/image-list/_mixins.scss", + "@npm//:node_modules/@material/image-list/_variables.scss", + "@npm//:node_modules/@material/layout-grid/_mixins.scss", + "@npm//:node_modules/@material/layout-grid/_variables.scss", + "@npm//:node_modules/@material/line-ripple/_functions.scss", + "@npm//:node_modules/@material/line-ripple/_mixins.scss", + "@npm//:node_modules/@material/linear-progress/_keyframes.scss", + "@npm//:node_modules/@material/linear-progress/_mixins.scss", + "@npm//:node_modules/@material/linear-progress/_variables.scss", + "@npm//:node_modules/@material/list/_mixins.scss", + "@npm//:node_modules/@material/list/_variables.scss", + "@npm//:node_modules/@material/menu-surface/_mixins.scss", + "@npm//:node_modules/@material/menu-surface/_variables.scss", + "@npm//:node_modules/@material/menu/_mixins.scss", + "@npm//:node_modules/@material/menu/_variables.scss", + "@npm//:node_modules/@material/notched-outline/_mixins.scss", + "@npm//:node_modules/@material/notched-outline/_variables.scss", + "@npm//:node_modules/@material/radio/_functions.scss", + "@npm//:node_modules/@material/radio/_mixins.scss", + "@npm//:node_modules/@material/radio/_variables.scss", + "@npm//:node_modules/@material/ripple/_functions.scss", + "@npm//:node_modules/@material/ripple/_keyframes.scss", + "@npm//:node_modules/@material/ripple/_mixins.scss", + "@npm//:node_modules/@material/ripple/_variables.scss", + "@npm//:node_modules/@material/rtl/_mixins.scss", + "@npm//:node_modules/@material/select/_functions.scss", + "@npm//:node_modules/@material/select/_keyframes.scss", + "@npm//:node_modules/@material/select/_mixins.scss", + "@npm//:node_modules/@material/select/_variables.scss", + "@npm//:node_modules/@material/select/helper-text/_mixins.scss", + "@npm//:node_modules/@material/select/icon/_mixins.scss", + "@npm//:node_modules/@material/select/icon/_variables.scss", + "@npm//:node_modules/@material/shape/_functions.scss", + "@npm//:node_modules/@material/shape/_mixins.scss", + "@npm//:node_modules/@material/shape/_variables.scss", + "@npm//:node_modules/@material/slider/_keyframes.scss", + "@npm//:node_modules/@material/slider/_mixins.scss", + "@npm//:node_modules/@material/slider/_variables.scss", + "@npm//:node_modules/@material/snackbar/_mixins.scss", + "@npm//:node_modules/@material/snackbar/_variables.scss", + "@npm//:node_modules/@material/switch/_functions.scss", + "@npm//:node_modules/@material/switch/_mixins.scss", + "@npm//:node_modules/@material/switch/_variables.scss", + "@npm//:node_modules/@material/tab-bar/_mixins.scss", + "@npm//:node_modules/@material/tab-indicator/_mixins.scss", + "@npm//:node_modules/@material/tab/_mixins.scss", + "@npm//:node_modules/@material/tab/_variables.scss", + "@npm//:node_modules/@material/textfield/_functions.scss", + "@npm//:node_modules/@material/textfield/_mixins.scss", + "@npm//:node_modules/@material/textfield/_variables.scss", + "@npm//:node_modules/@material/textfield/character-counter/_mixins.scss", + "@npm//:node_modules/@material/textfield/helper-text/_mixins.scss", + "@npm//:node_modules/@material/textfield/icon/_mixins.scss", + "@npm//:node_modules/@material/textfield/icon/_variables.scss", + "@npm//:node_modules/@material/theme/_color-palette.scss", + "@npm//:node_modules/@material/theme/_constants.scss", + "@npm//:node_modules/@material/theme/_functions.scss", + "@npm//:node_modules/@material/theme/_mixins.scss", + "@npm//:node_modules/@material/theme/_variables.scss", + "@npm//:node_modules/@material/toolbar/_mixins.scss", + "@npm//:node_modules/@material/toolbar/_variables.scss", + "@npm//:node_modules/@material/top-app-bar/_mixins.scss", + "@npm//:node_modules/@material/top-app-bar/_variables.scss", + "@npm//:node_modules/@material/typography/_functions.scss", + "@npm//:node_modules/@material/typography/_mixins.scss", + "@npm//:node_modules/@material/typography/_variables.scss", ], ) diff --git a/src/material-experimental/mdc-slide-toggle/BUILD.bazel b/src/material-experimental/mdc-slide-toggle/BUILD.bazel index 53e467aa44c..37eab3af475 100644 --- a/src/material-experimental/mdc-slide-toggle/BUILD.bazel +++ b/src/material-experimental/mdc-slide-toggle/BUILD.bazel @@ -61,7 +61,7 @@ ng_test_library( ng_web_test_suite( name = "unit_tests", - static_files = ["@npm//node_modules/@material/switch:dist/mdc.switch.js"], + static_files = ["@npm//:node_modules/@material/switch/dist/mdc.switch.js"], deps = [ ":slide_toggle_tests_lib", "//src/material-experimental:mdc_require_config.js", diff --git a/tools/defaults.bzl b/tools/defaults.bzl index 979d2937bd4..8e5328acefd 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -117,7 +117,7 @@ def ts_web_test_suite(deps = [], srcs = [], **kwargs): # Required for running the compiled ng modules that use TypeScript import helpers. # TODO(jelbourn): remove UMDs from here once we don't have to manually include them srcs = [ - "@npm//node_modules/tslib:tslib.js", + "@npm//:node_modules/tslib/tslib.js", ] + ANGULAR_LIBRARY_UMDS + srcs, **kwargs ) @@ -127,6 +127,8 @@ def ts_web_test_suite(deps = [], srcs = [], **kwargs): # Bazel detects flaky tests and re-runs these a second time in case of a flake. def protractor_web_test_suite(flaky = True, **kwargs): _protractor_web_test_suite( + # TODO(josephperrott): Determine why we have to manually set this value. + protractor = "@npm//:node_modules/protractor/bin/protractor", flaky = flaky, **kwargs ) @@ -178,9 +180,9 @@ def ng_web_test_suite(deps = [], static_css = [], bootstrap = [], **kwargs): "@io_bazel_rules_webtesting//browsers:firefox-local", ], bootstrap = [ - "@npm//node_modules/zone.js:dist/zone-testing-bundle.js", - "@npm//node_modules/reflect-metadata:Reflect.js", - "@npm//node_modules/hammerjs:hammer.js", + "@npm//:node_modules/zone.js/dist/zone-testing-bundle.js", + "@npm//:node_modules/reflect-metadata/Reflect.js", + "@npm//:node_modules/hammerjs/hammer.js", ] + bootstrap, **kwargs ) diff --git a/tools/rxjs/BUILD.bazel b/tools/rxjs/BUILD.bazel index ea1510c40e4..71c23c73614 100644 --- a/tools/rxjs/BUILD.bazel +++ b/tools/rxjs/BUILD.bazel @@ -4,6 +4,6 @@ filegroup( name = "rxjs_umd_modules", srcs = [ ":rxjs_shims.js", - "@npm//node_modules/rxjs:bundles/rxjs.umd.js", + "@npm//:node_modules/rxjs/bundles/rxjs.umd.js", ], ) diff --git a/yarn.lock b/yarn.lock index 075b31e1f51..9e1867abb1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -276,29 +276,29 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" -"@bazel/bazel-darwin_x64@0.26.1": - version "0.26.1" - resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.26.1.tgz#1b5c69b635e5c2a8c3090fa5f6bcb45735f06045" - integrity sha512-9VjrR+ce+iS9xS1lgeAo1RAPXlxCvez/r3smN1lP4s4YNF0s5LAT0cevIl6Zz2nwyEha/6JvY3v6Euemy36F0w== +"@bazel/bazel-darwin_x64@0.27.0": + version "0.27.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-0.27.0.tgz#83a03c92d52ae60e48e86a1ee697e69e12ddbdf6" + integrity sha512-CyavIbRKRa/55aMyfEM9hjbt4TVISfv7HLeymHTGTLWzS8uQokQ8W9tR/pgc7YJn8F0x64dd7nQKxhbYHM1Qfg== -"@bazel/bazel-linux_x64@0.26.1": - version "0.26.1" - resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.26.1.tgz#04dd194bdcd6b9d45bd865a9a60c280d0d600251" - integrity sha512-oZooDxI1C4p7o18zx2Uns2cK/NN2hgF2YSBKH0aVDPAAxQA85h+g124CWDEbsghOdRMSBM0Hd0SSeIqwZcqLSw== +"@bazel/bazel-linux_x64@0.27.0": + version "0.27.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-0.27.0.tgz#2358292aa4901f526ba9b90874256f63d6d6608c" + integrity sha512-hO04v7C6M3Jf+qNlLE+IticZZKkkS7Nv6+pXDnENgFWrqLV2H93un6kNQnk83B0hP2cEqRQ8rw5yrIcqXNNuSQ== -"@bazel/bazel-win32_x64@0.26.1": - version "0.26.1" - resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.26.1.tgz#9351f07313173b1f98006da8131c94db7aa7c506" - integrity sha512-0FkOo8+bxw13X2m6ALhXX2241gG9ZXgcLu0E/IbCWy/TmOB5bR0Z73CslszWbXIldVYnANuhFmnkxIa745Du5Q== +"@bazel/bazel-win32_x64@0.27.0": + version "0.27.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-0.27.0.tgz#0e5e498de5ccccc9a6cf481cd46904ee938ab6c2" + integrity sha512-7hIGNhdgaxRt9ceSOCs3eSTtCNi4GXz3nu6OjfgSp+QiqLbW/iAVWa8M8vD5aemZ1BSHek4/LISdWUTncLJk+w== -"@bazel/bazel@0.26.1": - version "0.26.1" - resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.26.1.tgz#de5febbd1f4b457aa870fb69492f474850283e5d" - integrity sha512-x0IR0KEML4JGG6QpAOpHQHWpMqM1YQjOi8zY1jjLwiRHhC3Y8Tc/Mcspnd6zUnjfs7MerPfppkyx2jaEnZwUuQ== +"@bazel/bazel@^0.27.0": + version "0.27.0" + resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-0.27.0.tgz#4e72c8e1cbb4da41022b6de1afe28731f5f58e09" + integrity sha512-yIj64IkesNzjHsoeehQUMBOgrCK/JMSuon5CvBqo6+izPXAmt+OW05uqaLL/FPAYAFQ2mHxsYtDsPxsM8DUbqA== optionalDependencies: - "@bazel/bazel-darwin_x64" "0.26.1" - "@bazel/bazel-linux_x64" "0.26.1" - "@bazel/bazel-win32_x64" "0.26.1" + "@bazel/bazel-darwin_x64" "0.27.0" + "@bazel/bazel-linux_x64" "0.27.0" + "@bazel/bazel-win32_x64" "0.27.0" "@bazel/buildifier-darwin_x64@0.25.1": version "0.25.1" @@ -324,24 +324,29 @@ "@bazel/buildifier-linux_x64" "0.25.1" "@bazel/buildifier-win32_x64" "0.25.1" +"@bazel/hide-bazel-files@0.32.2": + version "0.32.2" + resolved "https://registry.yarnpkg.com/@bazel/hide-bazel-files/-/hide-bazel-files-0.32.2.tgz#a482855eafbccb56b1fce0d92ff922c2c6e0a90c" + integrity sha512-585XY53mhMZaCjEQJ+aDqkmydWZbuXsKrZsSpoW9YeAVEH0poQY3YhdyCPmMVBo7/l1mkrqpFuOK5BpECfwdtA== + "@bazel/ibazel@^0.10.3": version "0.10.3" resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.10.3.tgz#2e2b8a1d3e885946eac41db2b1aa6801fb319887" integrity sha512-v1nXbMTHVlMM4z4uWp6XiRoHAyUlYggF1SOboLLWRp0+D22kWixqArWqnozLw2mOtnxr97BdLjluWiho6A8Hjg== -"@bazel/jasmine@0.31.1": - version "0.31.1" - resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-0.31.1.tgz#da3de10760fe1e29e9fc748fabc4fcf604f4356a" - integrity sha512-heKo8qzm6DTm8eOlfL69RJJi1GLI9vJDSmBGYgol18K7oXz6JrspGWUL9/TlCYbRUUCt22kqX7f3R+QlD0KrCg== +"@bazel/jasmine@0.32.2": + version "0.32.2" + resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-0.32.2.tgz#6375b5b0de3f352c2b2280c54878dd30915fc139" + integrity sha512-izF9hBcbTOj1VhJVeo8G479dXo9KlibX0N6Yag15GaIk1fibW4iRyTBC2fy4ihm31CYIId6Zd9AABVShd+1Sgw== dependencies: jasmine "~3.3.1" jasmine-core "~3.3.0" v8-coverage "1.0.9" -"@bazel/karma@0.31.1": - version "0.31.1" - resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-0.31.1.tgz#fecbb269c7693baa29ad78179cca752fe7c09068" - integrity sha512-PUOTQOD57IjM18iM+MOe9fRUFNJ8RQMq1i1qDaPLStMS/LtJAvDcvWhypK/2wNDdmAGz7U5uLlvl827XbwIuuA== +"@bazel/karma@0.32.2": + version "0.32.2" + resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-0.32.2.tgz#0f6adf0cf1970c50cfdcf9cb2b10a8d3e21731fe" + integrity sha512-iWb8aqE+llpZhlreDweM7llwnSAQ9QTYdz4VvIcZBGVD0KtHxHaKiqK4Zo4Qrmr9H0kcOhT7nvRBg3QOUJVrUw== dependencies: jasmine-core "2.8.0" karma "^4.0.0" @@ -355,10 +360,10 @@ semver "5.6.0" tmp "0.0.33" -"@bazel/typescript@0.31.1": - version "0.31.1" - resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.31.1.tgz#2ccf9997d97903c51e73f82e29433fe444b8d672" - integrity sha512-jUTJjwdc4JSDMt4kIj74gGtctu8xe0YZPJuPxOIS4TdrWcn+dG9Fy7Z8bJLXhePheig1JLY7NBP6BGwrtggzPQ== +"@bazel/typescript@0.32.2": + version "0.32.2" + resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-0.32.2.tgz#c296bb44cb6362a0e3a08ca88752852bc9591ecf" + integrity sha512-32zDyvHdYjIa63vtImhl6wy5ErOFVWPkjMT2T035D0UPSKI1tvENW/bRZ3QFlFHqfmJZRBpaI3GiUpO3vUvzmw== dependencies: protobufjs "6.8.8" semver "5.6.0" @@ -1290,11 +1295,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.5.tgz#27733a949f5d9972d87109297cffb62207ace70f" integrity sha512-Ja7d4s0qyGFxjGeDq5S7Si25OFibSAHUi6i17UWnwNnpitADN7hah9q0Tl25gxuV5R1u2Bx+np6w4LHXfHyj/g== -"@types/node@^6.0.46": - version "6.14.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-6.14.2.tgz#40b3dbb1221c7d66802cbcc32fe3b85e54569c77" - integrity sha512-JWB3xaVfsfnFY8Ofc9rTB/op0fqqTSqy4vBcVk1LuRJvta7KTX+D//fCkiTMeLGhdr2EbFZzQjC97gvmPilk9Q== - "@types/node@^7.0.21": version "7.10.2" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.10.2.tgz#a98845168012d7a63a84d50e738829da43bdb0de" @@ -9190,12 +9190,11 @@ protochain@^1.0.5: resolved "https://registry.yarnpkg.com/protochain/-/protochain-1.0.5.tgz#991c407e99de264aadf8f81504b5e7faf7bfa260" integrity sha1-mRxAfpneJkqt+PgVBLXn+ve/omA= -protractor@^5.4.1: - version "5.4.1" - resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.1.tgz#011a99e38df7aa45d22455b889ffbb13a6ce0bd9" - integrity sha512-ORey5ewQMYiXQxcQohsqEiKYOg/r5yJoJbt0tuROmmgajdg/CA3gTOZNIFJncUVMAJIk5YFqBBLUjKVmQO6tfA== +protractor@^5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/protractor/-/protractor-5.4.2.tgz#329efe37f48b2141ab9467799be2d4d12eb48c13" + integrity sha512-zlIj64Cr6IOWP7RwxVeD8O4UskLYPoyIcg0HboWJL9T79F1F0VWtKkGTr/9GN6BKL+/Q/GmM7C9kFVCfDbP5sA== dependencies: - "@types/node" "^6.0.46" "@types/q" "^0.0.32" "@types/selenium-webdriver" "^3.0.0" blocking-proxy "^1.0.0"