From ac8e4843c63982f40673ea17f105bd39092356a0 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 6 Apr 2022 12:19:04 -0700 Subject: [PATCH] fix: enable stardoc generation for rules that depend on ts in core --- nodejs/private/BUILD.bazel | 4 ++++ nodejs/private/ts_lib.bzl | 2 +- nodejs/private/ts_project.bzl | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nodejs/private/BUILD.bazel b/nodejs/private/BUILD.bazel index 23f34ffd1a..28bf7fd0d4 100644 --- a/nodejs/private/BUILD.bazel +++ b/nodejs/private/BUILD.bazel @@ -14,4 +14,8 @@ bzl_library( name = "bzl", srcs = glob(["*.bzl"]), visibility = ["//visibility:public"], + deps = [ + "//nodejs/private/providers:bzl", + "@bazel_skylib//lib:dicts", + ], ) diff --git a/nodejs/private/ts_lib.bzl b/nodejs/private/ts_lib.bzl index d8ea5ec816..329acff22e 100644 --- a/nodejs/private/ts_lib.bzl +++ b/nodejs/private/ts_lib.bzl @@ -1,6 +1,6 @@ "Utilities functions for selecting and filtering ts and other files" -load("@rules_nodejs//nodejs:providers.bzl", "DeclarationInfo") +load("@rules_nodejs//nodejs/private/providers:declaration_info.bzl", "DeclarationInfo") ValidOptionsInfo = provider( doc = "Internal: whether the validator ran successfully", diff --git a/nodejs/private/ts_project.bzl b/nodejs/private/ts_project.bzl index a887584345..6d5c6a5d7f 100644 --- a/nodejs/private/ts_project.bzl +++ b/nodejs/private/ts_project.bzl @@ -1,7 +1,8 @@ "ts_project rule" load("@bazel_skylib//lib:dicts.bzl", "dicts") -load("@rules_nodejs//nodejs:providers.bzl", "DeclarationInfo", "declaration_info", "js_module_info") +load("@rules_nodejs//nodejs/private/providers:declaration_info.bzl", "DeclarationInfo", "declaration_info") +load("@rules_nodejs//nodejs/private/providers:js_providers.bzl", "js_module_info") load(":ts_lib.bzl", "COMPILER_OPTION_ATTRS", "OUTPUT_ATTRS", "STD_ATTRS", "ValidOptionsInfo", _lib = "lib") load(":ts_config.bzl", "TsConfigInfo") load(":ts_validate_options.bzl", _validate_lib = "lib")