From f7c1bfcc1c841df311d2ca2ec79bd7d6e0858f44 Mon Sep 17 00:00:00 2001 From: Jacob Davis-Hansson Date: Thu, 30 Nov 2023 15:15:54 +0100 Subject: [PATCH] Bump to ts-proto 1.165.0 to fix tsc compile error The current version has an issue that makes it generate typescript that no longer compiles properly: ``` src/gen/google/protobuf/timestamp.ts:2:23 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export. 2 import * as Long from "long"; ``` This error originates from this file in ts-proto: https://github.com/stephenh/ts-proto/blob/v1.138.0/integration/simple/google/protobuf/timestamp.ts And is fixed in the 1.165.0 version of the same file: https://github.com/stephenh/ts-proto/blob/v1.165.0/integration/simple/google/protobuf/timestamp.ts --- variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.sh b/variables.sh index cffbc9e5..cf554c47 100755 --- a/variables.sh +++ b/variables.sh @@ -20,7 +20,7 @@ NODE_VERSION=${NODE_VERSION:-18} NODE_GRPC_TOOLS_NODE_PROTOC_TS_VERSION=${NODE_GRPC_TOOLS_NODE_PROTOC_TS_VERSION:-5.3.2} NODE_GRPC_TOOLS_VERSION=${NODE_GRPC_TOOLS_VERSION:-1.12.3} NODE_PROTOC_GEN_GRPC_WEB_VERSION=${NODE_PROTOC_GEN_GRPC_WEB_VERSION:-1.4.1} -TS_PROTO_VERSION=${TS_PROTO_VERSION:-1.138.0} +TS_PROTO_VERSION=${TS_PROTO_VERSION:-1.165.0} GO_ENVOYPROXY_PGV_VERSION=${GO_ENVOYPROXY_PGV_VERSION:-0.9.1} GO_MWITKOW_GPV_VERSION=${GO_MWITKOW_GPV_VERSION:-0.3.2} GO_PROTOC_GEN_GO_VERSION=${GO_PROTOC_GEN_GO_VERSION:-v1.28.1}