Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yo-mah-Ya committed Oct 21, 2023
1 parent f90488e commit 96c3d3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ yarn add --dev proto-to-ts-type

```sh
protoc \
--plugin="./build/src/protoc-gen-ts-type" \
--plugin="./node_modules/.bin/protoc-gen-ts-type" \
--ts-type_out=. \
proto.proto
```
Expand All @@ -28,9 +28,9 @@ For example, If you'd like to generate `json_name` defined in protofiles as TS t

Each the pair of key and value is supposed to be delimited by equal sign `=`, and comma `,` for each parameters.

```
```sh
protoc \
--plugin="./build/src/protoc-gen-ts-type" \
--plugin="./node_modules/.bin/protoc-gen-ts-type" \
--ts-type_out=. \
--ts-type_opt=useJsonName=true,enumValueAsString=true \
proto.proto
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "proto-to-ts-type",
"version": "0.1.0",
"version": "0.1.1",
"description": "proto-to-ts-type",
"author": "yoshinari-yamanaka",
"license": "MIT",
Expand Down

0 comments on commit 96c3d3f

Please sign in to comment.