Skip to content

Commit 28ca870

Browse files
committed
update buf configs
1 parent 91f2da4 commit 28ca870

File tree

4 files changed

+31
-32
lines changed

4 files changed

+31
-32
lines changed

buf.gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55

66
plugins:
77
- remote: buf.build/protocolbuffers/go
8-
out: proto
8+
out: gentest
99
opt: paths=source_relative
1010

1111
- remote: buf.build/grpc/go

buf.lock

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Generated by buf. DO NOT EDIT.
2+
version: v2
3+
deps:
4+
- name: buf.build/bufbuild/protovalidate
5+
commit: d39267d9df8f4053bbac6b956a23169f
6+
digest: b5:c2542c2e9935dd9a7f12ef79f76aa5b53cf1c8312d720da54e03953f27ad952e2b439cbced06e3b4069e466bd9b64019cf9f687243ad51aa5dc2b5f364fac71e
7+
- name: buf.build/googleapis/googleapis
8+
commit: 546238c53f7340c6a2a6099fb863bc1b
9+
digest: b5:e017bbf31a3f912e2b969c03c3aa711f466cfe104f510865d1a8ede1be490240aabd4cca5865459a0f15222747284395f98afc094b0fd086e8917a5a7bdd9db0
10+
- name: buf.build/grpc-ecosystem/grpc-gateway
11+
commit: 4c5ba75caaf84e928b7137ae5c18c26a
12+
digest: b5:c113e62fb3b29289af785866cae062b55ec8ae19ab3f08f3004098928fbca657730a06810b2012951294326b95669547194fa84476b9e9b688d4f8bf77a0691d

proto/buf.yaml buf.yaml

+18-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1-
version: v1
2-
name: buf.build/ory/keto
3-
build:
4-
excludes:
5-
- node_modules
1+
version: v2
2+
modules:
3+
- path: proto
4+
name: buf.build/ory/keto
5+
excludes:
6+
- proto/node_modules
7+
deps:
8+
- buf.build/bufbuild/protovalidate
9+
- buf.build/googleapis/googleapis
10+
- buf.build/grpc-ecosystem/grpc-gateway
611
lint:
712
use:
8-
- DEFAULT
13+
- STANDARD
914
except:
10-
# We need to relax the enum lints because we want to maintain compatibility with
11-
# the plain enum values used in the REST API.
1215
- ENUM_NO_ALLOW_ALIAS
13-
- ENUM_VALUE_UPPER_SNAKE_CASE
1416
- ENUM_VALUE_PREFIX
17+
- ENUM_VALUE_UPPER_SNAKE_CASE
1518
- ENUM_ZERO_VALUE_SUFFIX
19+
- FIELD_NOT_REQUIRED
20+
- PACKAGE_NO_IMPORT_CYCLE
21+
disallow_comment_ignores: true
1622
breaking:
1723
use:
1824
- FILE
19-
deps:
20-
- buf.build/googleapis/googleapis
21-
- buf.build/grpc-ecosystem/grpc-gateway
22-
- buf.build/bufbuild/protovalidate
25+
except:
26+
- EXTENSION_NO_DELETE
27+
- FIELD_SAME_DEFAULT

proto/buf.lock

-18
This file was deleted.

0 commit comments

Comments
 (0)