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

upgrade to @bufbuild v2 #297

Merged
merged 4 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 11 additions & 17 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
version: v1
version: v2
clean: true
plugins:
- plugin: go
- local: protoc-gen-go
out: gen/sdp-go
opt:
- paths=source_relative
- plugin: connect-go
opt: paths=source_relative
- local: protoc-gen-connect-go
out: gen/sdp-go
opt:
- paths=source_relative
- plugin: es
opt: paths=source_relative
- local: protoc-gen-es
out: gen/sdp-js/src/__generated__/
opt:
- target=ts,import_extension=.ts
- plugin: connect-es
opt: target=ts
include_imports: true
- local: protoc-gen-connect-query
out: gen/sdp-js/src/__generated__/
opt:
- target=ts,import_extension=.ts
- plugin: connect-query
out: gen/sdp-js/src/__generated__/
opt:
- target=ts,import_extension=.ts
opt: target=ts
15 changes: 11 additions & 4 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
version: v1
version: v2
name: github.com/overmindtech/sdp
lint:
use:
- STANDARD
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
disallow_comment_ignores: true
breaking:
use:
- FILE
lint:
use:
- DEFAULT
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
1 change: 0 additions & 1 deletion gen/sdp-go

This file was deleted.

Loading
Loading