Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Buf plugin #569

Closed
Jake-RoundrockIO opened this issue May 20, 2022 · 3 comments
Closed

Official Buf plugin #569

Jake-RoundrockIO opened this issue May 20, 2022 · 3 comments

Comments

@Jake-RoundrockIO
Copy link
Collaborator

It would be awesome if you could also publish an official Buf registry plugin for users that utilize Buf's remote plugin and generation options with ts-proto.

Here's a Dockerfile that could potentially be used:

FROM node:16-alpine as builder

RUN npm install -g ts-proto

ENTRYPOINT ["protoc-gen-ts_proto"]
@stephenh
Copy link
Owner

@Jake-RoundrockIO that sounds great; my disclaimer is that I'm not personally a Buf user, and also anymore I heavily lean on ts-proto users/contributors themselves to scratch their own itches.

If you'd like to put a PR together that does this, that'd be amazing!

@Jake-RoundrockIO
Copy link
Collaborator Author

I'll look into it!

@Jake-RoundrockIO
Copy link
Collaborator Author

Bear with me as I'm for more used to GitLab CI/CD rather than GitHub Actions.

So I've created another job in the .github/workflows/build.yml file to build the Buf Plugin and push it to the Buf Registry. One question I have is how would I determine the current release version? Do you do that entirely through tags or does the yarn semantic-release command completely handle that? Any advice would be appreciated so I can correctly tag the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants