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
|
||||
run: |
|
||||
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
|
||||
run: npm publish
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lendry-erp/contracts",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"description": "Protobuf definitions and generated TypeScript types",
|
||||
"type": "commonjs",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user