Skip to content

Commit

Permalink
bzlmod support (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzojive authored Aug 3, 2024
1 parent 7f11c3e commit 54910de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
# https://github.com/protocolbuffers/protobuf/issues/14313
common --noenable_bzlmod
4 changes: 4 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module(name = "protobuf_javascript_gonzojive", version = "3.21.5")

bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_pkg", version = "0.7.0")
2 changes: 2 additions & 0 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# When Bzlmod is enabled, this file replaces the content of the original WORKSPACE and
# makes sure no WORKSPACE prefix or suffix are added when Bzlmod is enabled.

0 comments on commit 54910de

Please sign in to comment.