unbake-proto 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,9 +6,8 @@ Decompile baked protobuf descriptors into human-readable `.proto` which is seman
6
6
  ## usage
7
7
 
8
8
  ```shell
9
- bun i
10
- bun run unbake <input> # output to stdout
11
- bun run unbake <input> [out_folder] # output to file(s)
9
+ bunx unbake-proto <input> # output to stdout
10
+ bunx unbake-proto <input> [out_folder] # output to file(s)
12
11
  ```
13
12
 
14
13
  ## try
@@ -17,7 +16,7 @@ prepare your `.proto` file and then run the following commands
17
16
 
18
17
  ```shell
19
18
  protoc --descriptor_set_out=baked.pb --include_imports original.proto
20
- bun run unbake baked.pb > unbaked.proto
19
+ bunx unbake-proto baked.pb > unbaked.proto
21
20
  ```
22
21
 
23
22
  there should be no difference between `original.proto` and `unbaked.proto` !
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unbake-proto",
3
3
  "module": "src/index.ts",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "unbake-proto": "dist/index.js"