Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit 236a466

Browse files
build: release minified package under new name (#1063)
* build: release minified package under new name * 🦉 Updates from OwlBot * chore: owlbot to ignore custom publish script * fix: add publish script again * 🦉 Updates from OwlBot * fix: owlbot override * docs: mention minified library in README * 🦉 Updates from OwlBot * style: rephrase * fix: move publish min to postpublish npm script * 🦉 Updates from OwlBot Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 561b50c commit 236a466

6 files changed

Lines changed: 69 additions & 7 deletions

File tree

.kokoro/publish-min.sh

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.readme-partials.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
introduction: |-
2-
[Stackdriver Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
2+
[Google Cloud Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
33
monitor, and alert on log data and events from Google Cloud Platform and Amazon Web Services.
4+
5+
If you require lightweight dependencies, an experimental, minified version of
6+
this library is available at [@google-cloud/logging-min](https://www.npmjs.com/package/@google-cloud/logging-min).
7+
Note: `logging-min` is experimental, and its feature surface is subject to
8+
change.
49
body: |-
510
## Batching Writes
611
@@ -19,4 +24,4 @@ body: |-
1924
```
2025
2126
The `@google-cloud/logging` library will handle batching and dispatching
22-
these log lines to the API.
27+
these log lines to the API.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@
1111

1212

1313

14-
[Stackdriver Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
14+
[Google Cloud Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
1515
monitor, and alert on log data and events from Google Cloud Platform and Amazon Web Services.
1616

17+
If you require lightweight dependencies, an experimental, minified version of
18+
this library is available at [@google-cloud/logging-min](https://www.npmjs.com/package/@google-cloud/logging-min).
19+
Note: `logging-min` is experimental, and its feature surface is subject to
20+
change.
21+
1722

1823
A comprehensive list of changes in each version may be found in
1924
[the CHANGELOG](https://github.com/googleapis/nodejs-logging/blob/master/CHANGELOG.md).

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
".trampolinerc",
4141
"pass_down_envvars\+\=\(",
4242
'pass_down_envvars+=(\n "ENVIRONMENT"\n "RUNTIME"'
43-
)
43+
)

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"test": "c8 mocha build/test",
4444
"precompile": "gts clean",
4545
"api-extractor": "api-extractor run --local",
46-
"api-documenter": "api-documenter yaml --input-folder=temp"
46+
"api-documenter": "api-documenter yaml --input-folder=temp",
47+
"postpublish": "./.kokoro/publish-min.sh"
4748
},
4849
"dependencies": {
4950
"@google-cloud/common": "^3.4.1",
@@ -95,7 +96,8 @@
9596
"webpack": "^5.0.0",
9697
"webpack-cli": "^4.0.0",
9798
"@microsoft/api-documenter": "^7.8.10",
98-
"@microsoft/api-extractor": "^7.8.10"
99+
"@microsoft/api-extractor": "^7.8.10",
100+
"uglify-js": "^3.13.5"
99101
},
100102
"engines": {
101103
"node": ">=10"

samples/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66

77
[![Open in Cloud Shell][shell_img]][shell_link]
88

9-
[Stackdriver Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
9+
[Google Cloud Logging](https://cloud.google.com/logging/docs) allows you to store, search, analyze,
1010
monitor, and alert on log data and events from Google Cloud Platform and Amazon Web Services.
1111

12+
If you require lightweight dependencies, an experimental, minified version of
13+
this library is available at [@google-cloud/logging-min](https://www.npmjs.com/package/@google-cloud/logging-min).
14+
Note: `logging-min` is experimental, and its feature surface is subject to
15+
change.
16+
1217
## Table of Contents
1318

1419
* [Before you begin](#before-you-begin)

0 commit comments

Comments
 (0)