This repository was archived by the owner on Mar 4, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080PBJS_ARGS=( --proto_path=. \
8181 --js_out=import_style=commonjs,binary:library \
8282 --target=static-module \
83+ --path=" $( npm root) /protobufjs" \
8384 --no-create \
8485 --no-encode \
8586 --no-decode \
@@ -117,19 +118,22 @@ perl -pi -e 's/number\|Long/number\|string/g' firestore_v1beta1_proto_api.js
117118
118119" ${PBJS} " --proto_path=. --target=json -o v1.json \
119120 -r firestore_v1 \
121+ --path=" $( npm root) /protobufjs" \
120122 " ${PROTOS_DIR} /google/firestore/v1/*.proto" \
121123 " ${PROTOS_DIR} /google/protobuf/*.proto" " ${PROTOS_DIR} /google/type/*.proto" \
122124 " ${PROTOS_DIR} /google/rpc/*.proto" " ${PROTOS_DIR} /google/api/*.proto"
123125
124126" ${PBJS} " --proto_path=. --target=json -o v1_admin.json \
125127 -r firestore_admin_v1 \
128+ --path=" $( npm root) /protobufjs" \
126129 " ${PROTOS_DIR} /google/firestore/admin/v1/*.proto" \
127130 " ${PROTOS_DIR} /google/protobuf/*.proto" " ${PROTOS_DIR} /google/type/*.proto" \
128131 " ${PROTOS_DIR} /google/rpc/*.proto" " ${PROTOS_DIR} /google/api/*.proto" \
129132 " ${PROTOS_DIR} /google/longrunning/*.proto"
130133
131134" ${PBJS} " --proto_path=. --target=json -o v1beta1.json \
132135 -r firestore_v1beta1 \
136+ --path=" $( npm root) /protobufjs" \
133137 " ${PROTOS_DIR} /google/firestore/v1beta1/*.proto" \
134138 " ${PROTOS_DIR} /google/protobuf/*.proto" " ${PROTOS_DIR} /google/type/*.proto" \
135139 " ${PROTOS_DIR} /google/rpc/*.proto" " ${PROTOS_DIR} /google/api/*.proto"
You can’t perform that action at this time.
0 commit comments