{"_id":"@apachedubbo/protoc-gen-apache-dubbo-web","name":"@apachedubbo/protoc-gen-apache-dubbo-web","dist-tags":{"alpha":"3.0.0-alpha","latest":"3.0.0-alpha"},"versions":{"3.0.0-alpha":{"name":"@apachedubbo/protoc-gen-apache-dubbo-web","version":"3.0.0-alpha","description":"Code generator for Dubbo","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apache/dubbo-js.git","directory":"packages/protoc-gen-apache-dubbo-web"},"bin":{"protoc-gen-apache-dubbo-web":"bin/protoc-gen-apache-dubbo-web"},"engines":{"node":">=16.0.0"},"scripts":{"clean":"rm -rf ./dist/cjs/*","build":"tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs"},"preferUnplugged":true,"dependencies":{"@bufbuild/protobuf":"^1.2.1","@bufbuild/protoplugin":"^1.2.1"},"peerDependencies":{"@apachedubbo/dubbo":"3.0.0-alpha","@bufbuild/protoc-gen-es":"^1.2.1"},"peerDependenciesMeta":{"@apachedubbo/dubbo":{"optional":true},"@bufbuild/protoc-gen-es":{"optional":true}},"gitHead":"dd9eba1b7b4c5d306fc8275537694cca02ad7975","bugs":{"url":"https://github.com/apache/dubbo-js/issues"},"homepage":"https://github.com/apache/dubbo-js#readme","_id":"@apachedubbo/protoc-gen-apache-dubbo-web@3.0.0-alpha","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-0dyipe0yjZiKT73SDOb+9EYZpkcmzZLL5pl4YioIHWYEpN0zXD0go7SmvIXZD/sfcBbmMcbGtlW+CHpnnWQhZw==","shasum":"c96f33202ae6f6950c295cd6fe81712d3c4fe2ee","tarball":"https://registry.npmjs.org/@apachedubbo/protoc-gen-apache-dubbo-web/-/protoc-gen-apache-dubbo-web-3.0.0-alpha.tgz","fileCount":8,"unpackedSize":12136,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwSG29xjKzHms3V6boIdgFg4YscfmlT/tf3Y+rWzoieAIgOeY0pDJdLxEhmN8+CvdbZFmQOumYBqxF5fIStzMzTqA="}]},"_npmUser":{"name":"jianyi-gronk","email":"jianyi_gronk@163.com"},"directories":{},"maintainers":[{"name":"jianyi-gronk","email":"jianyi_gronk@163.com"},{"name":"apache-dubbo","email":"dubbo.alibaba@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protoc-gen-apache-dubbo-web_3.0.0-alpha_1694061704211_0.8603695586650026"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-07T04:41:44.158Z","3.0.0-alpha":"2023-09-07T04:41:44.376Z","modified":"2023-09-07T04:41:44.731Z"},"maintainers":[{"name":"jianyi-gronk","email":"jianyi_gronk@163.com"},{"name":"apache-dubbo","email":"dubbo.alibaba@gmail.com"}],"description":"Code generator for Dubbo","homepage":"https://github.com/apache/dubbo-js#readme","repository":{"type":"git","url":"git+https://github.com/apache/dubbo-js.git","directory":"packages/protoc-gen-apache-dubbo-web"},"bugs":{"url":"https://github.com/apache/dubbo-js/issues"},"license":"Apache-2.0","readme":"# @apachedubbo/protoc-gen-apache-dubbo-web\n\nThis package is deprecated.\n\nThe code generator `@apachedubbo/protoc-gen-apache-dubbo-web` can now be used for Dubbo on the \nWeb, and for Dubbo on Node.js.  \nFor a better fit, we have renamed it to `@apachedubbo/protoc-gen-apache-dubbo-web` in \n[dubbo-js](https://github.com/apache/dubbo-js). \n\nThe generated code is actually exactly the same, so it is not necessary to \nupdate right away, but we are not going to maintain this package anymore.\n\nSwitching to [@apachedubbo/protoc-gen-apache-dubbo-web](https://www.npmjs.com/package/@apachedubbo/protoc-gen-apache-dubbo-web) \nis straight-forward:\n\n```bash\nnpm remove @apachedubbo/protoc-gen-apache-dubbo-es\nnpm install @apachedubbo/protoc-gen-apache-dubbo-web\n```\n\nUpdate your `buf.gen.yaml`:\n\n```diff\nversion: v1\nplugins:\n  - plugin: es\n    out: src/gen\n-  - plugin: connect-web\n+  - plugin: apache-dubbo-es\n    out: src/gen\n```\n\nAnd your import paths:\n\n```diff\n- import { ElizaService } from \"gen/eliza_dubboweb\";\n+ import { ElizaService } from \"gen/eliza_dubbo\";\n```\n\n","readmeFilename":"README.md"}