add support metadata from grpc typescript
All checks were successful
Publish / Publish Job (push) Successful in 2m36s
All checks were successful
Publish / Publish Job (push) Successful in 2m36s
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
npm install -g ts-proto
|
npm install -g ts-proto
|
||||||
mkdir -p ./gen/go # Создаем вложенную папку для Go
|
mkdir -p ./gen/go # Создаем вложенную папку для Go
|
||||||
protoc -I ./proto ./proto/*.proto \
|
protoc -I ./proto ./proto/*.proto \
|
||||||
--ts_proto_out=nestJs=true,package=omit:./gen \
|
--ts_proto_out=nestJs=true,addGrpcMetadata=true,package=omit:./gen \
|
||||||
--go_out=paths=source_relative:./gen/go \
|
--go_out=paths=source_relative:./gen/go \
|
||||||
--go-grpc_out=paths=source_relative:./gen/go
|
--go-grpc_out=paths=source_relative:./gen/go
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.0.26",
|
"version": "1.0.27",
|
||||||
"description": "Protobuf definitions and generated TypeScript types",
|
"description": "Protobuf definitions and generated TypeScript types",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user