-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update community/stephenh-ts-proto to v2.3.0 (#1595)
- Loading branch information
Showing
7 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* | ||
!Dockerfile | ||
!package*.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# syntax=docker/dockerfile:1.10 | ||
FROM node:22.11.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/nodejs22-debian12:latest@sha256:c218f62198d07fc67e36fff5639985f29b1bdcf04a601c1d23c0ab1121f55f0b AS node | ||
|
||
FROM gcr.io/distroless/cc-debian12:latest@sha256:2fb69596e692931f909c4c69ab09e50608959eaf8898c44fa64db741a23588b0 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
10
plugins/community/stephenh-ts-proto/v2.3.0/buf.plugin.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.3.0 | ||
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.3.0/LICENSE |
87 changes: 87 additions & 0 deletions
87
plugins/community/stephenh-ts-proto/v2.3.0/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.3.0" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v2.3.0/eliza/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:lTQoEljena4SJd63iBCJ/LbWcveGgRtwrb5mFskNn20= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v2.3.0/petapis/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:4Pd/uU6S1+Gb6KLVUxBNKsRE17X9iReiiUMPUglixOM= |