From b16f526fb500aa2aeb22aeda4e730250549d2d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Mon, 30 Mar 2026 16:16:30 +0300 Subject: [PATCH] fix: fix any.proto imptort --- .github/workflows/publish.yml | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b6963a..ad66936 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package.json b/package.json index 54e0967..459c03b 100644 --- a/package.json +++ b/package.json @@ -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",