Skip to content

Commit 954dbce

Browse files
committed
Add MODULE.bazel and supporting files
1 parent 33c59bc commit 954dbce

File tree

6 files changed

+1695
-0
lines changed

6 files changed

+1695
-0
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build --java_language_version=21
2+
build --java_runtime_version=21
3+
build --tool_java_language_version=21
4+
build --tool_java_runtime_version=21

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.4.1

BUILD.bazel

Whitespace-only changes.

MODULE.bazel

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module(
2+
name = "build_stack_ui_js",
3+
version = "0.0.0",
4+
compatibility_level = 1,
5+
)
6+
7+
# -------------------------------------------------------------------
8+
# Bazel Dependencies
9+
# -------------------------------------------------------------------
10+
11+
bazel_dep(name = "io_bazel_rules_closure", version = "1.0.0")
12+
13+
# -------------------------------------------------------------------
14+
# Dev Dependencies
15+
# -------------------------------------------------------------------
16+
17+
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2", dev_dependency = True)
18+
19+
# -------------------------------------------------------------------
20+
# Overrides
21+
# -------------------------------------------------------------------
22+
23+
local_path_override(
24+
module_name = "io_bazel_rules_closure",
25+
path = "/Users/pcj/go/src/github.com/bazelbuild/rules_closure",
26+
)
27+
28+
# NOTE: cannot upgrade past protobuf editions...
29+
#
30+
# Commit: 263ee701cba6b75e1f8eddad5adcdf74718318b1
31+
# Date: 2025-10-08 21:32:22 +0000 UTC
32+
# URL: https://github.com/protocolbuffers/protobuf-javascript/commit/263ee701cba6b75e1f8eddad5adcdf74718318b1
33+
#
34+
# remove writeZigzagVarint64BigInt
35+
# Size: 401599 (402 kB)
36+
archive_override(
37+
module_name = "protobuf_javascript",
38+
sha256 = "8a50071fbca5e4a26361e6c9d81dd842207f0005f7cc1720226f20c25a231805",
39+
strip_prefix = "protobuf-javascript-263ee701cba6b75e1f8eddad5adcdf74718318b1",
40+
urls = ["https://github.com/protocolbuffers/protobuf-javascript/archive/263ee701cba6b75e1f8eddad5adcdf74718318b1.tar.gz"],
41+
patches = [":protobuf_javascript.patch"],
42+
patch_strip = 1,
43+
)
44+
45+
# Commit: 04fc63fb40bf30d2e5e0b3786028eb41218de979
46+
# Date: 2025-10-09 04:43:15 +0000 UTC
47+
# URL: https://github.com/stackb/rules_proto/commit/04fc63fb40bf30d2e5e0b3786028eb41218de979
48+
#
49+
# Remove lock file for @maven
50+
#
51+
# It is shared by multiple workspaces and seems to cause problems when locked
52+
# Size: 4088796 (4.1 MB)
53+
archive_override(
54+
module_name = "build_stack_rules_proto",
55+
sha256 = "aff21579deef91316c726582bec71c621dde2ae2ec74099a55b637bda8997333",
56+
strip_prefix = "rules_proto-04fc63fb40bf30d2e5e0b3786028eb41218de979",
57+
urls = ["https://github.com/stackb/rules_proto/archive/04fc63fb40bf30d2e5e0b3786028eb41218de979.tar.gz"],
58+
)
59+
60+
# google_bazel_common override is needed for @closure-compiler
61+
git_override(
62+
module_name = "google_bazel_common",
63+
# Pin to newer version to fix b/408030907
64+
commit = "2cab52929507935aa43d460a3976d3bedc814d3a",
65+
remote = "https://github.com/google/bazel-common",
66+
)

0 commit comments

Comments
 (0)