diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 0000000..c8c6018 --- /dev/null +++ b/.bazelrc @@ -0,0 +1,3 @@ +# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel +# https://github.com/protocolbuffers/protobuf/issues/14313 +common --noenable_bzlmod diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..5ab7967 --- /dev/null +++ b/MODULE.bazel @@ -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") diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod new file mode 100644 index 0000000..b31eece --- /dev/null +++ b/WORKSPACE.bzlmod @@ -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. \ No newline at end of file