-
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.
add stephenh-ts-proto v1.138.0 (#301)
- Loading branch information
1 parent
bd262af
commit c899b09
Showing
7 changed files
with
378 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,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" ] |
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,9 @@ | ||
version: v1 | ||
name: buf.build/community/stephenh-ts-proto | ||
plugin_version: v1.138.0 | ||
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.138.0/LICENSE |
346 changes: 346 additions & 0 deletions
346
plugins/community/stephenh-ts-proto/v1.138.0/package-lock.json
Large diffs are not rendered by default.
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": "1.138.0" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v1.138.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:Ges7/EmQfYHxS9BCBPYpQ/IzK6Gd40+pPbnHNohnVTI= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/stephenh-ts-proto/v1.138.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:MHxDGD6fRFyG4hg7ow2BxoxiJvvyo2O/E1YfBp7V3uU= |