build: update to rules nodejs 1.0.1 (#34736)
This brings in a few minor fixes including a better way to patch require for bootstrap scripts Also remove install_source_map_support attribute from nodejs_binary targets This attribute will be removed from nodejs_binary in the future PR Close #34736
This commit is contained in:
parent
99d73906a8
commit
a4bbc35005
|
@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
# Fetch rules_nodejs so we can install our npm dependencies
|
# Fetch rules_nodejs so we can install our npm dependencies
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "build_bazel_rules_nodejs",
|
name = "build_bazel_rules_nodejs",
|
||||||
sha256 = "3887b948779431ac443e6a64f31b9e1e17b8d386a31eebc50ec1d9b0a6cabd2b",
|
sha256 = "e1a0d6eb40ec89f61a13a028e7113aa3630247253bcb1406281b627e44395145",
|
||||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.0.0/rules_nodejs-1.0.0.tar.gz"],
|
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.0.1/rules_nodejs-1.0.1.tar.gz"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check the bazel version and download npm dependencies
|
# Check the bazel version and download npm dependencies
|
||||||
|
|
|
@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
# Fetch rules_nodejs so we can install our npm dependencies
|
# Fetch rules_nodejs so we can install our npm dependencies
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "build_bazel_rules_nodejs",
|
name = "build_bazel_rules_nodejs",
|
||||||
sha256 = "3887b948779431ac443e6a64f31b9e1e17b8d386a31eebc50ec1d9b0a6cabd2b",
|
sha256 = "e1a0d6eb40ec89f61a13a028e7113aa3630247253bcb1406281b627e44395145",
|
||||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.0.0/rules_nodejs-1.0.0.tar.gz"],
|
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.0.1/rules_nodejs-1.0.1.tar.gz"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Fetch sass rules for compiling sass files
|
# Fetch sass rules for compiling sass files
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
||||||
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
||||||
"@bazel/bazel": "file:../../node_modules/@bazel/bazel",
|
"@bazel/bazel": "file:../../node_modules/@bazel/bazel",
|
||||||
"@bazel/karma": "1.0.0",
|
"@bazel/karma": "1.0.1",
|
||||||
"@bazel/protractor": "1.0.0",
|
"@bazel/protractor": "1.0.1",
|
||||||
"@bazel/rollup": "1.0.0",
|
"@bazel/rollup": "1.0.1",
|
||||||
"@bazel/terser": "1.0.0",
|
"@bazel/terser": "1.0.1",
|
||||||
"@bazel/typescript": "1.0.0",
|
"@bazel/typescript": "1.0.1",
|
||||||
"@types/jasmine": "2.8.8",
|
"@types/jasmine": "2.8.8",
|
||||||
"http-server": "0.12.0",
|
"http-server": "0.12.0",
|
||||||
"karma": "4.4.1",
|
"karma": "4.4.1",
|
||||||
|
|
|
@ -92,32 +92,32 @@
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/hide-bazel-files/-/hide-bazel-files-0.38.3.tgz#e98231d3d360d51860d9c1a7c3345b40dab4cf81"
|
resolved "https://registry.yarnpkg.com/@bazel/hide-bazel-files/-/hide-bazel-files-0.38.3.tgz#e98231d3d360d51860d9c1a7c3345b40dab4cf81"
|
||||||
integrity sha512-o+dNkfDm3qxWQ8h/04cWuTcjR7qnjZi3pQGv4aklVb16oPWx2jF8BzbkwvWuIkdbOl9VnqYP0vaHzwQVJRRcIA==
|
integrity sha512-o+dNkfDm3qxWQ8h/04cWuTcjR7qnjZi3pQGv4aklVb16oPWx2jF8BzbkwvWuIkdbOl9VnqYP0vaHzwQVJRRcIA==
|
||||||
|
|
||||||
"@bazel/karma@1.0.0":
|
"@bazel/karma@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.0.0.tgz#6f1e31bc2cb698e50d76f43ec9f1ee095d8e72b8"
|
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.0.1.tgz#f60de501367125ece03af1250ccb69d836fee2cc"
|
||||||
integrity sha512-esfsHRVWVcp6OyTk/QI1sBV7bcygFiXY6LUMPLPYqVZkQvJ0x+/L1weiwuRrqFf+FCwCajhYjwiR6S9kX2Z9LA==
|
integrity sha512-AJ7KOx+oWHTAwstTMH95jpPP4MSKnG2eZiTms5OilhLz6KWg+l4hGumJ+jB8ntt/ZlMv9nrLVohS5zjEUyeTYA==
|
||||||
dependencies:
|
dependencies:
|
||||||
tmp "0.1.0"
|
tmp "0.1.0"
|
||||||
|
|
||||||
"@bazel/protractor@1.0.0":
|
"@bazel/protractor@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.0.0.tgz#b77fde3bb53a008c330c13a953a0bf93aa06b5f1"
|
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.0.1.tgz#48d1f12c9edec114b04b45a159fa8c231c65c688"
|
||||||
integrity sha512-8kGuM3NkFfokjzKBlYxK9rUwJO/ICnYTHC567KJk6T4pjm4kfyh6iVI3Df3K+ONRCEYmiuZrQ37U06lzMMGN9g==
|
integrity sha512-gAJ4nMQRXu4/k+EvH/aD4BUBrSy9dn/xtAI0qRs8t2997Zafb2HI0Ejd0Ep3geBcnloC/EWGSQAIBt5vQrOWAw==
|
||||||
|
|
||||||
"@bazel/rollup@1.0.0":
|
"@bazel/rollup@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.0.0.tgz#85f38cf07ba8ea192e54c42cb53a44d1fd1f56ac"
|
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.0.1.tgz#aaef886ff6cb00fc19995479aef4275359b57eee"
|
||||||
integrity sha512-pOWwyeM/H+LWRpKm3xuSAXoZ1gl6o8kFh5ltf0tM+ZfqGnSNbakME6ZswfmVj7FHUgF40BXzSoFTUdqgn1xy/w==
|
integrity sha512-LL9eszGoHbw50+59KqqgmHB1AFQKlYeJFDCMzJU5DnAMLWz/bSlf77CaC3iipL7AVQXVqu1aJEviiNYDVGTlig==
|
||||||
|
|
||||||
"@bazel/terser@1.0.0":
|
"@bazel/terser@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.0.0.tgz#f9ef724cd4a81776dae71ae904934994d5006960"
|
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.0.1.tgz#edc22ef7d507ddf249ab039fc9f8c4d05c4789f9"
|
||||||
integrity sha512-L+Q7YH+OA0W7Qp30DrnTKdNA6gasip9CdzI0zSvFOk18B7XBR+WswkIY2RkwwhH+y4SROqkHbX16z02jDHsnng==
|
integrity sha512-ldww7M6V6itnhCbtIdiGenKJZVwfpeA+h1z41KYCPQouNBrf0zBH717NYUx1IXkxmWfuT1cmgDWLYEhBC+R2Sw==
|
||||||
|
|
||||||
"@bazel/typescript@1.0.0":
|
"@bazel/typescript@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.0.0.tgz#2c7318b9a3aaa730f282b094ddf41dd16fda7b5a"
|
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.0.1.tgz#23c8232f9a08199971a306a688843f10832f2458"
|
||||||
integrity sha512-caNOKz7EjVMgbedjVTreao9++9Sb9oYlU2nqDOMIK8MyoOUQvgGQWhFwF65XXGSb79Tzv8kaFQskoaH/iAs4ng==
|
integrity sha512-dEZVAqmsJRcxnUPedXJ5QJIcmzxxXLDSybNO2uBXET8PvDfRpFGwu/ui+FE3uC3gYYXUFUas6WIEw5oiSeicVQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
protobufjs "6.8.8"
|
protobufjs "6.8.8"
|
||||||
semver "5.6.0"
|
semver "5.6.0"
|
||||||
|
|
12
package.json
12
package.json
|
@ -41,12 +41,12 @@
|
||||||
"@angular-devkit/schematics": "9.0.0-rc.4",
|
"@angular-devkit/schematics": "9.0.0-rc.4",
|
||||||
"@angular/bazel": "file:./tools/npm/@angular_bazel",
|
"@angular/bazel": "file:./tools/npm/@angular_bazel",
|
||||||
"@babel/core": "^7.6.4",
|
"@babel/core": "^7.6.4",
|
||||||
"@bazel/jasmine": "1.0.0",
|
"@bazel/jasmine": "1.0.1",
|
||||||
"@bazel/karma": "1.0.0",
|
"@bazel/karma": "1.0.1",
|
||||||
"@bazel/protractor": "1.0.0",
|
"@bazel/protractor": "1.0.1",
|
||||||
"@bazel/rollup": "1.0.0",
|
"@bazel/rollup": "1.0.1",
|
||||||
"@bazel/terser": "1.0.0",
|
"@bazel/terser": "1.0.1",
|
||||||
"@bazel/typescript": "1.0.0",
|
"@bazel/typescript": "1.0.1",
|
||||||
"@microsoft/api-extractor": "^7.3.9",
|
"@microsoft/api-extractor": "^7.3.9",
|
||||||
"@schematics/angular": "9.0.0-rc.4",
|
"@schematics/angular": "9.0.0-rc.4",
|
||||||
"@types/angular": "^1.6.47",
|
"@types/angular": "^1.6.47",
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
||||||
"@bazel/typescript": "0.*",
|
"@bazel/typescript": ">=1.0.0",
|
||||||
"terser": "^4.3.1",
|
"terser": "^4.3.1",
|
||||||
"typescript": ">=3.6 <3.8",
|
"typescript": ">=3.6 <3.8",
|
||||||
"rollup": ">=1.20.0",
|
"rollup": ">=1.20.0",
|
||||||
|
|
|
@ -19,7 +19,6 @@ nodejs_binary(
|
||||||
name = "modify_tsconfig",
|
name = "modify_tsconfig",
|
||||||
data = ["modify_tsconfig.js"],
|
data = ["modify_tsconfig.js"],
|
||||||
entry_point = ":modify_tsconfig.js",
|
entry_point = ":modify_tsconfig.js",
|
||||||
install_source_map_support = False,
|
|
||||||
node_modules = ":empty_node_modules",
|
node_modules = ":empty_node_modules",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,8 +15,8 @@ workspace(
|
||||||
|
|
||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
|
|
||||||
RULES_NODEJS_VERSION = "1.0.0"
|
RULES_NODEJS_VERSION = "1.0.1"
|
||||||
RULES_NODEJS_SHA256 = "3887b948779431ac443e6a64f31b9e1e17b8d386a31eebc50ec1d9b0a6cabd2b"
|
RULES_NODEJS_SHA256 = "e1a0d6eb40ec89f61a13a028e7113aa3630247253bcb1406281b627e44395145"
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "build_bazel_rules_nodejs",
|
name = "build_bazel_rules_nodejs",
|
||||||
sha256 = RULES_NODEJS_SHA256,
|
sha256 = RULES_NODEJS_SHA256,
|
||||||
|
|
|
@ -24,7 +24,6 @@ nodejs_binary(
|
||||||
"@npm//shelljs",
|
"@npm//shelljs",
|
||||||
],
|
],
|
||||||
entry_point = ":packager.ts",
|
entry_point = ":packager.ts",
|
||||||
install_source_map_support = False,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
nodejs_binary(
|
nodejs_binary(
|
||||||
|
@ -36,7 +35,6 @@ nodejs_binary(
|
||||||
"@npm//rollup-plugin-sourcemaps",
|
"@npm//rollup-plugin-sourcemaps",
|
||||||
],
|
],
|
||||||
entry_point = "@npm//:node_modules/rollup/dist/bin/rollup",
|
entry_point = "@npm//:node_modules/rollup/dist/bin/rollup",
|
||||||
install_source_map_support = False,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
exports_files([
|
exports_files([
|
||||||
|
|
|
@ -40,11 +40,11 @@ function addDevDependenciesToPackageJson(options: Schema) {
|
||||||
['@angular/bazel', angularCore.version],
|
['@angular/bazel', angularCore.version],
|
||||||
['@bazel/bazel', '1.1.0'],
|
['@bazel/bazel', '1.1.0'],
|
||||||
['@bazel/ibazel', '0.10.3'],
|
['@bazel/ibazel', '0.10.3'],
|
||||||
['@bazel/karma', '1.0.0'],
|
['@bazel/karma', '1.0.1'],
|
||||||
['@bazel/protractor', '1.0.0'],
|
['@bazel/protractor', '1.0.1'],
|
||||||
['@bazel/rollup', '1.0.0'],
|
['@bazel/rollup', '1.0.1'],
|
||||||
['@bazel/terser', '1.0.0'],
|
['@bazel/terser', '1.0.1'],
|
||||||
['@bazel/typescript', '1.0.0'],
|
['@bazel/typescript', '1.0.1'],
|
||||||
['history-server', '1.3.1'],
|
['history-server', '1.3.1'],
|
||||||
['html-insert-assets', '0.2.0'],
|
['html-insert-assets', '0.2.0'],
|
||||||
['karma', '4.4.1'],
|
['karma', '4.4.1'],
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Needed to run animation tests
|
// Needed to run animation tests
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must be loaded before zone loads, so that zone can detect WTF.
|
// Must be loaded before zone loads, so that zone can detect WTF.
|
||||||
|
|
|
@ -13,13 +13,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must be loaded before zone loads, so that zone can detect WTF.
|
// Must be loaded before zone loads, so that zone can detect WTF.
|
||||||
|
|
|
@ -13,13 +13,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must be loaded before zone loads, so that zone can detect WTF.
|
// Must be loaded before zone loads, so that zone can detect WTF.
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
process.env['errorpolicy'] = (global as any)['__Zone_Error_BlacklistedStackFrames_policy'] =
|
process.env['errorpolicy'] = (global as any)['__Zone_Error_BlacklistedStackFrames_policy'] =
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
process.env['errorpolicy'] = (global as any)['__Zone_Error_BlacklistedStackFrames_policy'] = 'lazy';
|
process.env['errorpolicy'] = (global as any)['__Zone_Error_BlacklistedStackFrames_policy'] = 'lazy';
|
||||||
|
|
|
@ -17,5 +17,4 @@ nodejs_binary(
|
||||||
"@npm//rollup-plugin-sourcemaps",
|
"@npm//rollup-plugin-sourcemaps",
|
||||||
],
|
],
|
||||||
entry_point = "@npm//:node_modules/rollup/dist/bin/rollup",
|
entry_point = "@npm//:node_modules/rollup/dist/bin/rollup",
|
||||||
install_source_map_support = False,
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,13 +6,10 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (process.env['TEST_SRCDIR']) {
|
// bootstrap the bazel require patch since this bootstrap script is loaded with
|
||||||
// bootstrap the bazel require resolve patch since this
|
// `--node_options=--require=$(rlocation $(location script.js))`
|
||||||
// script is a bootstrap script loaded with --node_options=--require=...
|
if (process.env['BAZEL_NODE_RUNFILES_HELPER']) {
|
||||||
const path = require('path');
|
require(process.env['BAZEL_NODE_RUNFILES_HELPER'] as string).patchRequire();
|
||||||
require(path.posix.join(
|
|
||||||
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
|
|
||||||
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
import 'zone.js/lib/node/rollup-main';
|
import 'zone.js/lib/node/rollup-main';
|
||||||
|
|
48
yarn.lock
48
yarn.lock
|
@ -981,41 +981,41 @@
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.11.1.tgz#c07ceaded388f1e39d6aa732953e0dd04f3dbdf0"
|
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.11.1.tgz#c07ceaded388f1e39d6aa732953e0dd04f3dbdf0"
|
||||||
integrity sha512-qAdEquFAudYyN+CYfLzvuRWNubdsh6C8+o5CiViUEfchq1HQM5Rs8xAOE3fzGsTZ1EUsvgca/PY0kn0VIxckBA==
|
integrity sha512-qAdEquFAudYyN+CYfLzvuRWNubdsh6C8+o5CiViUEfchq1HQM5Rs8xAOE3fzGsTZ1EUsvgca/PY0kn0VIxckBA==
|
||||||
|
|
||||||
"@bazel/jasmine@1.0.0":
|
"@bazel/jasmine@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-1.0.0.tgz#12aa82c0e4b7b5658e9e496b73c0cf660df2b0ae"
|
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-1.0.1.tgz#e3a7450017d685446745bb59f5afcc05b8870f7f"
|
||||||
integrity sha512-cheQWMYs0PaS4kYwJC9tmAiyd0tLbPNcgoM+S8plNUp5k0gUVosCvQ0TOrxvRlKEY0ni1hdn9owPx2rUO1J+Wg==
|
integrity sha512-P9no3QiSLM7E2DKU+Ay/Vy4Y/Tv6oxsNeA9/y0ok0SPeNQwAZ75U/8KEDO8G3ymCK19rIXlz6CAeEBGDmj4+CA==
|
||||||
dependencies:
|
dependencies:
|
||||||
jasmine "~3.4.0"
|
jasmine "~3.4.0"
|
||||||
jasmine-core "~3.4.0"
|
jasmine-core "~3.4.0"
|
||||||
v8-coverage "1.0.9"
|
v8-coverage "1.0.9"
|
||||||
|
|
||||||
"@bazel/karma@1.0.0":
|
"@bazel/karma@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.0.0.tgz#6f1e31bc2cb698e50d76f43ec9f1ee095d8e72b8"
|
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.0.1.tgz#f60de501367125ece03af1250ccb69d836fee2cc"
|
||||||
integrity sha512-esfsHRVWVcp6OyTk/QI1sBV7bcygFiXY6LUMPLPYqVZkQvJ0x+/L1weiwuRrqFf+FCwCajhYjwiR6S9kX2Z9LA==
|
integrity sha512-AJ7KOx+oWHTAwstTMH95jpPP4MSKnG2eZiTms5OilhLz6KWg+l4hGumJ+jB8ntt/ZlMv9nrLVohS5zjEUyeTYA==
|
||||||
dependencies:
|
dependencies:
|
||||||
tmp "0.1.0"
|
tmp "0.1.0"
|
||||||
|
|
||||||
"@bazel/protractor@1.0.0":
|
"@bazel/protractor@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.0.0.tgz#b77fde3bb53a008c330c13a953a0bf93aa06b5f1"
|
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.0.1.tgz#48d1f12c9edec114b04b45a159fa8c231c65c688"
|
||||||
integrity sha512-8kGuM3NkFfokjzKBlYxK9rUwJO/ICnYTHC567KJk6T4pjm4kfyh6iVI3Df3K+ONRCEYmiuZrQ37U06lzMMGN9g==
|
integrity sha512-gAJ4nMQRXu4/k+EvH/aD4BUBrSy9dn/xtAI0qRs8t2997Zafb2HI0Ejd0Ep3geBcnloC/EWGSQAIBt5vQrOWAw==
|
||||||
|
|
||||||
"@bazel/rollup@1.0.0":
|
"@bazel/rollup@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.0.0.tgz#85f38cf07ba8ea192e54c42cb53a44d1fd1f56ac"
|
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.0.1.tgz#aaef886ff6cb00fc19995479aef4275359b57eee"
|
||||||
integrity sha512-pOWwyeM/H+LWRpKm3xuSAXoZ1gl6o8kFh5ltf0tM+ZfqGnSNbakME6ZswfmVj7FHUgF40BXzSoFTUdqgn1xy/w==
|
integrity sha512-LL9eszGoHbw50+59KqqgmHB1AFQKlYeJFDCMzJU5DnAMLWz/bSlf77CaC3iipL7AVQXVqu1aJEviiNYDVGTlig==
|
||||||
|
|
||||||
"@bazel/terser@1.0.0":
|
"@bazel/terser@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.0.0.tgz#f9ef724cd4a81776dae71ae904934994d5006960"
|
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.0.1.tgz#edc22ef7d507ddf249ab039fc9f8c4d05c4789f9"
|
||||||
integrity sha512-L+Q7YH+OA0W7Qp30DrnTKdNA6gasip9CdzI0zSvFOk18B7XBR+WswkIY2RkwwhH+y4SROqkHbX16z02jDHsnng==
|
integrity sha512-ldww7M6V6itnhCbtIdiGenKJZVwfpeA+h1z41KYCPQouNBrf0zBH717NYUx1IXkxmWfuT1cmgDWLYEhBC+R2Sw==
|
||||||
|
|
||||||
"@bazel/typescript@1.0.0":
|
"@bazel/typescript@1.0.1":
|
||||||
version "1.0.0"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.0.0.tgz#2c7318b9a3aaa730f282b094ddf41dd16fda7b5a"
|
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.0.1.tgz#23c8232f9a08199971a306a688843f10832f2458"
|
||||||
integrity sha512-caNOKz7EjVMgbedjVTreao9++9Sb9oYlU2nqDOMIK8MyoOUQvgGQWhFwF65XXGSb79Tzv8kaFQskoaH/iAs4ng==
|
integrity sha512-dEZVAqmsJRcxnUPedXJ5QJIcmzxxXLDSybNO2uBXET8PvDfRpFGwu/ui+FE3uC3gYYXUFUas6WIEw5oiSeicVQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
protobufjs "6.8.8"
|
protobufjs "6.8.8"
|
||||||
semver "5.6.0"
|
semver "5.6.0"
|
||||||
|
|
Loading…
Reference in New Issue