From c5e57adf5bf60f9af2773730aa2773db16898d84 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:06:05 +0300 Subject: [PATCH] fix: install ts-proto global --- .github/workflows/publish.yml | 2 +- package.json | 2 +- proto/ldap.proto | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6630276..1feb2f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: run: npm run build - name: Generate Protobuf - run: 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 + 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 - 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", diff --git a/proto/ldap.proto b/proto/ldap.proto index 65e82a0..4f8ef9f 100644 --- a/proto/ldap.proto +++ b/proto/ldap.proto @@ -1,7 +1,6 @@ syntax = "proto3"; package ldap_service; -import "google/rpc/status.proto"; service LdapAuth { rpc VerifyUser (VerifyRequest) returns (VerifyResponse);