diff --git a/build_proto.sh b/build_proto.sh index 632c5d4..07a1751 100755 --- a/build_proto.sh +++ b/build_proto.sh @@ -3,8 +3,8 @@ cd "$(dirname "$0")" mkdir -p build printf "Building all message modules..." -../node_modules/protobufjs/bin/pbjs -p shared -p control -p request -p stream -t static-module -o build/index.js --wrap es6 shared/*.proto control/*.proto request/*.proto stream/*.proto -../node_modules/protobufjs/bin/pbts -o build/index.d.ts build/index.js +../node_modules/protobufjs-cli/bin/pbjs -p shared -p control -p request -p stream -t static-module -o build/index.js --wrap es6 shared/*.proto control/*.proto request/*.proto stream/*.proto +../node_modules/protobufjs-cli/bin/pbts -o build/index.d.ts build/index.js printf "...done\n" #printf "Building Request message module..."