Skip to content

Commit 9b307de

Browse files
authored
Add gonzojive_protobuf_javascript module. (#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).
1 parent 78f6857 commit 9b307de

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module(
2+
name = "gonzojive_protobuf_javascript",
3+
version = "3.21.5.esm",
4+
compatibility_level = 3,
5+
)
6+
7+
bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
8+
bazel_dep(name = "abseil-cpp", version = "20211102.0")
9+
bazel_dep(name = "rules_pkg", version = "0.7.0")
10+
11+
# For VS Code autocompletion:
12+
# https://github.com/hedronvision/bazel-compile-commands-extractor#usage
13+
#
14+
# Run bazel run @hedron_compile_commands//:refresh_all to get autocomplete
15+
# working in VS Code and other editors.
16+
# Not currently working due to https://github.com/hedronvision/bazel-compile-commands-extractor/issues/199
17+
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
18+
git_override(
19+
module_name = "hedron_compile_commands",
20+
commit = "0e990032f3c5a866e72615cf67e5ce22186dcb97",
21+
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
22+
# Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
23+
# Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
24+
)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
matrix:
2+
platform:
3+
- ubuntu2004
4+
- macos
5+
- macos_arm64
6+
- windows
7+
bazel:
8+
- 7.x
9+
- 6.x
10+
tasks:
11+
verify_targets:
12+
name: Verify build targets
13+
platform: ${{ platform }}
14+
bazel: ${{ bazel }}
15+
build_flags:
16+
- '--host_cxxopt=-std=c++14'
17+
- '--cxxopt=-std=c++14'
18+
build_targets:
19+
- '@gonzojive_protobuf_javascript//generator:protoc-gen-js'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"url": "https://github.com/gonzojive/protobuf-javascript/releases/download/3.21.5.esm/protobuf-javascript-3.21.5.esm.zip",
3+
"integrity": "sha256-1t90ZutCUzvd6CLzC/ZEezEHTngUuETff6a+3/zSRwU=",
4+
"strip_prefix": "protobuf-javascript-3.21.5.esm",
5+
"patch_strip": 0
6+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"homepage": "https://github.com/gonzojive/protobuf-javascript",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "gonzojive",
7+
"name": "Red Daly"
8+
}
9+
],
10+
"repository": [
11+
"github:gonzojive/protobuf-javascript"
12+
],
13+
"versions": [
14+
"3.21.5.esm"
15+
],
16+
"yanked_versions": {}
17+
}

0 commit comments

Comments
 (0)