fix: fix any.proto imptort
Some checks failed
Publish / Publish Job (push) Failing after 1m58s

This commit is contained in:
Дмитрий
2026-03-30 16:16:30 +03:00
parent 55cf38c8c2
commit b16f526fb5
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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",