Skip to content

Commit 4c0c34d

Browse files
committed
Merge remote-tracking branch 'migration/main' into nodejs-common-migration
2 parents 8b34814 + 5d7350f commit 4c0c34d

92 files changed

Lines changed: 10458 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core/common/.compodocrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
tsconfig: ./tsconfig.json
3+
output: ./docs
4+
theme: material
5+
hideGenerator: true
6+
disablePrivate: true
7+
disableProtected: true
8+
disableInternal: true
9+
disableCoverage: true
10+
disableGraph: true

core/common/.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**/node_modules
2+
**/coverage
3+
test/fixtures
4+
build/
5+
docs/
6+
protos/
7+
samples/generated/
8+
system-test/**/fixtures

core/common/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "./node_modules/gts"
3+
}

core/common/.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.ts text eol=lf
2+
*.js text eol=lf
3+
protos/* linguist-generated
4+
**/api-extractor.json linguist-language=JSON-with-Comments
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
docker:
15+
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
16+
digest: sha256:c7e4968cfc97a204a4b2381f3ecb55cabc40c4cccf88b1ef8bef0d976be87fee
17+
# created: 2025-04-08T17:33:08.498793944Z

core/common/.github/.OwlBot.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
docker:
15+
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
16+
17+
18+
begin-after-commit-hash: 674a41e0de2869f44f45eb7b1a605852a5394bba
19+

core/common/.github/CODEOWNERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Code owners file.
2+
# This file controls who is tagged for review for any given pull request.
3+
#
4+
# For syntax help see:
5+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
6+
7+
8+
# Unless specified, the jsteam is the default owner for nodejs repositories.
9+
* @googleapis/jsteam-handwritten-libraries @googleapis/jsteam
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
labels: 'type: bug, priority: p2'
5+
---
6+
7+
Thanks for stopping by to let us know something could be better!
8+
9+
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
10+
11+
1) Is this a client library issue or a product issue?
12+
This is the client library for . We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the [ Support page]() to reach the most relevant engineers.
13+
14+
2) Did someone already solve this?
15+
- Search the issues already opened: https://github.com/googleapis/nodejs-common/issues
16+
- Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-node
17+
- Search or ask on StackOverflow (engineers monitor these tags): http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
18+
19+
3) Do you have a support contract?
20+
Please create an issue in the [support console](https://cloud.google.com/support/) to ensure a timely response.
21+
22+
If the support paths suggested above still do not result in a resolution, please provide the following details.
23+
24+
#### Environment details
25+
26+
- OS:
27+
- Node.js version:
28+
- npm version:
29+
- `@google-cloud/common` version:
30+
31+
#### Steps to reproduce
32+
33+
1. ?
34+
2. ?
35+
36+
Making sure to follow these steps will guarantee the quickest resolution possible.
37+
38+
Thanks!
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
labels:
4+
- bug
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: >
9+
**PLEASE READ**: If you have a support contract with Google, please
10+
create an issue in the [support
11+
console](https://cloud.google.com/support/) instead of filing on GitHub.
12+
This will ensure a timely response. Otherwise, please make sure to
13+
follow the steps below.
14+
- type: checkboxes
15+
attributes:
16+
label: Please make sure you have searched for information in the following
17+
guides.
18+
options:
19+
- label: "Search the issues already opened:
20+
https://github.com/GoogleCloudPlatform/google-cloud-node/issues"
21+
required: true
22+
- label: "Search StackOverflow:
23+
http://stackoverflow.com/questions/tagged/google-cloud-platform+nod\
24+
e.js"
25+
required: true
26+
- label: "Check our Troubleshooting guide:
27+
https://github.com/googleapis/google-cloud-node/blob/main/docs/trou\
28+
bleshooting.md"
29+
required: true
30+
- label: "Check our FAQ:
31+
https://github.com/googleapis/google-cloud-node/blob/main/docs/faq.\
32+
md"
33+
required: true
34+
- label: "Check our libraries HOW-TO:
35+
https://github.com/googleapis/gax-nodejs/blob/main/client-libraries\
36+
.md"
37+
required: true
38+
- label: "Check out our authentication guide:
39+
https://github.com/googleapis/google-auth-library-nodejs"
40+
required: true
41+
- label: "Check out handwritten samples for many of our APIs:
42+
https://github.com/GoogleCloudPlatform/nodejs-docs-samples"
43+
required: true
44+
- type: textarea
45+
attributes:
46+
label: >
47+
A screenshot that you have tested with "Try this API".
48+
description: >
49+
As our client libraries are mostly autogenerated, we kindly request
50+
that you test whether your issue is with the client library, or with the
51+
API itself. To do so, please search for your API
52+
here: https://developers.google.com/apis-explorer and attempt to
53+
reproduce the issue in the given method. Please include a screenshot of
54+
the response in "Try this API". This response should NOT match the current
55+
behavior you are experiencing. If the behavior is the same, it means
56+
that you are likely experiencing a bug with the API itself. In that
57+
case, please submit an issue to the API team, either by submitting an
58+
issue in its issue tracker (https://cloud.google.com/support/docs/issue-trackers), or by
59+
submitting an issue in its linked tracker in the .repo-metadata.json
60+
file
61+
validations:
62+
required: true
63+
- type: input
64+
attributes:
65+
label: >
66+
Link to the code that reproduces this issue. A link to a **public** Github Repository or gist with a minimal
67+
reproduction.
68+
description: >
69+
**Skipping this or providing an invalid link will result in the issue being closed**
70+
validations:
71+
required: true
72+
- type: textarea
73+
attributes:
74+
label: >
75+
A step-by-step description of how to reproduce the issue, based on
76+
the linked reproduction.
77+
description: >
78+
Screenshots can be provided in the issue body below.
79+
placeholder: |
80+
1. Start the application in development (next dev)
81+
2. Click X
82+
3. Y will happen
83+
validations:
84+
required: true
85+
- type: textarea
86+
attributes:
87+
label: A clear and concise description of what the bug is, and what you
88+
expected to happen.
89+
placeholder: Following the steps from the previous section, I expected A to
90+
happen, but I observed B instead
91+
validations:
92+
required: true
93+
94+
- type: textarea
95+
attributes:
96+
label: A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
97+
placeholder: 'Documentation here(link) states that B should happen instead of A'
98+
validations:
99+
required: true
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Google Cloud Support
3+
url: https://cloud.google.com/support/
4+
about: If you have a support contract with Google, please use the Google Cloud Support portal.

0 commit comments

Comments
 (0)