diff --git a/plugins/bufbuild/connect-es/v0.8.3/.dockerignore b/plugins/bufbuild/connect-es/v0.8.3/.dockerignore new file mode 100644 index 000000000..771bbbaa9 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.3/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!package*.json diff --git a/plugins/bufbuild/connect-es/v0.8.3/Dockerfile b/plugins/bufbuild/connect-es/v0.8.3/Dockerfile new file mode 100644 index 000000000..ce45951ee --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.3/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.3/buf.plugin.yaml b/plugins/bufbuild/connect-es/v0.8.3/buf.plugin.yaml new file mode 100644 index 000000000..8b8978140 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.3/buf.plugin.yaml @@ -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 diff --git a/plugins/bufbuild/connect-es/v0.8.3/package-lock.json b/plugins/bufbuild/connect-es/v0.8.3/package-lock.json new file mode 100644 index 000000000..ec8b9b62a --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.3/package-lock.json @@ -0,0 +1,98 @@ +{ + "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.3" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.1.0.tgz", + "integrity": "sha512-NYqSqOp+7u37sfQugoJaIWbnQdUTwB0UtfNhIeN71rr/xY8upO9zIvM865Ju7ws/21xbu05RUdC1gNhSggmCYg==" + }, + "node_modules/@bufbuild/protoc-gen-connect-es": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-connect-es/-/protoc-gen-connect-es-0.8.3.tgz", + "integrity": "sha512-B/8khMD8dpI7Q07GWfPY/mrL3AT8PN5Y81rm5XNNIOsFXt/RNcRK+0ONxpJyMETFOGpmSqMND5nY7q+QKm9QVw==", + "dependencies": { + "@bufbuild/protobuf": "^1.0.0", + "@bufbuild/protoplugin": "^1.0.0" + }, + "bin": { + "protoc-gen-connect-es": "bin/protoc-gen-connect-es" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/connect": "0.8.3", + "@bufbuild/protoc-gen-es": "^1.0.0" + }, + "peerDependenciesMeta": { + "@bufbuild/connect": { + "optional": true + }, + "@bufbuild/protoc-gen-es": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-1.1.0.tgz", + "integrity": "sha512-yDBBdJn6/qmVu3A5K18Hif4WYLCd+1Ps89DTvhzBG/Og5EjbaPlkf/pZYLJQuKvJlDnRMfm0iF3Gl2NjC9G3yg==", + "dependencies": { + "@bufbuild/protobuf": "1.1.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.3/package.json b/plugins/bufbuild/connect-es/v0.8.3/package.json new file mode 100644 index 000000000..489c015f0 --- /dev/null +++ b/plugins/bufbuild/connect-es/v0.8.3/package.json @@ -0,0 +1,7 @@ +{ + "name": "plugins-bufbuild-connect-es", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-es": "0.8.3" + } +} diff --git a/plugins/bufbuild/connect-web/v0.8.3/.dockerignore b/plugins/bufbuild/connect-web/v0.8.3/.dockerignore new file mode 100644 index 000000000..771bbbaa9 --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.3/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!package*.json diff --git a/plugins/bufbuild/connect-web/v0.8.3/Dockerfile b/plugins/bufbuild/connect-web/v0.8.3/Dockerfile new file mode 100644 index 000000000..60e4b4fff --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.3/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.3/buf.plugin.yaml b/plugins/bufbuild/connect-web/v0.8.3/buf.plugin.yaml new file mode 100644 index 000000000..fb20cbf44 --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.3/buf.plugin.yaml @@ -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 diff --git a/plugins/bufbuild/connect-web/v0.8.3/package-lock.json b/plugins/bufbuild/connect-web/v0.8.3/package-lock.json new file mode 100644 index 000000000..d78b7b33a --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.3/package-lock.json @@ -0,0 +1,98 @@ +{ + "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.3" + } + }, + "node_modules/@bufbuild/protobuf": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.1.0.tgz", + "integrity": "sha512-NYqSqOp+7u37sfQugoJaIWbnQdUTwB0UtfNhIeN71rr/xY8upO9zIvM865Ju7ws/21xbu05RUdC1gNhSggmCYg==" + }, + "node_modules/@bufbuild/protoc-gen-connect-web": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-connect-web/-/protoc-gen-connect-web-0.8.3.tgz", + "integrity": "sha512-BSlD3vrdhiizPVcVjJ4dwEIaeM64YWdNg84GPkAq/3+aen/bvAIaTl/2zQLgsU1evIEgxGjpVL8yzXHJ9nzglQ==", + "dependencies": { + "@bufbuild/protobuf": "^1.0.0", + "@bufbuild/protoplugin": "^1.0.0" + }, + "bin": { + "protoc-gen-connect-web": "bin/protoc-gen-connect-web" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@bufbuild/connect": "0.8.3", + "@bufbuild/protoc-gen-es": "^1.0.0" + }, + "peerDependenciesMeta": { + "@bufbuild/connect": { + "optional": true + }, + "@bufbuild/protoc-gen-es": { + "optional": true + } + } + }, + "node_modules/@bufbuild/protoplugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-1.1.0.tgz", + "integrity": "sha512-yDBBdJn6/qmVu3A5K18Hif4WYLCd+1Ps89DTvhzBG/Og5EjbaPlkf/pZYLJQuKvJlDnRMfm0iF3Gl2NjC9G3yg==", + "dependencies": { + "@bufbuild/protobuf": "1.1.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.3/package.json b/plugins/bufbuild/connect-web/v0.8.3/package.json new file mode 100644 index 000000000..52cdd4014 --- /dev/null +++ b/plugins/bufbuild/connect-web/v0.8.3/package.json @@ -0,0 +1,7 @@ +{ + "name": "plugins-bufbuild-connect-web", + "version": "1.0.0", + "dependencies": { + "@bufbuild/protoc-gen-connect-web": "0.8.3" + } +} diff --git a/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/eliza/plugin.sum new file mode 100644 index 000000000..bb447fff7 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/eliza/plugin.sum @@ -0,0 +1 @@ +h1:43jstbvBf1PoMDZS0aQ9D6LrUWJi3042wQIr5Fx5CRw= diff --git a/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/petapis/plugin.sum new file mode 100644 index 000000000..f939c59ec --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-es/v0.8.3/petapis/plugin.sum @@ -0,0 +1 @@ +h1:oMh4sIGQrENOumWih+ogY7Bx1X2/qqsv8r11znRAL68= diff --git a/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/eliza/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/eliza/plugin.sum new file mode 100644 index 000000000..6bdcb0337 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/eliza/plugin.sum @@ -0,0 +1 @@ +h1:mmqw7oLAV73EC6zasOuyA+i6ljqjijtk89aZVlnZoWU= diff --git a/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/petapis/plugin.sum b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/petapis/plugin.sum new file mode 100644 index 000000000..21fbae3e4 --- /dev/null +++ b/tests/testdata/buf.build/bufbuild/connect-web/v0.8.3/petapis/plugin.sum @@ -0,0 +1 @@ +h1:SS24MZn7enljijvribOYj8fkjhLBJvhYzPCPdGWEhOU=