-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Added an experimental --sparse option to limit pbjs output to ac…
…tually referenced types within main files; Other: Added a few more common google types from google/api, see #433
- Loading branch information
Showing
15 changed files
with
561 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,19 @@ node_js: | |
- 4.3.2 | ||
- 6 | ||
- 7 | ||
branches: | ||
only: master | ||
script: npm test && npm run bench | ||
|
||
env: CXX=g++-4.8 | ||
addons: | ||
apt: | ||
sources: ubuntu-toolchain-r-test | ||
packages: g++-4.8 | ||
script: npm test && npm run bench | ||
branches: | ||
only: master | ||
|
||
matrix: | ||
include: | ||
- node_js: 6 | ||
script: set -e; if [ -n "$SAUCE_USERNAME" ]; then npm install [email protected] [email protected]; travis_wait npm run zuul; sleep 3; fi | ||
script: set -e; if [ -n "$SAUCE_USERNAME" ]; then npm install zuul@^3.11.1 zuul-ngrok@^4.0.0; travis_wait npm run zuul; sleep 3; fi | ||
- node_js: 6 | ||
script: npm run coverage-ci | ||
script: npm install coveralls@^2.11.15; npm run coverage-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"nested": { | ||
"google": { | ||
"nested": { | ||
"api": { | ||
"nested": { | ||
"http": { | ||
"type": "HttpRule", | ||
"id": 72295728, | ||
"extend": "google.protobuf.MethodOptions" | ||
}, | ||
"HttpRule": { | ||
"oneofs": { | ||
"pattern": { | ||
"oneof": [ | ||
"get", | ||
"put", | ||
"post", | ||
"delete", | ||
"patch", | ||
"custom" | ||
] | ||
} | ||
}, | ||
"fields": { | ||
"get": { | ||
"type": "string", | ||
"id": 2 | ||
}, | ||
"put": { | ||
"type": "string", | ||
"id": 3 | ||
}, | ||
"post": { | ||
"type": "string", | ||
"id": 4 | ||
}, | ||
"delete": { | ||
"type": "string", | ||
"id": 5 | ||
}, | ||
"patch": { | ||
"type": "string", | ||
"id": 6 | ||
}, | ||
"custom": { | ||
"type": "CustomHttpPattern", | ||
"id": 8 | ||
}, | ||
"selector": { | ||
"type": "string", | ||
"id": 1 | ||
}, | ||
"body": { | ||
"type": "string", | ||
"id": 7 | ||
}, | ||
"additionalBindings": { | ||
"rule": "repeated", | ||
"type": "HttpRule", | ||
"id": 11 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"protobuf": { | ||
"nested": { | ||
"MethodOptions": { | ||
"fields": {}, | ||
"extensions": [ | ||
[ | ||
1000, | ||
536870911 | ||
] | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
|
||
package google.api; | ||
|
||
import "google/api/http.proto"; | ||
import "google/protobuf/descriptor.proto"; | ||
|
||
extend google.protobuf.MethodOptions { | ||
|
||
HttpRule http = 72295728; | ||
} |
Oops, something went wrong.