Skip to content

Commit

Permalink
node: remove generated grpc files (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Nov 2, 2024
1 parent d6e3786 commit 9093464
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 6,900 deletions.
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

0 comments on commit 9093464

Please sign in to comment.