Skip to content

Commit

Permalink
Add community/stephenh-ts-proto:v1.150.1 protocolbuffers/go:v1.31.0 (#…
Browse files Browse the repository at this point in the history
…615)

New plugin versions found. Please review.

Co-authored-by: mfridman <[email protected]>
  • Loading branch information
app-token-plugins[bot] and mfridman committed Jun 26, 2023
1 parent 96bfa52 commit 0d1b612
Show file tree
Hide file tree
Showing 12 changed files with 254 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.150.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.150.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:18.16.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/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.150.1/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.150.1
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.150.1/LICENSE
191 changes: 191 additions & 0 deletions plugins/community/stephenh-ts-proto/v1.150.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.150.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.150.1"
}
}
2 changes: 2 additions & 0 deletions plugins/protocolbuffers/go/v1.31.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
11 changes: 11 additions & 0 deletions plugins/protocolbuffers/go/v1.31.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM golang:1.20.5-bullseye AS build
RUN --mount=type=cache,target=/go/pkg/mod \
CGO_ENABLED=0 \
go install -ldflags "-s -w" -trimpath google.golang.org/protobuf/cmd/[email protected]

FROM scratch
COPY --from=build --link /etc/passwd /etc/passwd
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-go .
USER nobody
ENTRYPOINT [ "/protoc-gen-go" ]
16 changes: 16 additions & 0 deletions plugins/protocolbuffers/go/v1.31.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: v1
name: buf.build/protocolbuffers/go
plugin_version: v1.31.0
source_url: https://github.com/protocolbuffers/protobuf-go
description: Base types for Go. Generates message and enum types.
output_languages:
- go
registry:
go:
deps:
- module: google.golang.org/protobuf
version: v1.31.0
opts:
- paths=source_relative
spdx_license_id: BSD-3-Clause
license_url: https://github.com/protocolbuffers/protobuf-go/blob/v1.31.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:ix9tIg5ndoyrOvYO3Z8t0QQ3t6AR3PhTkUdYtVxt13M=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:9FcRaks+9Maysk7LclSPN1Lxe+GSWmIsOEdmS9P9Dm4=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:X0QYW187a8z6KhQhnI9hqsdC2dTqSwjSjHj7visQ0CA=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:J5F9D3gy6yjQv9uzKDOEVvbX6zcDbysRMf6jCdIyrmg=

0 comments on commit 0d1b612

Please sign in to comment.