"protoc-gen-grpc npm" Code Answer's
You're definitely familiar with the best coding language Shell/Bash that developers use to develop their projects and they get all their queries like "protoc-gen-grpc npm" answered properly. Developers are finding an appropriate answer about protoc-gen-grpc npm related to the Shell/Bash coding language. By visiting this online portal developers get answers concerning Shell/Bash codes question like protoc-gen-grpc npm. Enter your desired code related query in the search bar and get every piece of information about Shell/Bash code related question on protoc-gen-grpc npm.
protoc-gen-grpc npm
# #!/bin/bash
PROTO_DIR="./proto"
PROTO_GEN_GRPC="protoc-gen-grpc"
PROTOC_GEN_GRPC_TS="protoc-gen-grpc-ts"
# generate js codes
${PROTO_GEN_GRPC} \
--js_out=import_style=commonjs,binary:${PROTO_DIR} \
--grpc_out=${PROTO_DIR} \
--proto_path ${PROTO_DIR} \
${PROTO_DIR}/*.proto
# generate d.ts codes
${PROTOC_GEN_GRPC_TS} \
--ts_out=service=true:${PROTO_DIR} \
--proto_path ${PROTO_DIR} \
${PROTO_DIR}/*.proto
protoc-gen-grpc npm
## Makefile Script
PROTO_DIR := ./proto
PROTO_GEN_GRPC := protoc-gen-grpc
PROTOC_GEN_GRPC_TS := protoc-gen-grpc-ts
protogen: cleanup.o generate.o
cleanup.o:
rm ${PROTO_DIR}/*.{ts,js}
generate.o:
# generate js codes
${PROTO_GEN_GRPC} \
--js_out=import_style=commonjs,binary:${PROTO_DIR} \
--grpc_out=${PROTO_DIR} \
--proto_path ${PROTO_DIR} \
${PROTO_DIR}/*.proto
# generate d.ts codes
${PROTOC_GEN_GRPC_TS} \
--ts_out=service=true:${PROTO_DIR} \
--proto_path ${PROTO_DIR} \
${PROTO_DIR}/*.proto
All those coders who are working on the Shell/Bash based application and are stuck on protoc-gen-grpc npm can get a collection of related answers to their query. Programmers need to enter their query on protoc-gen-grpc npm related to Shell/Bash code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about protoc-gen-grpc npm for the programmers working on Shell/Bash code while coding their module. Coders are also allowed to rectify already present answers of protoc-gen-grpc npm while working on the Shell/Bash language code. Developers can add up suggestions if they deem fit any other answer relating to "protoc-gen-grpc npm". Visit this developer's friendly online web community, CodeProZone, and get your queries like protoc-gen-grpc npm resolved professionally and stay updated to the latest Shell/Bash updates.