Skip to content

Commit 24df9a0

Browse files
committed
grpc-js: Publish missing channelz proto and type files
1 parent d1aac29 commit 24df9a0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/grpc-js/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "gRPC Library for Node - pure JS implementation",
55
"homepage": "https://grpc.io/",
66
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
@@ -48,11 +48,11 @@
4848
"compile": "tsc -p .",
4949
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
5050
"lint": "npm run check",
51-
"prepare": "npm run compile",
51+
"prepare": "npm run generate-types && npm run compile",
5252
"test": "gulp test",
5353
"check": "gts check src/**/*.ts",
5454
"fix": "gts fix src/*.ts",
55-
"pretest": "npm run compile",
55+
"pretest": "npm run generate-types && npm run compile",
5656
"posttest": "npm run check && madge -c ./build/src",
5757
"generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ -O src/generated/ --grpcLib ../index channelz.proto"
5858
},
@@ -62,7 +62,8 @@
6262
},
6363
"files": [
6464
"src/**/*.ts",
65-
"build/src/*.{js,d.ts,js.map}",
65+
"build/src/**/*.{js,d.ts,js.map}",
66+
"proto/*.proto",
6667
"LICENSE",
6768
"deps/envoy-api/envoy/api/v2/**/*.proto",
6869
"deps/envoy-api/envoy/config/**/*.proto",

0 commit comments

Comments
 (0)