Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @grpc/grpc-js instead of grpc #9

Closed
michielbdejong opened this issue Oct 7, 2021 · 2 comments
Closed

Use @grpc/grpc-js instead of grpc #9

michielbdejong opened this issue Oct 7, 2021 · 2 comments

Comments

@michielbdejong
Copy link
Contributor

npm WARN deprecated [email protected]: This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.
@michielbdejong
Copy link
Contributor Author

michielbdejong commented Oct 11, 2021

OK, these are the commands I used to generate the contents of #10:

cd ../cs3apis
ln -s third_party/google
protoc-gen-grpc-ts --ts_out=grpc_js:../node-cs3apis --proto_path . cs3/gateway/v1beta1/gateway_api.proto cs3/gateway/v1beta1/resources.proto cs3/preferences/v1beta1/preferences_api.proto cs3/rpc/v1beta1/code.proto cs3/rpc/v1beta1/status.proto cs3/tx/v1beta1/resources.proto cs3/tx/v1beta1/tx_api.proto cs3/types/v1beta1/types.proto cs3/admin/group/v1beta1/group_api.proto cs3/admin/user/v1beta1/user_api.proto cs3/app/provider/v1beta1/provider_api.proto cs3/app/provider/v1beta1/resources.proto cs3/app/registry/v1beta1/registry_api.proto cs3/app/registry/v1beta1/resources.proto cs3/auth/applications/v1beta1/applications_api.proto cs3/auth/applications/v1beta1/resources.proto cs3/auth/provider/v1beta1/provider_api.proto cs3/auth/provider/v1beta1/resources.proto cs3/auth/registry/v1beta1/registry_api.proto cs3/auth/registry/v1beta1/resources.proto cs3/identity/group/v1beta1/group_api.proto cs3/identity/group/v1beta1/resources.proto cs3/identity/user/v1beta1/resources.proto cs3/identity/user/v1beta1/user_api.proto cs3/ocm/core/v1beta1/ocm_core_api.proto cs3/ocm/core/v1beta1/resources.proto cs3/ocm/invite/v1beta1/invite_api.proto cs3/ocm/invite/v1beta1/resources.proto cs3/ocm/provider/v1beta1/provider_api.proto cs3/ocm/provider/v1beta1/resources.proto cs3/sharing/collaboration/v1beta1/collaboration_api.proto cs3/sharing/collaboration/v1beta1/resources.proto cs3/sharing/link/v1beta1/link_api.proto cs3/sharing/link/v1beta1/resources.proto cs3/sharing/ocm/v1beta1/ocm_api.proto cs3/sharing/ocm/v1beta1/resources.proto cs3/storage/provider/v1beta1/provider_api.proto cs3/storage/provider/v1beta1/resources.proto cs3/storage/registry/v1beta1/registry_api.proto cs3/storage/registry/v1beta1/resources.proto
protoc-gen-grpc --js_out=import_style=commonjs,binary:../node-cs3apis --grpc_out=grpc_js:../node-cs3apis/ --proto_path . cs3/gateway/v1beta1/gateway_api.proto cs3/gateway/v1beta1/resources.proto cs3/preferences/v1beta1/preferences_api.proto cs3/rpc/v1beta1/code.proto cs3/rpc/v1beta1/status.proto cs3/tx/v1beta1/resources.proto cs3/tx/v1beta1/tx_api.proto cs3/types/v1beta1/types.proto cs3/admin/group/v1beta1/group_api.proto cs3/admin/user/v1beta1/user_api.proto cs3/app/provider/v1beta1/provider_api.proto cs3/app/provider/v1beta1/resources.proto cs3/app/registry/v1beta1/registry_api.proto cs3/app/registry/v1beta1/resources.proto cs3/auth/applications/v1beta1/applications_api.proto cs3/auth/applications/v1beta1/resources.proto cs3/auth/provider/v1beta1/provider_api.proto cs3/auth/provider/v1beta1/resources.proto cs3/auth/registry/v1beta1/registry_api.proto cs3/auth/registry/v1beta1/resources.proto cs3/identity/group/v1beta1/group_api.proto cs3/identity/group/v1beta1/resources.proto cs3/identity/user/v1beta1/resources.proto cs3/identity/user/v1beta1/user_api.proto cs3/ocm/core/v1beta1/ocm_core_api.proto cs3/ocm/core/v1beta1/resources.proto cs3/ocm/invite/v1beta1/invite_api.proto cs3/ocm/invite/v1beta1/resources.proto cs3/ocm/provider/v1beta1/provider_api.proto cs3/ocm/provider/v1beta1/resources.proto cs3/sharing/collaboration/v1beta1/collaboration_api.proto cs3/sharing/collaboration/v1beta1/resources.proto cs3/sharing/link/v1beta1/link_api.proto cs3/sharing/link/v1beta1/resources.proto cs3/sharing/ocm/v1beta1/ocm_api.proto cs3/sharing/ocm/v1beta1/resources.proto cs3/storage/provider/v1beta1/provider_api.proto cs3/storage/provider/v1beta1/resources.proto cs3/storage/registry/v1beta1/registry_api.proto cs3/storage/registry/v1beta1/resources.proto 
rm google

Will create a PR on https://github.com/cs3org/cs3apis-build for this.

@michielbdejong

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant