-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update buf CLI and make use of the clean option (#1187)
- Loading branch information
Showing
11 changed files
with
71 additions
and
60 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
version: v1 | ||
# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml | ||
version: v2 | ||
# Deletes the directories specified in the `out` field for all plugins before running code generation. | ||
clean: true | ||
plugins: | ||
- plugin: es | ||
- local: protoc-gen-es | ||
out: src/gen | ||
opt: ts_nocheck=false,target=ts | ||
- plugin: connect-es | ||
- local: protoc-gen-connect-es | ||
out: src/gen | ||
opt: ts_nocheck=false,target=ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
version: v1 | ||
# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml | ||
version: v2 | ||
# Deletes the directories specified in the `out` field for all plugins before running code generation. | ||
clean: true | ||
plugins: | ||
- name: es | ||
- local: protoc-gen-es | ||
out: browserstack/gen | ||
opt: target=ts | ||
- name: connect-es | ||
- local: protoc-gen-connect-es | ||
out: browserstack/gen | ||
opt: target=ts | ||
|
||
inputs: | ||
- module: buf.build/connectrpc/eliza |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# buf.gen.yaml defines a local generation template. | ||
# For details, see https://docs.buf.build/configuration/v1/buf-gen-yaml | ||
version: v1 | ||
# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml | ||
version: v2 | ||
# Deletes the directories specified in the `out` field for all plugins before running code generation. | ||
clean: true | ||
plugins: | ||
- plugin: es | ||
- local: protoc-gen-es | ||
out: src/protocol-grpc/gen | ||
opt: target=ts | ||
inputs: | ||
- directory: src/protocol-grpc/proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# buf.gen.yaml defines a local generation template. | ||
# For details, see https://docs.buf.build/configuration/v1/buf-gen-yaml | ||
version: v1 | ||
# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml | ||
version: v2 | ||
# Deletes the directories specified in the `out` field for all plugins before running code generation. | ||
clean: true | ||
plugins: | ||
- plugin: es | ||
- local: protoc-gen-es | ||
opt: target=ts | ||
out: src/gen | ||
- plugin: connect-es | ||
- local: protoc-gen-connect-es | ||
opt: target=ts | ||
out: src/gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters