Skip to content

Commit

Permalink
Update bufbuild/es to v1.4.1 (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Oct 27, 2023
1 parent 916c214 commit 6d30174
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/bufbuild/es/v1.4.1/.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/es/v1.4.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:20.9.0-alpine3.18 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-es/bin/protoc-gen-es

FROM gcr.io/distroless/nodejs20-debian12
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-es" ]
18 changes: 18 additions & 0 deletions plugins/bufbuild/es/v1.4.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: v1
name: buf.build/bufbuild/es
plugin_version: v1.4.1
source_url: https://github.com/bufbuild/protobuf-es
integration_guide_url: https://github.com/bufbuild/protobuf-es#quickstart
description: Base types for TypeScript/JavaScript for use in web browsers and Node.js. Generates message and enum types.
output_languages:
- javascript
- typescript
registry:
npm:
import_style: module
rewrite_import_path_suffix: pb.js
deps:
- package: '@bufbuild/protobuf'
version: ^1.4.1
spdx_license_id: Apache-2.0
license_url: https://github.com/bufbuild/protobuf-es/blob/v1.4.1/LICENSE
93 changes: 93 additions & 0 deletions plugins/bufbuild/es/v1.4.1/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/es/v1.4.1/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-bufbuild-protobuf-es",
"version": "1.4.1",
"dependencies": {
"@bufbuild/protoc-gen-es": "1.4.1"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:D1QptvDdJj/MGNlC9MHxm0oGIZASFGKjD32/9sKxkZU=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:QWNOxtR36Ljfm8G1Yt+yVJ9sqp3NUzxyLiYNKxs0c/M=

0 comments on commit 6d30174

Please sign in to comment.