upgrade nodejs bazel rules to version 0.26.0
Change-Id: Iee23d220e2cf2ca5d089ecf271f4a6ef8c9df3a8
diff --git a/.bazelrc b/.bazelrc
index ac1cb12..3bd8166 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,14 +1,8 @@
build --nouse_ijars
build --experimental_strict_action_env
-build --incompatible_package_name_is_a_function=false
test --test_summary=terse
test --test_output=errors
test --test_verbose_timeout_warnings
-# remove these when we upgrade nodejs rules
-build --incompatible_disallow_data_transition=false
-test --incompatible_disallow_data_transition=false
-query --incompatible_disallow_data_transition=false
-
#build --disk_cache=~/bazel-cache
#build --remote_http_cache=http://10.1.10.224:80/cache
diff --git a/WORKSPACE b/WORKSPACE
index 6d49746..0fe619d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -85,13 +85,9 @@
git_repository(
name = "build_bazel_rules_nodejs",
remote = "https://github.com/bazelbuild/rules_nodejs.git",
- tag = "0.11.5", # check for the latest tag when you install
+ tag = "0.26.0", # check for the latest tag when you install
)
-load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")
-
-rules_nodejs_dependencies()
-
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
node_repositories(
diff --git a/apps/faultmanagement/fm-gui2-lib/BUILD b/apps/faultmanagement/fm-gui2-lib/BUILD
index ec403ef..56e4888 100644
--- a/apps/faultmanagement/fm-gui2-lib/BUILD
+++ b/apps/faultmanagement/fm-gui2-lib/BUILD
@@ -73,7 +73,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
"//web/gui2-fw-lib:onos-gui2-fw-npm-install",
@@ -130,7 +129,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
"//web/gui2-fw-lib:onos-gui2-fw-npm-install",
diff --git a/web/gui/BUILD b/web/gui/BUILD
index 77fa7f7..45dbc43 100644
--- a/web/gui/BUILD
+++ b/web/gui/BUILD
@@ -96,7 +96,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
"//tools/gui:tools-gui-gulp",
@@ -126,7 +125,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
":_onos-gui-npm-install",
diff --git a/web/gui2-fw-lib/BUILD b/web/gui2-fw-lib/BUILD
index 667814f..a770c44 100644
--- a/web/gui2-fw-lib/BUILD
+++ b/web/gui2-fw-lib/BUILD
@@ -170,7 +170,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
":_root_level_files",
@@ -205,7 +204,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
":onos-gui2-fw-npm-install",
@@ -254,7 +252,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
":onos-gui2-fw-npm-install",
diff --git a/web/gui2/BUILD b/web/gui2/BUILD
index fb6a2c5..adb0b05 100644
--- a/web/gui2/BUILD
+++ b/web/gui2/BUILD
@@ -114,7 +114,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
"//web/gui2-fw-lib:onos-gui2-fw-npm-install",
@@ -176,7 +175,6 @@
srcs = [
"@nodejs//:bin/npm",
"@nodejs//:bin/node",
- "@nodejs//:bin/node.js",
"@nodejs//:bin/nodejs/bin/node",
"@nodejs//:bin/nodejs/bin/npm",
"//web/gui2-fw-lib:onos-gui2-fw-npm-install",