Skip to content

Commit

Permalink
add node-client
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniels committed Sep 17, 2024
1 parent 258164f commit 057a935
Show file tree
Hide file tree
Showing 6 changed files with 4,464 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpc/examples/echo/node-client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
src/gen
src/index.js
dist
11 changes: 11 additions & 0 deletions rpc/examples/echo/node-client/etc/prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

rm -rf src/gen

# Ours
mkdir -p src/gen/proto/rpc/examples
cp -R ../../../../dist/js/proto/rpc/examples/echo src/gen/proto/rpc/examples

# Third-Party
mkdir -p src/gen/google
cp -R ../../../../dist/js/google/api src/gen/google
Loading

0 comments on commit 057a935

Please sign in to comment.