Skip to content

Commit

Permalink
chore(deps): bump @bufbuild/buf from 1.27.0 to 1.34.0 (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 authored Jul 21, 2024
1 parent 4556e71 commit b76b8a9
Show file tree
Hide file tree
Showing 122 changed files with 768 additions and 312 deletions.
26 changes: 17 additions & 9 deletions buf.gen.e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,51 @@
version: v1
managed:
enabled: true
version: v2
plugins:
- plugin: buf.build/protocolbuffers/js:v3.21.2
- remote: buf.build/protocolbuffers/js:v3.21.2
opt:
- import_style=commonjs
- binary
out: ./e2e/testapis/google-protobuf/lib
- plugin: ts
include_imports: true
- local: protoc-gen-ts
include_imports: true
out: ./e2e/testapis/google-protobuf/lib
- plugin: ts_proto
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=string
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto/src
strategy: all
- plugin: ts_proto
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=long
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto-with-forcelong-long/src
strategy: all
- plugin: ts_proto
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=number
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto-with-forcelong-number/src
strategy: all
- plugin: es
- local: protoc-gen-es
opt:
- target=ts
out: ./e2e/testapis/protobuf-es/src
strategy: all
inputs:
- directory: ./devPackages/testapis-proto/proto
9 changes: 5 additions & 4 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: v1
version: v2
plugins:
- plugin: es
- local: protoc-gen-es
out: ./packages/@proto-graphql/codegen-core/src/__generated__/extensions
opt:
- target=ts
opt: target=ts
inputs:
- directory: ./proto-graphql/proto
2 changes: 2 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Generated by buf. DO NOT EDIT.
version: v2
4 changes: 0 additions & 4 deletions buf.work.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: v2
modules:
- path: ./devPackages/testapis-proto/proto
- path: ./proto-graphql/proto
7 changes: 0 additions & 7 deletions devPackages/testapis-proto/proto/buf.lock

This file was deleted.

9 changes: 0 additions & 9 deletions devPackages/testapis-proto/proto/buf.yaml

This file was deleted.

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions e2e/tests/nexus--deprecation--google-protobuf/buf.gen.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": ["import_prefix=@proto-graphql/e2e-testapis-google-protobuf/lib/"]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/deprecation"
]
}
]
}
2 changes: 1 addition & 1 deletion e2e/tests/nexus--deprecation--google-protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/deprecation ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
13 changes: 10 additions & 3 deletions e2e/tests/nexus--deprecation--protobufjs/buf.gen.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": [
"use_protobufjs",
"import_prefix=@proto-graphql/e2e-testapis-protobufjs/lib/"
]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/deprecation"
]
}
]
}
2 changes: 1 addition & 1 deletion e2e/tests/nexus--deprecation--protobufjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/deprecation ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": ["import_prefix=@proto-graphql/e2e-testapis-google-protobuf/lib/"]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/edgecases/import_from_same_pkg"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/edgecases/import_from_same_pkg ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": [
"use_protobufjs",
"import_prefix=@proto-graphql/e2e-testapis-protobufjs/lib/"
]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/edgecases/import_from_same_pkg"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/edgecases/import_from_same_pkg ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": ["import_prefix=@proto-graphql/e2e-testapis-google-protobuf/lib/"]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/edgecases/import_squashed_union"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/edgecases/import_squashed_union ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": [
"use_protobufjs",
"import_prefix=@proto-graphql/e2e-testapis-protobufjs/lib/"
]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/edgecases/import_squashed_union"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/edgecases/import_squashed_union ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
13 changes: 10 additions & 3 deletions e2e/tests/nexus--empty_types--google-protobuf/buf.gen.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": ["import_prefix=@proto-graphql/e2e-testapis-google-protobuf/lib/"]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/empty_types"
]
}
]
}
2 changes: 1 addition & 1 deletion e2e/tests/nexus--empty_types--google-protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/empty_types ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
13 changes: 10 additions & 3 deletions e2e/tests/nexus--empty_types--protobufjs/buf.gen.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": [
"use_protobufjs",
"import_prefix=@proto-graphql/e2e-testapis-protobufjs/lib/"
]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": [
"../../../devPackages/testapis-proto/proto/testapis/empty_types"
]
}
]
}
2 changes: 1 addition & 1 deletion e2e/tests/nexus--empty_types--protobufjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/empty_types ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
11 changes: 8 additions & 3 deletions e2e/tests/nexus--enums--google-protobuf/buf.gen.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"version": "v1",
"version": "v2",
"plugins": [
{
"name": "nexus",
"path": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"local": "../../../packages/protoc-gen-nexus/bin/protoc-gen-nexus",
"out": "__generated__/schema",
"opt": ["import_prefix=@proto-graphql/e2e-testapis-google-protobuf/lib/"]
}
],
"inputs": [
{
"directory": "../../../devPackages/testapis-proto/proto",
"paths": ["../../../devPackages/testapis-proto/proto/testapis/enums"]
}
]
}
2 changes: 1 addition & 1 deletion e2e/tests/nexus--enums--google-protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test:e2e": "pnpm run test:e2e:gen && pnpm run test:e2e:vitest && pnpm run test:e2e:schema && pnpm run test:e2e:typecheck",
"test:e2e:gen": "rm -rf __generated__ && pnpm run test:e2e:gen:proto && pnpm run test:e2e:gen:gql",
"test:e2e:gen:gql": "tsx schema.ts",
"test:e2e:gen:proto": "buf generate --template buf.gen.json --path ../../../devPackages/testapis-proto/proto/testapis/enums ../../../devPackages/testapis-proto/proto",
"test:e2e:gen:proto": "buf generate --template buf.gen.json",
"test:e2e:vitest": "vitest run --passWithNoTests --config ../../vitest.config.ts",
"test:e2e:schema": "git diff --exit-code __generated__/schema.graphql",
"test:e2e:typecheck": "tsc --build tsconfig.json"
Expand Down
Loading

0 comments on commit b76b8a9

Please sign in to comment.