forked from bazel-contrib/rules_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Users must now switch to loading from index.bzl Fixes bazel-contrib#1068
- Loading branch information
Showing
5 changed files
with
61 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/sass/BUILD b/sass/BUILD | ||
index 8963525..dccce74 100644 | ||
--- a/sass/BUILD | ||
+++ b/sass/BUILD | ||
@@ -1,6 +1,6 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
-load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary") | ||
+load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") | ||
|
||
exports_files([ | ||
"sass.bzl", | ||
diff --git a/sass/sass_repositories.bzl b/sass/sass_repositories.bzl | ||
index 4833f41..9cb2056 100644 | ||
--- a/sass/sass_repositories.bzl | ||
+++ b/sass/sass_repositories.bzl | ||
@@ -14,7 +14,7 @@ | ||
|
||
"Install Sass toolchain dependencies" | ||
|
||
-load("@build_bazel_rules_nodejs//:defs.bzl", "yarn_install", "check_rules_nodejs_version") | ||
+load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install", "check_rules_nodejs_version") | ||
|
||
def sass_repositories(): | ||
"""Set up environment for Sass compiler. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/internal/ts_repositories.bzl b/internal/ts_repositories.bzl | ||
index 929db7d..90a1c1a 100644 | ||
--- a/internal/ts_repositories.bzl | ||
+++ b/internal/ts_repositories.bzl | ||
@@ -20,7 +20,7 @@ | ||
load("@bazel_gazelle//:deps.bzl", "go_repository") | ||
|
||
# END-DEV-ONLY | ||
-load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "check_rules_nodejs_version") | ||
+load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "check_rules_nodejs_version") | ||
|
||
def ts_setup_workspace(): | ||
"""This repository rule should be called from your WORKSPACE file. |