fix: install ts-proto global
Some checks failed
Publish / Publish Job (push) Failing after 1m11s

This commit is contained in:
Дмитрий
2026-03-30 16:06:05 +03:00
parent ea6a3e7777
commit c5e57adf5b
3 changed files with 2 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ jobs:
run: npm run build run: npm run build
- name: Generate Protobuf - 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 - name: Publish package
run: npm publish run: npm publish

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lendry-erp/contracts", "name": "@lendry-erp/contracts",
"version": "1.0.10", "version": "1.0.11",
"description": "Protobuf definitions and generated TypeScript types", "description": "Protobuf definitions and generated TypeScript types",
"type": "commonjs", "type": "commonjs",
"main": "./dist/index.js", "main": "./dist/index.js",

View File

@@ -1,7 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package ldap_service; package ldap_service;
import "google/rpc/status.proto";
service LdapAuth { service LdapAuth {
rpc VerifyUser (VerifyRequest) returns (VerifyResponse); rpc VerifyUser (VerifyRequest) returns (VerifyResponse);