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

node: remove generated grpc files #447

Merged
merged 5 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
/target
/test-ledger
# Solana
test-ledger

yellowstone-grpc-geyser/config-test.json
dump.rdb
*.sw?
.idea/
.vscode
# Rust
target

# Node.js
examples/typescript/dist
examples/typescript/node_modules
yellowstone-grpc-client-nodejs/dist
yellowstone-grpc-client-nodejs/node_modules
yellowstone-grpc-client-nodejs/src/grpc

# Python
venv
__pycache__/
__pycache__/

# IDE
.idea
.vscode

# Configs
yellowstone-grpc-geyser/config-test.json
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The minor version will be incremented upon a breaking change and the patch versi
- geyser: optimize consuming of new filters ([#439](https://github.com/rpcpool/yellowstone-grpc/pull/439))
- proto: add filter by lamports ([#369](https://github.com/rpcpool/yellowstone-grpc/pull/369))
- geyser: use Arc wrapped messages in block message ([#446](https://github.com/rpcpool/yellowstone-grpc/pull/446))
- node: remove generated grpc files ([#447](https://github.com/rpcpool/yellowstone-grpc/pull/447))

### Breaking

Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
clean-nodejs:
rm -rf examples/typescript/dist
rm -rf examples/typescript/node_modules
rm -rf yellowstone-grpc-client-nodejs/dist
rm -rf yellowstone-grpc-client-nodejs/node_modules
rm -rf yellowstone-grpc-client-nodejs/src/grpc
4 changes: 0 additions & 4 deletions examples/typescript/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions yellowstone-grpc-client-nodejs/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion yellowstone-grpc-client-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "npm run grpc-generate && tsc -p .",
"fmt": "prettier -w .",
"grpc-generate": "protoc -I../yellowstone-grpc-proto/proto --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=./src/grpc geyser.proto"
"grpc-generate": "mkdir -p src/grpc && protoc -I../yellowstone-grpc-proto/proto --plugin=node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=src/grpc geyser.proto"
},
"repository": {
"type": "git",
Expand Down
Loading