Skip to content

Commit

Permalink
Update protobuf-ts and ts-proto (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Dec 8, 2023
1 parent 0423c22 commit eb72eca
Show file tree
Hide file tree
Showing 14 changed files with 321 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.165.1/.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.165.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.6
FROM node:20.10.0-alpine3.18 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/nodejs20-debian12:latest@sha256:6bd06494907b362c5d85dfbf60930e98272b9ffc1cbcb5c6d602da7ba9a303a0
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-ts_proto" ]
10 changes: 10 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.165.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: v1.165.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/v1.165.1/LICENSE
171 changes: 171 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.165.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/v1.165.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": "1.165.1"
}
}
3 changes: 3 additions & 0 deletions plugins/community/timostamm-protobuf-ts/v2.9.3/.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/timostamm-protobuf-ts/v2.9.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:20.10.0-alpine3.18 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/@protobuf-ts/plugin/bin/protoc-gen-ts

FROM gcr.io/distroless/nodejs20-debian12:latest@sha256:6bd06494907b362c5d85dfbf60930e98272b9ffc1cbcb5c6d602da7ba9a303a0
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-ts" ]
21 changes: 21 additions & 0 deletions plugins/community/timostamm-protobuf-ts/v2.9.3/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: v1
name: buf.build/community/timostamm-protobuf-ts
plugin_version: v2.9.3
source_url: https://github.com/timostamm/protobuf-ts
integration_guide_url: https://github.com/timostamm/protobuf-ts#quickstart
description: Generates Protobuf and RPC for TypeScript.
output_languages:
- javascript
- typescript
registry:
npm:
import_style: module
deps:
- package: '@protobuf-ts/runtime'
version: ^2.9.3
- package: '@protobuf-ts/runtime-rpc'
version: ^2.9.3
opts:
- output_javascript,optimize_code_size,long_type_string,add_pb_suffix,ts_nocheck,eslint_disable
spdx_license_id: Apache-2.0
license_url: https://github.com/timostamm/protobuf-ts/blob/v2.9.3/LICENSE
73 changes: 73 additions & 0 deletions plugins/community/timostamm-protobuf-ts/v2.9.3/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/timostamm-protobuf-ts/v2.9.3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-timostamm-protobuf-ts",
"version": "1.0.0",
"dependencies": {
"@protobuf-ts/plugin": "2.9.3"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:c2bL6MBuG1NJgUtCaESfyh0lhyWi/JmkenKns7OfSYQ=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:aXVOiLAf7KA+JIaw/4CnnKA+5iDw6fQE9eS8/BVYejU=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:C8WyHG1smA2X+YiB0ie/xfyO6sV/8VFaBi71nKUlH0E=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:lwyB5wVQ3cHsMuFfE832ctJD8knXYnuCtYuBDW0smzE=

0 comments on commit eb72eca

Please sign in to comment.