-
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.
New plugin versions found. Please review. Co-authored-by: pkwarren <[email protected]> Co-authored-by: Mike Fridman <[email protected]>
- Loading branch information
1 parent
6ae187b
commit 6031c4c
Showing
12 changed files
with
217 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/@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" ] |
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 @@ | ||
version: v1 | ||
name: buf.build/bufbuild/connect-web | ||
plugin_version: v0.6.0 | ||
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.0.0 | ||
output_languages: | ||
- javascript | ||
- typescript | ||
registry: | ||
npm: | ||
import_style: module | ||
rewrite_import_path_suffix: connectweb.js | ||
deps: | ||
- package: '@bufbuild/connect-web' | ||
version: ^0.6.0 | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/bufbuild/connect-web/blob/v0.6.0/LICENSE |
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-bufbuild-connect-web", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@bufbuild/protoc-gen-connect-web": "0.6.0" | ||
} | ||
} |
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,2 @@ | ||
* | ||
!Dockerfile |
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,12 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM swift:5.7.2-focal AS build | ||
|
||
WORKDIR /app | ||
RUN git clone --depth 1 --branch 1.13.2 https://github.com/grpc/grpc-swift --recursive | ||
WORKDIR /app/grpc-swift | ||
RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link /app/grpc-swift/.build/release/protoc-gen-grpc-swift . | ||
USER nobody | ||
ENTRYPOINT [ "/protoc-gen-grpc-swift" ] |
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 @@ | ||
version: v1 | ||
name: buf.build/grpc/swift | ||
plugin_version: v1.13.2 | ||
source_url: https://github.com/grpc/grpc-swift | ||
description: Generates Swift client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/apple/swift:v1.20.3 | ||
output_languages: | ||
- swift | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc-swift/blob/1.13.2/LICENSE |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-web/v0.6.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:KYIwWZM1VBQRGjlL2oX6OJkuS9sf6ZOMroI7cvFeRjo= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-web/v0.6.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:gwhtIiSMEJKkoqT5SkkCG4NxhhvBrrq7iJWssGR1zOs= |
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:AyTBCyR7NTQf+n2zmThBq9/Nveb5Mx/QZnQ4ZvovhF4= |
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:nxLl9QVtjt+8+FrGOVBBSZnGQLT+GrD+NjxshOJh7xc= |