diff --git a/plugins/bufbuild/connect-es/v0.8.1/.dockerignore b/plugins/bufbuild/connect-es/v0.8.1/.dockerignore new file mode 100644 index 000000000..771bbbaa9 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.1/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!package*.json diff --git a/plugins/bufbuild/connect-es/v0.8.1/Dockerfile b/plugins/bufbuild/connect-es/v0.8.1/Dockerfile new file mode 100644 index 000000000..ce45951ee --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.1/Dockerfile @@ -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" ] diff --git a/plugins/bufbuild/connect-es/v0.8.1/buf.plugin.yaml b/plugins/bufbuild/connect-es/v0.8.1/buf.plugin.yaml new file mode 100644 index 000000000..a013205f0 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.1/buf.plugin.yaml @@ -0,0 +1,19 @@ +version: v1 +name: buf.build/bufbuild/connect-es +plugin_version: v0.8.1 +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.0.0 +output_languages: + - javascript + - typescript +registry: + npm: + import_style: module + rewrite_import_path_suffix: connect.js + deps: + - package: '@bufbuild/connect-web' + version: ^0.8.1 +spdx_license_id: Apache-2.0 +license_url: https://github.com/bufbuild/connect-es/blob/v0.8.1/LICENSE diff --git a/plugins/bufbuild/connect-es/v0.8.1/package-lock.json b/plugins/bufbuild/connect-es/v0.8.1/package-lock.json new file mode 100644 index 000000000..d24ee8af1 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.1/package-lock.json @@ -0,0 +1,97 @@ +{ + "name": "plugins-bufbuild-connect-es", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "plugins-bufbuild-connect-es", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-es": "0.8.1" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.0.0.tgz", + "integrity": "sha512-oH3jHBrZ6to8Qf4zLg7O8KqSY42kQZNBRXJRMp5uSi0mqE4L8NbyMnZHeOsbXmTb0xpptRyH11LfS+KeVhXzAA==" + }, + "node_modules/@bufbuild/protoc-gen-connect-es": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-connect-es/-/protoc-gen-connect-es-0.8.1.tgz", + "integrity": "sha512-tOQ2yambxI3vsrMxOAkjZc0fTUXqXba069mdGRfiFRdMlzmAYFqzQf88bhWa1noyae691NRwv055qYC4Otu+uA==", + "dependencies": { + "@bufbuild/protoplugin": "^1.0.0" + }, + "bin": { + "protoc-gen-connect-es": "bin/protoc-gen-connect-es" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/connect": "0.8.1", + "@bufbuild/protoc-gen-es": "^1.0.0" + }, + "peerDependenciesMeta": { + "@bufbuild/connect": { + "optional": true + }, + "@bufbuild/protoc-gen-es": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-1.0.0.tgz", + "integrity": "sha512-L7z2/4MgP36QGEAh8T4OYrdMRv//LAw4gGpL8D3cziE21uP6FLzLKpIxJ4aJBoUyHyS53tpZMpb0djbxYDecFA==", + "dependencies": { + "@bufbuild/protobuf": "1.0.0", + "@typescript/vfs": "^1.4.0", + "typescript": "4.5.2" + } + }, + "node_modules/@typescript/vfs": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.4.0.tgz", + "integrity": "sha512-Pood7yv5YWMIX+yCHo176OnF8WUlKGImFG7XlsuH14Zb1YN5+dYD3uUtS7lqZtsH7tAveNUi2NzdpQCN0yRbaw==", + "dependencies": { + "debug": "^4.1.1" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/typescript": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", + "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + } + } +} diff --git a/plugins/bufbuild/connect-es/v0.8.1/package.json b/plugins/bufbuild/connect-es/v0.8.1/package.json new file mode 100644 index 000000000..b2fca4a65 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.1/package.json @@ -0,0 +1,7 @@ +{ + "name": "plugins-bufbuild-connect-es", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-es": "0.8.1" + } +} diff --git a/plugins/bufbuild/connect-web/v0.8.1/.dockerignore b/plugins/bufbuild/connect-web/v0.8.1/.dockerignore new file mode 100644 index 000000000..771bbbaa9 --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.1/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!package*.json diff --git a/plugins/bufbuild/connect-web/v0.8.1/Dockerfile b/plugins/bufbuild/connect-web/v0.8.1/Dockerfile new file mode 100644 index 000000000..60e4b4fff --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.1/Dockerfile @@ -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" ] diff --git a/plugins/bufbuild/connect-web/v0.8.1/buf.plugin.yaml b/plugins/bufbuild/connect-web/v0.8.1/buf.plugin.yaml new file mode 100644 index 000000000..d1c24bdbe --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.1/buf.plugin.yaml @@ -0,0 +1,19 @@ +version: v1 +name: buf.build/bufbuild/connect-web +plugin_version: v0.8.1 +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.8.1 +spdx_license_id: Apache-2.0 +license_url: https://github.com/bufbuild/connect-web/blob/v0.8.1/LICENSE diff --git a/plugins/bufbuild/connect-web/v0.8.1/package-lock.json b/plugins/bufbuild/connect-web/v0.8.1/package-lock.json new file mode 100644 index 000000000..235b00f8f --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.1/package-lock.json @@ -0,0 +1,97 @@ +{ + "name": "plugins-bufbuild-connect-web", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "plugins-bufbuild-connect-web", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-web": "0.8.1" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.0.0.tgz", + "integrity": "sha512-oH3jHBrZ6to8Qf4zLg7O8KqSY42kQZNBRXJRMp5uSi0mqE4L8NbyMnZHeOsbXmTb0xpptRyH11LfS+KeVhXzAA==" + }, + "node_modules/@bufbuild/protoc-gen-connect-web": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-connect-web/-/protoc-gen-connect-web-0.8.1.tgz", + "integrity": "sha512-JyK2pf6l1yr9FWQFlK6QbM6CLfbgfMi/2lgwkGG8aVNfQkV/9efNT4eFk8S53YXqpn+g+Xvwya7M04bi2rdm6g==", + "dependencies": { + "@bufbuild/protoplugin": "^1.0.0" + }, + "bin": { + "protoc-gen-connect-web": "bin/protoc-gen-connect-web" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/connect": "0.8.1", + "@bufbuild/protoc-gen-es": "^1.0.0" + }, + "peerDependenciesMeta": { + "@bufbuild/connect": { + "optional": true + }, + "@bufbuild/protoc-gen-es": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-1.0.0.tgz", + "integrity": "sha512-L7z2/4MgP36QGEAh8T4OYrdMRv//LAw4gGpL8D3cziE21uP6FLzLKpIxJ4aJBoUyHyS53tpZMpb0djbxYDecFA==", + "dependencies": { + "@bufbuild/protobuf": "1.0.0", + "@typescript/vfs": "^1.4.0", + "typescript": "4.5.2" + } + }, + "node_modules/@typescript/vfs": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@typescript/vfs/-/vfs-1.4.0.tgz", + "integrity": "sha512-Pood7yv5YWMIX+yCHo176OnF8WUlKGImFG7XlsuH14Zb1YN5+dYD3uUtS7lqZtsH7tAveNUi2NzdpQCN0yRbaw==", + "dependencies": { + "debug": "^4.1.1" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/typescript": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", + "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + } + } +} diff --git a/plugins/bufbuild/connect-web/v0.8.1/package.json b/plugins/bufbuild/connect-web/v0.8.1/package.json new file mode 100644 index 000000000..cc51327c8 --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.1/package.json @@ -0,0 +1,7 @@ +{ + "name": "plugins-bufbuild-connect-web", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-web": "0.8.1" + } +} diff --git a/plugins/community/neoeinstein-prost/v0.2.2/.dockerignore b/plugins/community/neoeinstein-prost/v0.2.2/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/community/neoeinstein-prost/v0.2.2/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/community/neoeinstein-prost/v0.2.2/Dockerfile b/plugins/community/neoeinstein-prost/v0.2.2/Dockerfile new file mode 100644 index 000000000..1ef044c72 --- /dev/null +++ b/plugins/community/neoeinstein-prost/v0.2.2/Dockerfile @@ -0,0 +1,11 @@ +# syntax=docker/dockerfile:1.4 +FROM rust:1.67.1-alpine3.17 as builder +RUN apk add --no-cache musl-dev +WORKDIR /app +RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,target=/root/target \ + cargo install protoc-gen-prost --version 0.2.2 --locked --root /app + +FROM gcr.io/distroless/static +COPY --from=builder /app/bin/protoc-gen-prost /protoc-gen-prost +USER nobody +ENTRYPOINT ["/protoc-gen-prost"] diff --git a/plugins/community/neoeinstein-prost/v0.2.2/buf.plugin.yaml b/plugins/community/neoeinstein-prost/v0.2.2/buf.plugin.yaml new file mode 100644 index 000000000..c3fcaa7d6 --- /dev/null +++ b/plugins/community/neoeinstein-prost/v0.2.2/buf.plugin.yaml @@ -0,0 +1,9 @@ +version: v1 +name: buf.build/community/neoeinstein-prost +plugin_version: v0.2.2 +source_url: https://github.com/neoeinstein/protoc-gen-prost +description: Generates code using the Prost! code generation engine. +output_languages: + - rust +spdx_license_id: Apache-2.0 +license_url: https://github.com/neoeinstein/protoc-gen-prost/blob/protoc-gen-prost-v0.2.2/LICENSE diff --git a/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/eliza/plugin.sum new file mode 100644 index 000000000..e305ac343 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/eliza/plugin.sum @@ -0,0 +1 @@ +h1:rlgvSiVPbFsNcxQ5J0doxYt5PXq+nwH88+OWxMM0JFY= diff --git a/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/petapis/plugin.sum new file mode 100644 index 000000000..731f193d5 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.1/petapis/plugin.sum @@ -0,0 +1 @@ +h1:/VwzdJehx/lKOB5MGj0zNhg3uVpZZ3pht7Lr88YKHlY= diff --git a/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/eliza/plugin.sum new file mode 100644 index 000000000..541d3c865 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/eliza/plugin.sum @@ -0,0 +1 @@ +h1:S55u05iTHpoDP+oxRnTXmkYj3uSppsqMeQRdEadR2Ks= diff --git a/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/petapis/plugin.sum new file mode 100644 index 000000000..594812bf1 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.1/petapis/plugin.sum @@ -0,0 +1 @@ +h1:2n8dzNsurN0RXpBwdJV306WX2ejA8yrX7f/IEp6IYBY= diff --git a/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/eliza/plugin.sum b/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/eliza/plugin.sum new file mode 100644 index 000000000..4ecce7cc5 --- /dev/null +++ b/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/eliza/plugin.sum @@ -0,0 +1 @@ +h1:JsjQgBmoYPRx2D2Qy1BNCDAH8tLofGgjZp46Lm4Aii8= diff --git a/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/petapis/plugin.sum b/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/petapis/plugin.sum new file mode 100644 index 000000000..b498b1e89 --- /dev/null +++ b/tests/testdata/buf.build/community/neoeinstein-prost/v0.2.2/petapis/plugin.sum @@ -0,0 +1 @@ +h1:wJlYOc3eSFsYLteXBSvMtseQjbKBGUc2fP2dKKMZAbc=