Skip to content

Commit

Permalink
remove unused deps & move proto to protos
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Sep 18, 2017
1 parent 0e1c03f commit c33e531
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions packages/language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,10 @@
],
"dependencies": {
"extend": "^3.0",
"google-gax": "^0.13.5",
"google-proto-files": "^0.12.0"
"google-gax": "^0.13.5"
},
"devDependencies": {
"mocha": "^3.2.0",
"through2": "^2.0.3"
"mocha": "^3.2.0"
},
"scripts": {
"publish-module": "node ../../scripts/publish.js language",
Expand Down
4 changes: 2 additions & 2 deletions packages/language/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function languageV1(options) {
var v1Protos = {};

extend(v1Protos, gaxGrpc.loadProto(
path.join(__dirname, '..', 'proto',
path.join(__dirname, '..', 'protos',
'google/cloud/language/v1/language_service.proto')
).google.cloud.language.v1);

Expand Down Expand Up @@ -125,7 +125,7 @@ function languageV1beta2(options) {
var v1beta2Protos = {};

extend(v1beta2Protos, gaxGrpc.loadProto(
path.join(__dirname, '..', 'proto',
path.join(__dirname, '..', 'protos',
'google/cloud/language/v1beta2/language_service.proto')
).google.cloud.language.v1beta2);

Expand Down
2 changes: 1 addition & 1 deletion packages/language/src/v1/language_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ function LanguageServiceClientBuilder(gaxGrpc) {
}

var languageServiceStubProtos = gaxGrpc.loadProto(
path.join(__dirname, '..', '..', 'proto', 'google/cloud/language/v1/language_service.proto'));
path.join(__dirname, '..', '..', 'protos', 'google/cloud/language/v1/language_service.proto'));
extend(this, languageServiceStubProtos.google.cloud.language.v1);


Expand Down
2 changes: 1 addition & 1 deletion packages/language/src/v1beta2/language_service_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ function LanguageServiceClientBuilder(gaxGrpc) {
}

var languageServiceStubProtos = gaxGrpc.loadProto(
path.join(__dirname, '..', '..', 'proto', 'google/cloud/language/v1beta2/language_service.proto'));
path.join(__dirname, '..', '..', 'protos', 'google/cloud/language/v1beta2/language_service.proto'));
extend(this, languageServiceStubProtos.google.cloud.language.v1beta2);


Expand Down

0 comments on commit c33e531

Please sign in to comment.