Skip to content

Commit 97b7a89

Browse files
Add connect-query v0.1.1 and protobuf-es v1.1.0 (#394)
1 parent fe70e26 commit 97b7a89

File tree

14 files changed

+271
-0
lines changed

14 files changed

+271
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!Dockerfile
3+
!package*.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# syntax=docker/dockerfile:1.4
2+
FROM node:18.14.2-alpine3.17 AS build
3+
WORKDIR /app
4+
COPY --link package*.json .
5+
RUN npm ci
6+
RUN sed -i -e 's|/usr/bin/env node|/nodejs/bin/node|g' /app/node_modules/@bufbuild/protoc-gen-connect-query/bin/protoc-gen-connect-query
7+
8+
FROM gcr.io/distroless/nodejs18-debian11
9+
COPY --link --from=build /app /app
10+
USER nobody
11+
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-connect-query" ]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: v1
2+
name: buf.build/bufbuild/connect-query
3+
plugin_version: v0.1.1
4+
source_url: https://github.com/bufbuild/connect-query
5+
description: Generates client stubs for calling Connect services with TanStack Query.
6+
deps:
7+
- plugin: buf.build/bufbuild/es:v1.1.0
8+
output_languages:
9+
- javascript
10+
- typescript
11+
registry:
12+
npm:
13+
import_style: module
14+
rewrite_import_path_suffix: connectquery.js
15+
deps:
16+
- package: '@bufbuild/connect-query'
17+
version: ^0.1.1
18+
- package: '@bufbuild/protobuf'
19+
version: ^1.1.0
20+
spdx_license_id: Apache-2.0
21+
license_url: https://github.com/bufbuild/connect-query/blob/main/LICENSE

plugins/bufbuild/connect-query/v0.1.1/package-lock.json

+94
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "plugins-bufbuild-connect-query",
3+
"version": "1.0.0",
4+
"dependencies": {
5+
"@bufbuild/protoc-gen-connect-query": "0.1.1"
6+
}
7+
}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!Dockerfile
3+
!package*.json

plugins/bufbuild/es/v1.1.0/Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# syntax=docker/dockerfile:1.4
2+
FROM node:18.14.2-alpine3.17 AS build
3+
WORKDIR /app
4+
COPY --link package*.json .
5+
RUN npm ci
6+
RUN sed -i -e 's|/usr/bin/env node|/nodejs/bin/node|g' /app/node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
7+
8+
FROM gcr.io/distroless/nodejs18-debian11
9+
COPY --link --from=build /app /app
10+
USER nobody
11+
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-es" ]
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: v1
2+
name: buf.build/bufbuild/es
3+
plugin_version: v1.1.0
4+
source_url: https://github.com/bufbuild/protobuf-es
5+
description: Base types for TypeScript/JavaScript for use in web browsers and Node.js. Generates message and enum types.
6+
output_languages:
7+
- javascript
8+
- typescript
9+
registry:
10+
npm:
11+
import_style: module
12+
rewrite_import_path_suffix: pb.js
13+
deps:
14+
- package: '@bufbuild/protobuf'
15+
version: ^1.1.0
16+
spdx_license_id: Apache-2.0
17+
license_url: https://github.com/bufbuild/protobuf-es/blob/v1.1.0/LICENSE

plugins/bufbuild/es/v1.1.0/package-lock.json

+93
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "plugins-bufbuild-protobuf-es",
3+
"version": "1.1.0",
4+
"dependencies": {
5+
"@bufbuild/protoc-gen-es": "1.1.0"
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:3VOODCN8b7hIOjGkiL9Dt9oCgOxGibsJgZgz2Vxys0k=
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:vu/Cq7Whwe2Shvk4bPFa0uuHhMetkNF1TappF813cRU=
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:M+oBpqGaHCYaVV8IyPteMTYfkorCS4sD+r+FwuQa6Yw=
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:8JHqBXKNwTD6KT8VJIOgcKvFG4IsU5d0hFE11Iq8Cpo=

0 commit comments

Comments
 (0)