You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add typescript support for node via the protoc-gen-ts plugin.
I'm happy to take this on as a PR.
Potential Changes to Dockerfile
RUN set -ex && apk --update --no-cache add \
...
nodejs \
nodejs-npm \
&& npm i -g ts-protoc-gen
ENV PROTOC_GEN_TS_PATH /usr/local/lib/node_modules/protoc-gen-ts
Potential Changes to all/Entrypoint.sh
case $GEN_LANG in
...
"node(-ts)*") ...
...
esac
....
if [[ $GEN_LANG == "node-ts" ]]; then
protoc \
--plugin="protoc-gen-ts=${PROTOC_GEN_TS_PATH}" \
--ts_out=$OUT_DIR \
${PROTO_FILES[@]}
fi
The text was updated successfully, but these errors were encountered:
It would be nice to add typescript support for node via the protoc-gen-ts plugin.
I'm happy to take this on as a PR.
Potential Changes to Dockerfile
Potential Changes to all/Entrypoint.sh
The text was updated successfully, but these errors were encountered: