How to buf push this library? #1191
-
I had some custom config with this plugin - yeah, fork this one! But currently, don't know how to I updated + built the code, and generated the new integrations. Created a
But when run
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @harrytran998 ! Custom config/forking is exactly the sort of thing ts-proto is meant to be used for. :-) In terms of But otherwise I'd have to defer to @timostamm ; sorry Timo is I'm cc-ing you on some should-have-been-obvious issue. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey Harry, The plugins available on the public BSR are maintained by Buf, in this repository: https://github.com/bufbuild/plugins. You can request for a plugin to be added, but widely adopted plugins are more likely to be accepted. That said, you definitely don't have to go through the BSR if you don't need BSR features. Here is an example for generating with a local, modified copy of ts-proto: version: v2
inputs:
# Just as an example, could also be `- directory: ./proto`
- module: buf.build/connectrpc/eliza
plugins:
- local: ["tsx", "./ts-proto/src/plugin.ts"]
out: src/gen
|
Beta Was this translation helpful? Give feedback.
Hey Harry,
buf push
pushes Protobuf files to the schema registry. Anyone could push custom plugins to the BSR in the past, but the policy has changed for security reasons. Only private schema registry instances accept custom plugin pushes now, which is a paid feature, unfortunately.The plugins available on the public BSR are maintained by Buf, in this repository: https://github.com/bufbuild/plugins. You can request for a plugin to be added, but widely adopted plugins are more likely to be accepted.
That said, you definitely don't have to go through the BSR if you don't need BSR features. Here is an example for generating with a local, modified copy of ts-proto: