Skip to content

Commit

Permalink
Update connect-web and connect-es (#407)
Browse files Browse the repository at this point in the history
New plugin versions found. Please review.

Co-authored-by: mfridman <mfridman@users.noreply.github.com>
  • Loading branch information
app-token-plugins[bot] and mfridman authored Mar 7, 2023
1 parent d2e8d25 commit ac6e8d9
Show file tree
Hide file tree
Showing 14 changed files with 280 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/bufbuild/connect-es/v0.8.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/bufbuild/connect-es/v0.8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:18.14.2-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/@bufbuild/protoc-gen-connect-es/bin/protoc-gen-connect-es

FROM gcr.io/distroless/nodejs18-debian11
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-connect-es" ]
19 changes: 19 additions & 0 deletions plugins/bufbuild/connect-es/v0.8.3/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: v1
name: buf.build/bufbuild/connect-es
plugin_version: v0.8.3
source_url: https://github.com/bufbuild/connect-es
description: Generates code that is compatible with browsers and Node.js for working with Connect, gRPC, and gRPC-Web.
deps:
- plugin: buf.build/bufbuild/es:v1.1.0
output_languages:
- javascript
- typescript
registry:
npm:
import_style: module
rewrite_import_path_suffix: connect.js
deps:
- package: '@bufbuild/connect'
version: ^0.8.3
spdx_license_id: Apache-2.0
license_url: https://github.com/bufbuild/connect-es/blob/v0.8.3/LICENSE
98 changes: 98 additions & 0 deletions plugins/bufbuild/connect-es/v0.8.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/bufbuild/connect-es/v0.8.3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-bufbuild-connect-es",
"version": "1.0.0",
"dependencies": {
"@bufbuild/protoc-gen-connect-es": "0.8.3"
}
}
3 changes: 3 additions & 0 deletions plugins/bufbuild/connect-web/v0.8.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/bufbuild/connect-web/v0.8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:18.14.2-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/@bufbuild/protoc-gen-connect-web/bin/protoc-gen-connect-web

FROM gcr.io/distroless/nodejs18-debian11
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-connect-web" ]
19 changes: 19 additions & 0 deletions plugins/bufbuild/connect-web/v0.8.3/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: v1
name: buf.build/bufbuild/connect-web
plugin_version: v0.8.3
source_url: https://github.com/bufbuild/connect-web
description: Generates client stubs for calling Connect and gRPC-Web services from a web browser.
deps:
- plugin: buf.build/bufbuild/es:v1.1.0
output_languages:
- javascript
- typescript
registry:
npm:
import_style: module
rewrite_import_path_suffix: connectweb.js
deps:
- package: '@bufbuild/connect-web'
version: ^0.8.3
spdx_license_id: Apache-2.0
license_url: https://github.com/bufbuild/connect-web/blob/v0.8.3/LICENSE
98 changes: 98 additions & 0 deletions plugins/bufbuild/connect-web/v0.8.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/bufbuild/connect-web/v0.8.3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-bufbuild-connect-web",
"version": "1.0.0",
"dependencies": {
"@bufbuild/protoc-gen-connect-web": "0.8.3"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:43jstbvBf1PoMDZS0aQ9D6LrUWJi3042wQIr5Fx5CRw=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:oMh4sIGQrENOumWih+ogY7Bx1X2/qqsv8r11znRAL68=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:mmqw7oLAV73EC6zasOuyA+i6ljqjijtk89aZVlnZoWU=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:SS24MZn7enljijvribOYj8fkjhLBJvhYzPCPdGWEhOU=

0 comments on commit ac6e8d9

Please sign in to comment.