Skip to content

Commit

Permalink
Adds ts-proto v1.137.2 (#291)
Browse files Browse the repository at this point in the history
Fixes #253
  • Loading branch information
mfridman authored Jan 9, 2023
1 parent 6031c4c commit bd262af
Show file tree
Hide file tree
Showing 8 changed files with 226 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/community/stephenh-ts-proto/source.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source:
npm_registry:
name: ts-proto
3 changes: 3 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.137.2/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!Dockerfile
!package*.json
11 changes: 11 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.137.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:18.13.0-alpine3.17 AS build
WORKDIR /app
COPY --link package*.json .
RUN npm ci
RUN sed -i -e 's|/usr/bin/env node|/nodejs/bin/node|g' /app/node_modules/ts-proto/protoc-gen-ts_proto

FROM gcr.io/distroless/nodejs18-debian11
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-ts_proto" ]
9 changes: 9 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.137.2/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: v1
name: buf.build/community/stephenh-ts-proto
plugin_version: v1.137.2
source_url: https://github.com/stephenh/ts-proto
description: An idiomatic protobuf generator for TypeScript.
output_languages:
- typescript
spdx_license_id: Apache-2.0
license_url: https://github.com/stephenh/ts-proto/blob/v1.137.2/LICENSE
191 changes: 191 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.137.2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.137.2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-stephenh-ts-proto",
"version": "1.0.0",
"dependencies": {
"ts-proto": "1.137.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:gE9gbmMWY4+r7PNr4KHYNxBTy94QQRy4AlyX9t49Vxw=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:6zAN0+35sl16YIqlPR68NleMTvAfExb7Q1QsdQBHBHI=

0 comments on commit bd262af

Please sign in to comment.