build(bazel): update to nodejs rules 0.27.8 (#29508)
* fixes prodmode issue in integration/bazel BREAKING CHANGE: @bazel/typescript is now a peerDependency of @angular/bazel so user's of @angular/bazel must add @bazel/typescript to their package.json PR Close #29508
This commit is contained in:

committed by
Miško Hevery

parent
06056b4a6d
commit
d9162a872d
@ -22,7 +22,6 @@
|
||||
"@angular-devkit/architect": "^0.13.4",
|
||||
"@angular-devkit/core": "^7.0.4",
|
||||
"@angular-devkit/schematics": "^7.3.0-rc.0",
|
||||
"@bazel/typescript": "^0.27.7",
|
||||
"@microsoft/api-extractor": "^7.0.21",
|
||||
"@schematics/angular": "^7.3.5",
|
||||
"@types/node": "6.0.84",
|
||||
@ -32,6 +31,7 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
||||
"@bazel/typescript": "^0.27.8",
|
||||
"typescript": ">=3.3.3333 <3.4"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -16,6 +16,7 @@ nodejs_binary(
|
||||
"@npm//@angular-devkit/build-optimizer",
|
||||
"@npm//is-builtin-module",
|
||||
"@npm//rollup",
|
||||
"@npm//rollup-plugin-amd",
|
||||
"@npm//rollup-plugin-commonjs",
|
||||
"@npm//rollup-plugin-node-resolve",
|
||||
"@npm//rollup-plugin-sourcemaps",
|
||||
|
@ -12,8 +12,8 @@ workspace(name = "project")
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
RULES_NODEJS_VERSION = "0.27.7"
|
||||
RULES_NODEJS_SHA256 = "fb87ed5965cef93188af9a7287511639403f4b0da418961ce6defb9dcf658f51"
|
||||
RULES_NODEJS_VERSION = "0.27.8"
|
||||
RULES_NODEJS_SHA256 = "88e5e579fb9edfbd19791b8a3c6bfbe16ae3444dba4b428e5efd36856db7cf16"
|
||||
http_archive(
|
||||
name = "build_bazel_rules_nodejs",
|
||||
sha256 = RULES_NODEJS_SHA256,
|
||||
|
@ -49,7 +49,8 @@ function addDevDependenciesToPackageJson(options: Schema) {
|
||||
'@angular/bazel': angularCoreVersion,
|
||||
'@bazel/bazel': '^0.23.0',
|
||||
'@bazel/ibazel': '^0.9.0',
|
||||
'@bazel/karma': '^0.27.7',
|
||||
'@bazel/karma': '^0.27.8',
|
||||
'@bazel/typescript': '^0.27.8',
|
||||
};
|
||||
|
||||
const recorder = host.beginUpdate(packageJson);
|
||||
|
Reference in New Issue
Block a user