This package has been deprecated

Author message:

This package is no longer supported. Please switch to use https://www.npmjs.com/package/@bufbuild/protoc-gen-connect-es. Details for switching can be found at https://github.com/bufbuild/connect-es/discussions/647

@bufbuild/protoc-gen-connect-web

0.11.0 • Public • Published

@bufbuild/protoc-gen-connect-web

This package is deprecated.

The code generator protoc-gen-connect-web can now be used for Connect on the Web, and for Connect on Node.js.
For a better fit, we have renamed it to protoc-gen-connect-es in v0.8.0.

The generated code is actually exactly the same, so it is not necessary to update right away, but we are not going to maintain this package anymore.

Switching to @bufbuild/protoc-gen-connect-es is straight-forward:

npm remove @bufbuild/protoc-gen-connect-web
npm install @bufbuild/protoc-gen-connect-es

Update your buf.gen.yaml:

version: v1
plugins:
  - plugin: es
    out: src/gen
-  - plugin: connect-web
+  - plugin: connect-es
    out: src/gen

And your import paths:

- import { ElizaService } from "gen/eliza_connectweb";
+ import { ElizaService } from "gen/eliza_connect";

Readme

Keywords

none

Package Sidebar

Install

npm i @bufbuild/protoc-gen-connect-web

Weekly Downloads

2,230

Version

0.11.0

License

Apache-2.0

Unpacked Size

20.2 kB

Total Files

13

Last publish

Collaborators

  • srikrsna-buf
  • cmahony
  • gwong-buf
  • dfyock-buf
  • jdailey_buf
  • sayers-buf
  • psachs-buf
  • bufbot
  • tstamm-buf
  • bufdev