From c4fd5aa7a69995cdaffea124f354e972188c1275 Mon Sep 17 00:00:00 2001 From: Daniel 'f0o' Preussker Date: Sun, 18 Aug 2024 10:45:55 +0000 Subject: [PATCH] Fix versions due to buf v2 incompatiblity with connectrpc-es --- protobuf/buf.gen.yaml | 4 ++-- protobuf/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/protobuf/buf.gen.yaml b/protobuf/buf.gen.yaml index 7aef9e5..f817c09 100644 --- a/protobuf/buf.gen.yaml +++ b/protobuf/buf.gen.yaml @@ -13,7 +13,7 @@ plugins: out: . opt: - paths=source_relative -- plugin: buf.build/bufbuild/es +- plugin: buf.build/bufbuild/es:v1.10.0 out: . -- plugin: buf.build/connectrpc/es +- plugin: buf.build/connectrpc/es:v1.4.0 out: . diff --git a/protobuf/package.json b/protobuf/package.json index e212645..80c5a29 100644 --- a/protobuf/package.json +++ b/protobuf/package.json @@ -5,7 +5,7 @@ "description": "Protocol Buffers for Node.js", "type": "module", "dependencies": { - "@bufbuild/protobuf": "^2.0.0", + "@bufbuild/protobuf": "^1.10.0", "typescript": "^5.5.4" } -} \ No newline at end of file +}