Skip to content

Commit

Permalink
migrate v2 config
Browse files Browse the repository at this point in the history
Signed-off-by: utamori <[email protected]>
  • Loading branch information
utamori committed Aug 7, 2024
1 parent 9f0587c commit f70540b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
11 changes: 6 additions & 5 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
version: v1
version: v2
managed:
enabled: true
go_package_prefix:
default: connect-examples-go/internal/gen
override:
- file_option: go_package_prefix
value: connect-examples-go/internal/gen
plugins:
- name: go
- local: protoc-gen-go
out: internal/gen
opt: paths=source_relative
- name: connect-go
- local: protoc-gen-connect-go
out: internal/gen
opt: paths=source_relative
3 changes: 0 additions & 3 deletions buf.work.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: v2
modules:
- path: proto
name: buf.build/connectrpc/eliza
lint:
use:
- DEFAULT
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
disallow_comment_ignores: true
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT
8 changes: 0 additions & 8 deletions proto/buf.yaml

This file was deleted.

0 comments on commit f70540b

Please sign in to comment.