From 42a3035d9fa53cf081e0a5127a7a725b5b96c1e4 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 18 Oct 2023 15:35:18 +0200 Subject: [PATCH] Rapha/funders module ts proto gen (#131) --- proto/Dockerfile | 1 + proto/buf.gen.yaml | 2 +- proto/generate.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/Dockerfile b/proto/Dockerfile index ea2150dc..d2385fc3 100644 --- a/proto/Dockerfile +++ b/proto/Dockerfile @@ -16,5 +16,6 @@ RUN git clone https://github.com/cosmos/gogoproto.git; \ make install RUN npm install -g swagger-combine +RUN npm install -g ts-proto COPY --from=BUILDER /usr/local/bin /usr/local/bin diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml index 90dcc2a7..d57a306f 100644 --- a/proto/buf.gen.yaml +++ b/proto/buf.gen.yaml @@ -9,4 +9,4 @@ plugins: - name: swagger out: ../tmp-swagger-gen opt: - - simple_operation_ids=true + - simple_operation_ids=true \ No newline at end of file diff --git a/proto/generate.sh b/proto/generate.sh index 27a7fa57..fe4889f5 100644 --- a/proto/generate.sh +++ b/proto/generate.sh @@ -6,4 +6,4 @@ cp -r github.com/KYVENetwork/chain/* ./ rm -rf github.com swagger-combine ./docs/config.json -o ./docs/swagger.yml -rm -rf tmp-swagger-gen +rm -rf tmp-swagger-gen \ No newline at end of file