diff --git a/.bazelrc b/.bazelrc index 01852fef..ab979638 100644 --- a/.bazelrc +++ b/.bazelrc @@ -10,6 +10,7 @@ test --nolegacy_external_runfiles # Enable the "Managed Directories" feature build --experimental_allow_incremental_repository_updates +query --experimental_allow_incremental_repository_updates # Opt-in to upcoming breaking change build --incompatible_depset_is_not_iterable diff --git a/internal/BUILD.bazel b/internal/BUILD.bazel index a66f109c..b05e0739 100644 --- a/internal/BUILD.bazel +++ b/internal/BUILD.bazel @@ -36,7 +36,7 @@ nodejs_binary( "@npm//source-map-support", "@npm//typescript", ], - entry_point = "typescript/lib/tsc.js", + entry_point = "@npm//node_modules/typescript:lib/tsc.js", visibility = ["//internal:__subpackages__"], ) @@ -88,7 +88,7 @@ nodejs_binary( "@npm//typescript", "//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto", ], - entry_point = "build_bazel_rules_typescript/internal/tsc_wrapped/tsc_wrapped.js", + entry_point = ":tsc_wrapped/tsc_wrapped.js", visibility = ["//visibility:public"], ) diff --git a/package.bzl b/package.bzl index 3b13286c..5511b247 100644 --- a/package.bzl +++ b/package.bzl @@ -30,8 +30,8 @@ def rules_typescript_dev_dependencies(): _maybe( http_archive, name = "build_bazel_rules_nodejs", - sha256 = "bc180118b9e1c7f2b74dc76a8f798d706fe9fc53470ef9296728267b4cd29441", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.30.2/rules_nodejs-0.30.2.tar.gz"], + urls = ["https://github.com/gregmagolan/rules_nodejs/archive/b6efd596e2a138a26e40e84c9aa0c9166e129cc9.zip"], + strip_prefix = "rules_nodejs-b6efd596e2a138a26e40e84c9aa0c9166e129cc9", ) # For protocol buffers