jr-common-micro
v1.1.44
Published
Grpc module configurations, necessary types etc. Also proto files and generated typescript files.
Downloads
1,252
Readme
Common Classes & Items & Proto Files
Grpc module configurations, necessary types etc. Also proto files and generated typescript files.
Note about VSCode integration for proto files
You need to add these lines to .vscode/settings.json file:
{
"protoc": {
"options": ["--proto_path=${workspaceRoot}/proto"]
}
}Important links
Npm dependency line for this package:
"@bergx/jr-common-micro": "git+ssh://[email protected]/BergX-Team/jr-common-micro.git#main"Buf configs: https://buf.build/docs/configuration/v1/buf-gen-yaml
Buf and Nodejs blog: https://slavovojacek.medium.com/grpc-on-node-js-with-buf-and-typescript-part-1-5aad61bab03b
❗ Never upgrade bufbuild and its plugins versions. Because they made significant changes and it breaking our structure.
- https://github.com/bufbuild/buf/issues/2987
- https://github.com/bufbuild/buf/releases
This library is creating awesome types:
type-fest- https://github.com/sindresorhus/type-fest
