forked from bazel-contrib/rules_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules_typescript.patch
35 lines (30 loc) · 1.17 KB
/
rules_typescript.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/BUILD.bazel b/BUILD.bazel
index b0a0051..3a519c5 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -19,7 +19,7 @@
# https://github.com/bazelbuild/rules_go/blob/master/go/tools/gazelle/README.rst#directives
# gazelle:exclude node_modules
load("@bazel_gazelle//:def.bzl", "gazelle")
-load("@build_bazel_rules_nodejs//:index.bzl", "npm_package")
+load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
exports_files([
"LICENSE",
@@ -32,7 +32,7 @@ gazelle(
)
# This package is included in the npm_bazel_typescript package in rules_nodejs/packages/typescript
-npm_package(
+pkg_npm(
name = "npm_bazel_typescript_package",
srcs = [
"//internal:npm_package_assets",
diff --git a/internal/common/compilation.bzl b/internal/common/compilation.bzl
index e815f37..a2b6468 100644
--- a/internal/common/compilation.bzl
+++ b/internal/common/compilation.bzl
@@ -17,7 +17,7 @@
load(":common/json_marshal.bzl", "json_marshal")
load(":common/module_mappings.bzl", "module_mappings_aspect")
-load("@build_bazel_rules_nodejs//:declaration_provider.bzl", "DeclarationInfo")
+load("@build_bazel_rules_nodejs//:providers.bzl", "DeclarationInfo")
_DEBUG = False