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