Skip to content

Commit

Permalink
build: add error_details definitions
Browse files Browse the repository at this point in the history
Add js & type definitions generated from error_details.proto.

Fixes: googleapis#77
  • Loading branch information
ofrobots committed Nov 30, 2017
1 parent 427214c commit 71cc406
Show file tree
Hide file tree
Showing 3 changed files with 4,403 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"prepare": "npm run compile",
"pretest": "npm run compile",
"posttest": "npm run check",
"proto": "npm run proto:profile && npm run proto:profiler",
"proto": "npm run proto:profile && npm run proto:profiler && npm run proto:error-details",
"proto:error-details": "mkdir -p proto && pbjs -t static-module -w commonjs -o proto/error-details.js third_party/googleapis/google/rpc/error_details.proto && pbts -o proto/error-details.d.ts proto/error-details.js",
"proto:profile": "mkdir -p proto && pbjs -t static-module -w commonjs -o proto/profile.js third_party/proto/profile.proto && pbts -o proto/profile.d.ts proto/profile.js",
"proto:profiler": "mkdir -p proto && pbjs -t static-module -w commonjs -o proto/profiler.js third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto && pbts -o proto/profiler.d.ts proto/profiler.js"
},
Expand Down
Loading

0 comments on commit 71cc406

Please sign in to comment.