forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gonzojive_protobuf_javascript module. (bazelbuild#2853)
Checked with `python3 tools/bcr_validation.py --check=protobuf_javascript_esm`. The module in question is my fork of the protobuf-javascript repo. The changes in the fork are unlikely to be accepted upstream (see protocolbuffers/protobuf-javascript#156).
- Loading branch information
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
modules/gonzojive_protobuf_javascript/3.21.5.esm/MODULE.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module( | ||
name = "gonzojive_protobuf_javascript", | ||
version = "3.21.5.esm", | ||
compatibility_level = 3, | ||
) | ||
|
||
bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf") | ||
bazel_dep(name = "abseil-cpp", version = "20211102.0") | ||
bazel_dep(name = "rules_pkg", version = "0.7.0") | ||
|
||
# For VS Code autocompletion: | ||
# https://github.com/hedronvision/bazel-compile-commands-extractor#usage | ||
# | ||
# Run bazel run @hedron_compile_commands//:refresh_all to get autocomplete | ||
# working in VS Code and other editors. | ||
# Not currently working due to https://github.com/hedronvision/bazel-compile-commands-extractor/issues/199 | ||
bazel_dep(name = "hedron_compile_commands", dev_dependency = True) | ||
git_override( | ||
module_name = "hedron_compile_commands", | ||
commit = "0e990032f3c5a866e72615cf67e5ce22186dcb97", | ||
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", | ||
# Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main). | ||
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README). | ||
) |
19 changes: 19 additions & 0 deletions
19
modules/gonzojive_protobuf_javascript/3.21.5.esm/presubmit.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
matrix: | ||
platform: | ||
- ubuntu2004 | ||
- macos | ||
- macos_arm64 | ||
- windows | ||
bazel: | ||
- 7.x | ||
- 6.x | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_flags: | ||
- '--host_cxxopt=-std=c++14' | ||
- '--cxxopt=-std=c++14' | ||
build_targets: | ||
- '@gonzojive_protobuf_javascript//generator:protoc-gen-js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"url": "https://github.com/gonzojive/protobuf-javascript/releases/download/3.21.5.esm/protobuf-javascript-3.21.5.esm.zip", | ||
"integrity": "sha256-1t90ZutCUzvd6CLzC/ZEezEHTngUuETff6a+3/zSRwU=", | ||
"strip_prefix": "protobuf-javascript-3.21.5.esm", | ||
"patch_strip": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"homepage": "https://github.com/gonzojive/protobuf-javascript", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"github": "gonzojive", | ||
"name": "Red Daly" | ||
} | ||
], | ||
"repository": [ | ||
"github:gonzojive/protobuf-javascript" | ||
], | ||
"versions": [ | ||
"3.21.5.esm" | ||
], | ||
"yanked_versions": {} | ||
} |