Skip to content

Commit

Permalink
fix: enable stardoc generation for rules that depend on ts in core (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Apr 21, 2022
1 parent d0bc0bb commit 5d1c2ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions nodejs/private/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ bzl_library(
name = "bzl",
srcs = glob(["*.bzl"]),
visibility = ["//visibility:public"],
deps = [
"//nodejs/private/providers:bzl",
"@bazel_skylib//lib:dicts",
],
)
2 changes: 1 addition & 1 deletion nodejs/private/ts_lib.bzl
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion nodejs/private/ts_project.bzl
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 5d1c2ad

Please sign in to comment.