Skip to content

Commit 8b5d128

Browse files
build: compile protos before running tsc (#409)
This is required for all libraries, otherwise proto updates will cause synthesis failure (like in #406). Some libraries already have this, some don't; I'll take care of this.
1 parent 3241e28 commit 8b5d128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-cloud-redis/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"compile": "tsc -p . && cp -r protos build/",
3838
"compile-protos": "compileProtos src",
3939
"predocs-test": "npm run docs",
40-
"prepare": "npm run compile",
40+
"prepare": "npm run compile-protos && npm run compile",
4141
"pretest": "npm run compile",
4242
"prelint": "cd samples; npm link ../; npm install",
4343
"clean": "gts clean",

0 commit comments

Comments
 (0)