Skip to content

Commit

Permalink
fix(instrumentation-grpc): update buf and add ts_nocheck option
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Jun 13, 2023
1 parent c159af0 commit 4b681f4
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
"prewatch": "node ../../../scripts/version-update.js",
"peer-api-check": "node ../../../scripts/peer-api-check.js",
"protos:generate": "cd test/ && buf generate --template fixtures/buf.gen.ts.yaml"
"protos:generate": "cd test/fixtures && buf generate"
},
"keywords": [
"opentelemetry",
Expand All @@ -46,10 +46,11 @@
"access": "public"
},
"devDependencies": {
"@bufbuild/buf": "^1.15.0-1",
"@bufbuild/buf": "1.21.0-1",
"@protobuf-ts/grpc-transport": "2.9.0",
"@protobuf-ts/runtime-rpc": "2.9.0",
"@protobuf-ts/runtime": "2.9.0",
"@protobuf-ts/plugin": "2.9.0",
"@grpc/grpc-js": "^1.7.1",
"@grpc/proto-loader": "^0.7.3",
"@opentelemetry/api": "1.4.1",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
version: v1
deps:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
breaking:
use:
- FILE
lint:
use:
- DEFAULT
ignore:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- name: ts
out: ../../test/proto/ts/fixtures
opt:
- long_type_string
- generate_dependencies
- ts_nocheck
path: ../../node_modules/.bin/protoc-gen-ts
strategy: all

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: cc916c31859748a68fd229a3c8d7a2e8
digest: shake256:469b049d0eb04203d5272062636c078decefc96fec69739159c25d85349c50c34c7706918a8b216c5c27f76939df48452148cff8c5c3ae77fa6ba5c25c1b8bf8
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: v1
breaking:
use:
- FILE
lint:
use:
- DEFAULT
breaking:
use:
- FILE
deps:
- buf.build/googleapis/googleapis
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"noImplicitOverride": false,
"outDir": "build",
"rootDir": "."
},
Expand Down

0 comments on commit 4b681f4

Please sign in to comment.