@bufbuild/protoc-gen-connect-web

v0.1.0
Code generator for connect-web

@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";
npm i @bufbuild/[email protected]

Metadata

Downloads