Skip to content

Commit ee21766

Browse files
quirogasfeywind
andauthored
feat(logging): split GAPIC from the logging handwritten package (googleapis#8929)
* feat(logging): use @google-cloud/logging-api dependency * fix: also go ahead and remove local proto files * build: also don't try to build or bundle protos --------- Co-authored-by: feywind <57276408+feywind@users.noreply.github.com>
1 parent 00f4e9d commit ee21766

32 files changed

Lines changed: 15 additions & 110571 deletions

handwritten/logging/.OwlBot.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

handwritten/logging/owlbot.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

handwritten/logging/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,17 @@
2525
"author": "Google Inc.",
2626
"main": "build/src/index.js",
2727
"files": [
28-
"build/src",
29-
"build/protos"
28+
"build/src"
3029
],
3130
"scripts": {
3231
"clean": "gts clean",
33-
"compile": "tsc -p . && cp -r proto* build/",
34-
"compile-protos": "compileProtos src",
32+
"compile": "tsc -p .",
3533
"predocs": "npm run compile",
3634
"docs": "jsdoc -c .jsdoc.js",
3735
"fix": "gts fix",
3836
"prelint": "cd samples; npm link ../; npm install",
3937
"lint": "gts check",
40-
"prepare": "npm run compile-protos && npm run compile",
38+
"prepare": "npm run compile",
4139
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
4240
"presystem-test": "npm run compile",
4341
"system-test": "mocha build/system-test --timeout 600000",
@@ -62,7 +60,8 @@
6260
"long": "^5.3.2",
6361
"on-finished": "^2.3.0",
6462
"pumpify": "^2.0.1",
65-
"stream-events": "^1.0.5"
63+
"stream-events": "^1.0.5",
64+
"@google-cloud/logging-api": "^0.2.0"
6665
},
6766
"devDependencies": {
6867
"@google-cloud/bigquery": "^7.0.0",

handwritten/logging/protos/google/cloud/common_resources.proto

Lines changed: 0 additions & 52 deletions
This file was deleted.

handwritten/logging/protos/google/logging/type/http_request.proto

Lines changed: 0 additions & 95 deletions
This file was deleted.

handwritten/logging/protos/google/logging/type/log_severity.proto

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)