From 9f5afc5a367e997eda295bb6c42ba32454a3301f 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 18:12:33 +0300 Subject: [PATCH] fix: ganerate proto file for golang --- .github/workflows/publish.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f136e39..63c9eaa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,9 +48,11 @@ jobs: - name: Generate Protobuf run: | npm install -g ts-proto + mkdir -p ./gen/go # Создаем вложенную папку для Go protoc -I ./proto ./proto/*.proto \ --ts_proto_out=nestJs=true,package=omit:./gen \ - --go-grpc_out=paths=source_relative:./gen + --go_out=paths=source_relative:./gen/go \ + --go-grpc_out=paths=source_relative:./gen/go - name: Publish package run: npm publish diff --git a/package.json b/package.json index 2e86810..6c77c2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.10", + "version": "1.0.11", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js",