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 @bufbuild #337

Merged
merged 17 commits into from
Feb 21, 2023
Merged
10 changes: 5 additions & 5 deletions packages/status-js/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: v1beta1

version: v1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses stable version (see https://docs.buf.build/generate/usage).

plugins:
- name: ts_proto
out: ./src/proto
opt: grpc_js,esModuleInterop=true
- name: es
path: ./node_modules/.bin/protoc-gen-es
opt: target=ts
out: ./src/protos
11 changes: 6 additions & 5 deletions packages/status-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"format": "prettier --write src",
"protos": "protons protos/*.proto",
"protos:list": "buf ls-files src/protos",
"protos:lint": "buf lint src/protos",
"protos": "buf generate src/protos",
"clean": "rm -rf dist node_modules .turbo"
},
"dependencies": {
"@bufbuild/protobuf": "^1.0.0",
"ethereum-cryptography": "^1.0.3",
"js-waku": "^0.30.0",
"long": "^5.2.0",
"protobufjs": "^6.11.3",
"protons-runtime": "^1.0.4"
"long": "^5.2.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need Long package?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed at 2bdcc54

},
"devDependencies": {
"protons": "^3.0.4"
"@bufbuild/protoc-gen-es": "^1.0.0"
},
"files": [
"dist/",
Expand Down
80 changes: 0 additions & 80 deletions packages/status-js/proto/status/v1/communities.proto

This file was deleted.

88 changes: 0 additions & 88 deletions packages/status-js/proto/status/v1/protocol_message.proto

This file was deleted.

Loading