fix: ganerate proto file for golang
All checks were successful
Publish / Publish Job (push) Successful in 2m34s

This commit is contained in:
Дмитрий
2026-03-30 18:12:33 +03:00
parent 6666bb1a74
commit 9f5afc5a36
2 changed files with 4 additions and 2 deletions

View File

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

View File

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