This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -48,7 +48,10 @@ jobs:
|
|||||||
- name: Generate Protobuf
|
- name: Generate Protobuf
|
||||||
run: |
|
run: |
|
||||||
npm install -g ts-proto
|
npm install -g ts-proto
|
||||||
protoc -I ./proto ./proto/*.proto --ts_proto_out=nestJs=true,package=omit:./gen --go_out=paths=source_relative:./gen --go-grpc_out=paths=source_relative:./gen
|
protoc -I ./proto ./proto/*.proto \
|
||||||
|
--ts_proto_out=nestJs=true,package=omit:./gen \
|
||||||
|
--go_out=Mgoogle/protobuf/any.proto=google.golang.org/protobuf/types/known/anypb,paths=source_relative:./gen \
|
||||||
|
--go-grpc_out=paths=source_relative:./gen
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: npm publish
|
run: npm publish
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lendry-erp/contracts",
|
"name": "@lendry-erp/contracts",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"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