build: update to rules_nodejs 1.4.1 (#35999)
Minor bug fixes for Windows PR Close #35999
This commit is contained in:
parent
e74738db8c
commit
6f95bc915d
|
@ -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 = "c9e59009049fa42198f7087b80398fc4b2698a0f0c7fdde4fb3540c899c9b309",
|
sha256 = "2eca5b934dee47b5ff304f502ae187c40ec4e33e12bcbce872a2eeb786e23269",
|
||||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.4.0/rules_nodejs-1.4.0.tar.gz"],
|
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.4.1/rules_nodejs-1.4.1.tar.gz"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check the bazel version and download npm dependencies
|
# Check the bazel version and download npm dependencies
|
||||||
|
@ -30,7 +30,7 @@ Try running `yarn bazel` instead.
|
||||||
minimum_bazel_version = "2.1.0",
|
minimum_bazel_version = "2.1.0",
|
||||||
)
|
)
|
||||||
|
|
||||||
check_rules_nodejs_version(minimum_version_string = "1.4.0")
|
check_rules_nodejs_version(minimum_version_string = "1.4.1")
|
||||||
|
|
||||||
# Setup the Node.js toolchain
|
# Setup the Node.js toolchain
|
||||||
node_repositories(
|
node_repositories(
|
||||||
|
|
|
@ -5,8 +5,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 = "c9e59009049fa42198f7087b80398fc4b2698a0f0c7fdde4fb3540c899c9b309",
|
sha256 = "2eca5b934dee47b5ff304f502ae187c40ec4e33e12bcbce872a2eeb786e23269",
|
||||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.4.0/rules_nodejs-1.4.0.tar.gz"],
|
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.4.1/rules_nodejs-1.4.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.4.0",
|
"@bazel/karma": "1.4.1",
|
||||||
"@bazel/protractor": "1.4.0",
|
"@bazel/protractor": "1.4.1",
|
||||||
"@bazel/rollup": "1.4.0",
|
"@bazel/rollup": "1.4.1",
|
||||||
"@bazel/terser": "1.4.0",
|
"@bazel/terser": "1.4.1",
|
||||||
"@bazel/typescript": "1.4.0",
|
"@bazel/typescript": "1.4.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",
|
||||||
|
|
|
@ -94,32 +94,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.4.0":
|
"@bazel/karma@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.4.0.tgz#42517b3a236d0589da265e195814960e6b4a691c"
|
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.4.1.tgz#12106dfd50ffd8ce98a35a0000badcb9d730c5c4"
|
||||||
integrity sha512-KLBKZHN4b9w+Ll9DrW6+mqKeR6a4kuc4PMPWNIqrgTHBTnJgRQpnDR4V/kyqEjcmJ9zG/rJgzkrboRHyXsQrxA==
|
integrity sha512-6VecxKGyMam1kA4mGX1GHPgustw8hdyR6v9LTvPWJQ7P5drZbvXUTMz+MLEzbElWdB2KDMljkJRlspbCXuTWew==
|
||||||
dependencies:
|
dependencies:
|
||||||
tmp "0.1.0"
|
tmp "0.1.0"
|
||||||
|
|
||||||
"@bazel/protractor@1.4.0":
|
"@bazel/protractor@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.4.0.tgz#577bc7243d88b58fc4733e39b233f38ee97eeebb"
|
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.4.1.tgz#fb668429ddc7d1d725d9ce9cf16a29e0e39ab2e0"
|
||||||
integrity sha512-flAzhCAfkVjOQQT1JOLvUz5PBiNKgg8/4jMUw90ZcOSj8u6mOSrR0Fh7LT7V+Rc3VLrH+uNaP9Iq31gjEKxl6A==
|
integrity sha512-AkgKdd+6cv6tSmCyop11jgfkpCGWsmykgBOAUftBPK2qtn5iHDSpI2xrZUQQv1/F9vhFFvy+09sIslGWP/TyEA==
|
||||||
|
|
||||||
"@bazel/rollup@1.4.0":
|
"@bazel/rollup@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.4.0.tgz#30acc9cfb0b3f91a225ec7c20ac09c4254c28da1"
|
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.4.1.tgz#395fbd2611867a54be154ecff1239fcde261371b"
|
||||||
integrity sha512-K8uRTKUaK+PacZW9c3ZWE06i9tyRcpO7bYq01yVSeMcgeZ+erHyMrlvH+bF8HHvSASPcMTgGI+KmDnAMX2OUMg==
|
integrity sha512-CU0D+xPQbspuVsKhv2sP0kWhIuEQo8eYjhQXP9BXVZ02uc+YCOkW/5JHIhF946QYljp++W6mcVUGFdBYcrVZow==
|
||||||
|
|
||||||
"@bazel/terser@1.4.0":
|
"@bazel/terser@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.4.0.tgz#cfbf0f317818c2f9e2d51de9d52271318e9a8159"
|
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.4.1.tgz#af4d63c768e72d57674a4514857fea5d9984378d"
|
||||||
integrity sha512-4mZr7QAuFJPY//A/Mox/kMLxabDM6PEXyGG8AyDo736SRCl0EE8H5tGwzWzgTXZU/oWrPxl+vBzBioQlNxoVUQ==
|
integrity sha512-JGhv22d2IOGePE0VwmF6c88GOP3Ij621qtLoI7ZVLDRTElSRAknqj09qX6Zni2DkjT2c/+Ldm2qE8P6hOCXpEg==
|
||||||
|
|
||||||
"@bazel/typescript@1.4.0":
|
"@bazel/typescript@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.4.0.tgz#8a86c3c58c3ebe17ccb2f71b35720457f4bc434a"
|
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.4.1.tgz#1c718ce6de694e1bb90f894fa6320a0cadd90850"
|
||||||
integrity sha512-VFUCAyGXMZDx/ZyZ8YUj5rn/Rg9xSxoZxcqxJ457YxMzWGISKpNyzgUty9J/ZVcPg1xKKoISSvcjQWFtWOwX2A==
|
integrity sha512-+R/cZcQpuvGfxqc9s/qu/LBWGNV93iSPTt/mvXq6hfH+sABmrrC/E0+WxapuQaaPdKqR3zSdDIIBV70FUMozsg==
|
||||||
dependencies:
|
dependencies:
|
||||||
protobufjs "6.8.8"
|
protobufjs "6.8.8"
|
||||||
semver "5.6.0"
|
semver "5.6.0"
|
||||||
|
|
12
package.json
12
package.json
|
@ -47,12 +47,12 @@
|
||||||
"@babel/template": "^7.8.6",
|
"@babel/template": "^7.8.6",
|
||||||
"@babel/traverse": "^7.8.6",
|
"@babel/traverse": "^7.8.6",
|
||||||
"@babel/types": "^7.8.6",
|
"@babel/types": "^7.8.6",
|
||||||
"@bazel/jasmine": "1.4.0",
|
"@bazel/jasmine": "1.4.1",
|
||||||
"@bazel/karma": "1.4.0",
|
"@bazel/karma": "1.4.1",
|
||||||
"@bazel/protractor": "1.4.0",
|
"@bazel/protractor": "1.4.1",
|
||||||
"@bazel/rollup": "1.4.0",
|
"@bazel/rollup": "1.4.1",
|
||||||
"@bazel/terser": "1.4.0",
|
"@bazel/terser": "1.4.1",
|
||||||
"@bazel/typescript": "1.4.0",
|
"@bazel/typescript": "1.4.1",
|
||||||
"@microsoft/api-extractor": "^7.3.9",
|
"@microsoft/api-extractor": "^7.3.9",
|
||||||
"@schematics/angular": "9.0.3",
|
"@schematics/angular": "9.0.3",
|
||||||
"@types/angular": "^1.6.47",
|
"@types/angular": "^1.6.47",
|
||||||
|
|
|
@ -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.4.0"
|
RULES_NODEJS_VERSION = "1.4.1"
|
||||||
RULES_NODEJS_SHA256 = "c9e59009049fa42198f7087b80398fc4b2698a0f0c7fdde4fb3540c899c9b309"
|
RULES_NODEJS_SHA256 = "2eca5b934dee47b5ff304f502ae187c40ec4e33e12bcbce872a2eeb786e23269"
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "build_bazel_rules_nodejs",
|
name = "build_bazel_rules_nodejs",
|
||||||
sha256 = RULES_NODEJS_SHA256,
|
sha256 = RULES_NODEJS_SHA256,
|
||||||
|
|
|
@ -40,11 +40,11 @@ function addDevDependenciesToPackageJson(options: Schema) {
|
||||||
['@angular/bazel', angularCore.version],
|
['@angular/bazel', angularCore.version],
|
||||||
['@bazel/bazel', '2.1.0'],
|
['@bazel/bazel', '2.1.0'],
|
||||||
['@bazel/ibazel', '0.11.1'],
|
['@bazel/ibazel', '0.11.1'],
|
||||||
['@bazel/karma', '1.4.0'],
|
['@bazel/karma', '1.4.1'],
|
||||||
['@bazel/protractor', '1.4.0'],
|
['@bazel/protractor', '1.4.1'],
|
||||||
['@bazel/rollup', '1.4.0'],
|
['@bazel/rollup', '1.4.1'],
|
||||||
['@bazel/terser', '1.4.0'],
|
['@bazel/terser', '1.4.1'],
|
||||||
['@bazel/typescript', '1.4.0'],
|
['@bazel/typescript', '1.4.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'],
|
||||||
|
|
48
yarn.lock
48
yarn.lock
|
@ -1104,42 +1104,42 @@
|
||||||
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.4.0":
|
"@bazel/jasmine@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-1.4.0.tgz#c4124090f933a879d8b0fc7c2c2c2436f17094fe"
|
resolved "https://registry.yarnpkg.com/@bazel/jasmine/-/jasmine-1.4.1.tgz#eb70ad8099eb82505ee5841981fe4f3b7c8c47d0"
|
||||||
integrity sha512-As7hqdmkUJLKNAUmj6CkFR2azaHA6dxdOLFNasrXX4Qc+jBXxDEgnGb4DSFewn5ds45BKahZOpCsKH3Fq1g4Sw==
|
integrity sha512-fslF86VzSoQ5ir2aQScKbROqlVdoS0A4zeSslngIwbfhgrXZVbErXtuS43O5FgGCF+1zEfeTgXAgtwtjNdjs6Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
jasmine "~3.5.0"
|
jasmine "~3.5.0"
|
||||||
jasmine-core "~3.5.0"
|
jasmine-core "~3.5.0"
|
||||||
jasmine-reporters "~2.3.2"
|
jasmine-reporters "~2.3.2"
|
||||||
v8-coverage "1.0.9"
|
v8-coverage "1.0.9"
|
||||||
|
|
||||||
"@bazel/karma@1.4.0":
|
"@bazel/karma@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.4.0.tgz#42517b3a236d0589da265e195814960e6b4a691c"
|
resolved "https://registry.yarnpkg.com/@bazel/karma/-/karma-1.4.1.tgz#12106dfd50ffd8ce98a35a0000badcb9d730c5c4"
|
||||||
integrity sha512-KLBKZHN4b9w+Ll9DrW6+mqKeR6a4kuc4PMPWNIqrgTHBTnJgRQpnDR4V/kyqEjcmJ9zG/rJgzkrboRHyXsQrxA==
|
integrity sha512-6VecxKGyMam1kA4mGX1GHPgustw8hdyR6v9LTvPWJQ7P5drZbvXUTMz+MLEzbElWdB2KDMljkJRlspbCXuTWew==
|
||||||
dependencies:
|
dependencies:
|
||||||
tmp "0.1.0"
|
tmp "0.1.0"
|
||||||
|
|
||||||
"@bazel/protractor@1.4.0":
|
"@bazel/protractor@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.4.0.tgz#577bc7243d88b58fc4733e39b233f38ee97eeebb"
|
resolved "https://registry.yarnpkg.com/@bazel/protractor/-/protractor-1.4.1.tgz#fb668429ddc7d1d725d9ce9cf16a29e0e39ab2e0"
|
||||||
integrity sha512-flAzhCAfkVjOQQT1JOLvUz5PBiNKgg8/4jMUw90ZcOSj8u6mOSrR0Fh7LT7V+Rc3VLrH+uNaP9Iq31gjEKxl6A==
|
integrity sha512-AkgKdd+6cv6tSmCyop11jgfkpCGWsmykgBOAUftBPK2qtn5iHDSpI2xrZUQQv1/F9vhFFvy+09sIslGWP/TyEA==
|
||||||
|
|
||||||
"@bazel/rollup@1.4.0":
|
"@bazel/rollup@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.4.0.tgz#30acc9cfb0b3f91a225ec7c20ac09c4254c28da1"
|
resolved "https://registry.yarnpkg.com/@bazel/rollup/-/rollup-1.4.1.tgz#395fbd2611867a54be154ecff1239fcde261371b"
|
||||||
integrity sha512-K8uRTKUaK+PacZW9c3ZWE06i9tyRcpO7bYq01yVSeMcgeZ+erHyMrlvH+bF8HHvSASPcMTgGI+KmDnAMX2OUMg==
|
integrity sha512-CU0D+xPQbspuVsKhv2sP0kWhIuEQo8eYjhQXP9BXVZ02uc+YCOkW/5JHIhF946QYljp++W6mcVUGFdBYcrVZow==
|
||||||
|
|
||||||
"@bazel/terser@1.4.0":
|
"@bazel/terser@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.4.0.tgz#cfbf0f317818c2f9e2d51de9d52271318e9a8159"
|
resolved "https://registry.yarnpkg.com/@bazel/terser/-/terser-1.4.1.tgz#af4d63c768e72d57674a4514857fea5d9984378d"
|
||||||
integrity sha512-4mZr7QAuFJPY//A/Mox/kMLxabDM6PEXyGG8AyDo736SRCl0EE8H5tGwzWzgTXZU/oWrPxl+vBzBioQlNxoVUQ==
|
integrity sha512-JGhv22d2IOGePE0VwmF6c88GOP3Ij621qtLoI7ZVLDRTElSRAknqj09qX6Zni2DkjT2c/+Ldm2qE8P6hOCXpEg==
|
||||||
|
|
||||||
"@bazel/typescript@1.4.0":
|
"@bazel/typescript@1.4.1":
|
||||||
version "1.4.0"
|
version "1.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.4.0.tgz#8a86c3c58c3ebe17ccb2f71b35720457f4bc434a"
|
resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-1.4.1.tgz#1c718ce6de694e1bb90f894fa6320a0cadd90850"
|
||||||
integrity sha512-VFUCAyGXMZDx/ZyZ8YUj5rn/Rg9xSxoZxcqxJ457YxMzWGISKpNyzgUty9J/ZVcPg1xKKoISSvcjQWFtWOwX2A==
|
integrity sha512-+R/cZcQpuvGfxqc9s/qu/LBWGNV93iSPTt/mvXq6hfH+sABmrrC/E0+WxapuQaaPdKqR3zSdDIIBV70FUMozsg==
|
||||||
dependencies:
|
dependencies:
|
||||||
protobufjs "6.8.8"
|
protobufjs "6.8.8"
|
||||||
semver "5.6.0"
|
semver "5.6.0"
|
||||||
|
|
Loading…
Reference in New Issue