Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plugins/community/stephenh-ts-proto/v2.11.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!Dockerfile
!package*.json
19 changes: 19 additions & 0 deletions plugins/community/stephenh-ts-proto/v2.11.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# syntax=docker/dockerfile:1.19
FROM node:24.13.0-bookworm 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 \
&& rm -f /app/node_modules/dprint-node/*darwin*.node /app/node_modules/dprint-node/*win32*.node

FROM gcr.io/distroless/nodejs24-debian12:latest@sha256:aa9ea28c521590ff497a06449109f26582ca9fa7eacfe8b169fec24399c1bd8a AS node

FROM gcr.io/distroless/cc-debian12:latest@sha256:66d87e170bc2c5e2b8cf853501141c3c55b4e502b8677595c57534df54a68cc5 AS base

FROM scratch
COPY --link --from=base / /
COPY --link --from=node --chmod=0755 /nodejs/bin/node /nodejs/bin/node
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT ["/nodejs/bin/node"]
CMD [ "/app/node_modules/.bin/protoc-gen-ts_proto" ]
10 changes: 10 additions & 0 deletions plugins/community/stephenh-ts-proto/v2.11.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1
name: buf.build/community/stephenh-ts-proto
plugin_version: v2.11.1
source_url: https://github.com/stephenh/ts-proto
integration_guide_url: https://github.com/stephenh/ts-proto#quickstart
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/v2.11.1/LICENSE
87 changes: 87 additions & 0 deletions plugins/community/stephenh-ts-proto/v2.11.1/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/v2.11.1/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": "2.11.1"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:5LoLDgplfuRGGoF3Vskcs++JLZPi7MrWYPuwjlhntnE=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:HbCyHLzizuLnwzPtW6Mr5GR7Zeq5/7ZBSLdT1fBaafo=