Skip to content

Commit 2261eff

Browse files
committed
Sync from Piper @444600173
PROTOBUF_SYNC_PIPER
1 parent a4fd6e9 commit 2261eff

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

BUILD

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Protobuf JS runtime
2+
#
3+
# See also code generation logic under /src/google/protobuf/compiler/js.
4+
5+
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
6+
7+
pkg_files(
8+
name = "dist_files",
9+
srcs = glob([
10+
"*.js",
11+
"*.json",
12+
"*.proto",
13+
"binary/*.js",
14+
"commonjs/*.js*", # js, json
15+
"commonjs/**/*.proto",
16+
"compatibility_tests/v3.0.0/**/*.js*",
17+
"compatibility_tests/v3.0.0/**/*.proto",
18+
"compatibility_tests/v3.0.0/**/*.sh",
19+
"compatibility_tests/v3.1.0/**/*.js*",
20+
"compatibility_tests/v3.1.0/**/*.proto",
21+
"experimental/benchmarks/**/*.js",
22+
"experimental/runtime/**/*.js",
23+
]) + [
24+
"BUILD",
25+
"README.md",
26+
],
27+
strip_prefix = strip_prefix.from_root(""),
28+
visibility = ["//pkg:__pkg__"],
29+
)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-protobuf",
3-
"version": "3.20.1-rc.1",
3+
"version": "3.20.1",
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [

0 commit comments

Comments
 (0)