File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 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+ )
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments