Skip to content

Commit

Permalink
ts-proto-descriptors export js only (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
protango authored Jun 13, 2021
1 parent b503b14 commit 32c9a72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protos/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules/
*.js
dist/
3 changes: 2 additions & 1 deletion protos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ protoc \
./node_modules/.bin/tsc \
./index.ts \
./google/protobuf/descriptor.ts \
./google/protobuf/compiler/plugin.ts
./google/protobuf/compiler/plugin.ts \
--outDir dist --declaration



1 change: 1 addition & 0 deletions protos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"keywords": [],
"author": "",
"license": "ISC",
"main": "dist/index.js",
"dependencies": {
"protobufjs": "^6.8.8",
"long": "^4.0.0"
Expand Down

0 comments on commit 32c9a72

Please sign in to comment.