Skip to content

Commit

Permalink
[2.1.1] Generate Protobuf Language Bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 23, 2025
1 parent 3e72644 commit 5fb484b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ To install

- Install the protobuf compiler (protoc) from [here](https://grpc.io/docs/protoc-installation/#install-pre-compiled-binaries-any-os) (Use the pre-compiled binaries, the `protoc` package in the package manager is outdated)
- Install go
- Run `npm i`
- This will install the Node.js dependencies which are used to generate the Go and JavaScript bindings
- The "postinstall" script will also install the Go dependencies required
- Run `npm i` to install the JS dependencies needed for building
- Run `npm run go:install` to install the Go dependencies
- Run `npm run build`
10 changes: 5 additions & 5 deletions javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pretendonetwork/grpc",
"version": "2.1.0",
"version": "2.1.1",
"license": "AGPL-3.0-only",
"scripts": {
"breaking:gh_actions": "buf breaking --against=.git#ref=master --error-format=github-actions=main",
Expand All @@ -12,11 +12,11 @@
"format": "buf format -w",
"generate:debug": "buf generate --debug && tsc",
"generate": "buf generate && tsc",
"go:install:protoc-gen-go-grpc": "go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest",
"go:install:protoc-gen-go": "go install google.golang.org/protobuf/cmd/protoc-gen-go@latest",
"install:go": "npm-run-all install:go:*",
"install:go:protoc-gen-go-grpc": "go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest",
"install:go:protoc-gen-go": "go install google.golang.org/protobuf/cmd/protoc-gen-go@latest",
"lint:gh_actions": "buf lint --error-format=github-actions",
"lint": "buf lint",
"postinstall": "npm-run-all go:install:*"
"lint": "buf lint"
},
"devDependencies": {
"@bufbuild/buf": "^1.46.0",
Expand Down

0 comments on commit 5fb484b

Please sign in to comment.