ipfs / protons

Protocol Buffers for Node.js and the browser without eval
Other
32 stars 23 forks source link

Support using as a protoc plugin #38

Open paralin opened 2 years ago

paralin commented 2 years ago

ts-proto has the nice feature that it supports being called as a protoc plugin:

        --plugin=./node_modules/.bin/protoc-gen-ts-proto \
        --ts-proto_out=$$(pwd)/vendor \
        --ts-proto_opt=forceLong=long \
        --ts-proto_opt=oneof=unions

... supporting protoc-gen-ts-protons would also be good.