Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,23 @@ setup_dependencies_1()
load("//bazel:setup_dependencies_2.bzl", "setup_dependencies_2")

setup_dependencies_2()

# TODO: Move this to the setup scripts. E.g. following proposals like:
# go/ng:sharing-infra-code.
http_archive(
name = "aspect_rules_esbuild",
sha256 = "550e33ddeb86a564b22b2c5d3f84748c6639b1b2b71fae66bf362c33392cbed8",
strip_prefix = "rules_esbuild-0.21.0",
url = "https://github.com/aspect-build/rules_esbuild/releases/download/v0.21.0/rules_esbuild-v0.21.0.tar.gz",
)

load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependencies")

rules_esbuild_dependencies()

load("@aspect_rules_esbuild//esbuild:repositories.bzl", "LATEST_ESBUILD_VERSION", "esbuild_register_toolchains")

esbuild_register_toolchains(
name = "esbuild",
esbuild_version = LATEST_ESBUILD_VERSION,
)
2 changes: 1 addition & 1 deletion bazel/karma/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])

exports_files(["karma-debug-config.js"])
exports_files(["karma-debug-config.cjs"])

# Make source files available for distribution via pkg_npm
filegroup(
Expand Down
4 changes: 2 additions & 2 deletions bazel/karma/index.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _karma_debug_browsers_target(name, **web_test_args):
# that is manually connected to.
_karma_web_test(
name = "%s_bin" % name,
config_file = "//bazel/karma:karma-debug-config.js",
config_file = "@devinfra//bazel/karma:karma-debug-config.cjs",
tags = ["manual"],
**web_test_args
)
Expand All @@ -24,7 +24,7 @@ def _karma_debug_browsers_target(name, **web_test_args):
native.sh_test(
name = name,
srcs = ["%s_bin" % name],
tags = ["manual", "local", "ibazel_notify_changes"],
tags = ["manual", "requires-network", "ibazel_notify_changes"],
testonly = True,
)

Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions bazel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"dependencies": {
"@microsoft/api-extractor": "7.52.2",
"typescript": "5.8.2",
"@types/node": "22.13.14",
"esbuild": "0.25.2"
"@types/node": "22.13.14"
},
"pnpm": {
"onlyBuiltDependencies": []
Expand Down
Loading