Skip to content

Commit bdf8cf4

Browse files
authored
Merge pull request #164 from googleapis/google-auth-library-nodejs-migration
chore: Google auth library nodejs migration
2 parents ab3fa36 + 3b4e83a commit bdf8cf4

File tree

179 files changed

+40306
-6
lines changed

Some content is hidden

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

179 files changed

+40306
-6
lines changed

.github/scripts/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"description": "tests for script",
55
"scripts": {
66
"test": "mocha tests/close-invalid-link.test.cjs && mocha tests/close-or-remove-response-label.test.cjs",
7+
"prelint": "echo 'No prelint needed for script tests'",
8+
"lint": "echo 'No linting needed for script tests'",
79
"samples-test": "echo 'no samples test!'",
810
"system-test": "echo 'no system test!'"
911
},

.release-please-manifest.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"dev-packages/jsdoc-fresh": "5.0.2",
33
"dev-packages/jsdoc-region-tag": "4.0.1",
4-
"dev-packages/pack-n-play": "4.2.1",
54
"dev-packages/logging-utils": "1.1.2",
5+
"dev-packages/pack-n-play": "4.2.1",
6+
"generator/google-auth-library-nodejs": "10.5.0",
7+
"packages/gax": "5.0.5",
68
"packages/gaxios": "7.1.3",
79
"packages/gcp-metadata": "8.1.2",
810
"packages/proto3-json-serializer-nodejs": "3.0.4",
9-
"packages/gax": "5.0.5",
1011
"packages/tools": "1.0.4"
1112
}

ci/run_conditional_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ subdirs=(
7777
)
7878

7979
RETVAL=0
80-
tests_with_credentials="packages/google-auth-library-nodejs"
80+
tests_with_credentials="packages/google-auth-library-nodejs/"
8181

8282
for subdir in ${subdirs[@]}; do
8383
for d in `ls -d ${subdir}/*/`; do
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
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
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+
}
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: 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: 397c0bfd367a2427104f988d5329bc117caafd95
19+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
node_modules
2+
build/
3+
.idea
4+
.vscode
5+
docs/
6+
npm-debug.log
7+
.coverage
8+
coverage
9+
yarn-error.log
10+
samples/*.keys.json
11+
.nyc_output
12+
package-lock.json
13+
yarn.lock
14+
dist/
15+
__pycache__
16+
.DS_Store
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright 2019 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+
// https://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+
//
15+
16+
'use strict';
17+
18+
module.exports = {
19+
opts: {
20+
readme: './README.md',
21+
package: './package.json',
22+
template: './node_modules/jsdoc-fresh',
23+
recurse: true,
24+
verbose: true,
25+
destination: './docs/',
26+
},
27+
plugins: ['plugins/markdown', 'jsdoc-region-tag'],
28+
source: {
29+
include: ['build/src'],
30+
includePattern: '\\.js$',
31+
},
32+
templates: {
33+
copyright: 'Copyright 2019 Google LLC',
34+
includeDate: false,
35+
sourceFiles: false,
36+
systemName: 'google-auth-library',
37+
theme: 'lumen',
38+
default: {
39+
outputSourceFiles: false,
40+
},
41+
},
42+
markdown: {
43+
idInHeadings: true,
44+
},
45+
};

0 commit comments

Comments
 (0)