Skip to content

Commit

Permalink
add tasks API to baseline test (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhenliu-gg5 authored Apr 21, 2020
1 parent d0a7a5c commit f53a0f2
Show file tree
Hide file tree
Showing 31 changed files with 7,791 additions and 0 deletions.
6 changes: 6 additions & 0 deletions baselines/tasks/.eslintignore.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/.coverage
build/
docs/
protos/
system-test/
3 changes: 3 additions & 0 deletions baselines/tasks/.eslintrc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
14 changes: 14 additions & 0 deletions baselines/tasks/.gitignore.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions baselines/tasks/.jsdoc.js.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2020 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: 'tasks',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
33 changes: 33 additions & 0 deletions baselines/tasks/.mocharc.js.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
22 changes: 22 additions & 0 deletions baselines/tasks/.prettierrc.js.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **


module.exports = {
...require('gts/.prettierrc.json')
}
1 change: 1 addition & 0 deletions baselines/tasks/README.md.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Tasks: Nodejs Client
10 changes: 10 additions & 0 deletions baselines/tasks/linkinator.config.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recurse": true,
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
],
"silent": true,
"concurrency": 10
}
51 changes: 51 additions & 0 deletions baselines/tasks/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "tasks",
"version": "0.1.0",
"description": "Tasks client for Node.js",
"repository": "googleapis/nodejs-tasks",
"license": "Apache-2.0",
"author": "Google LLC",
"main": "build/src/index.js",
"files": [
"build/src",
"build/protos"
],
"scripts": {
"clean": "gts clean",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",
"docs": "jsdoc -c .jsdoc.js",
"predocs-test": "npm run docs",
"docs-test": "linkinator docs",
"fix": "gts fix",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
"system-test": "c8 mocha build/system-test",
"test": "c8 mocha build/test"
},
"dependencies": {
"google-gax": "^2.2.0"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.35",
"@types/sinon": "^9.0.0",
"c8": "^7.1.0",
"gts": "2.0.0",
"jsdoc": "^3.6.4",
"jsdoc-fresh": "^1.0.2",
"jsdoc-region-tag": "^1.0.4",
"linkinator": "^2.0.6",
"mocha": "^6.2.3",
"null-loader": "^4.0.0",
"pack-n-play": "^1.0.0-2",
"sinon": "^9.0.2",
"ts-loader": "^7.0.0",
"typescript": "~3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"engines": {
"node": ">=10.0.0"
}
}
1 change: 1 addition & 0 deletions baselines/tasks/package.json.baseline
20 changes: 20 additions & 0 deletions baselines/tasks/proto.list.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
google/api/http.proto
google/protobuf/descriptor.proto
google/api/annotations.proto
google/api/client.proto
google/api/field_behavior.proto
google/api/resource.proto
google/cloud/tasks/v2/target.proto
google/protobuf/duration.proto
google/protobuf/timestamp.proto
google/cloud/tasks/v2/queue.proto
google/protobuf/any.proto
google/rpc/status.proto
google/cloud/tasks/v2/task.proto
google/iam/v1/options.proto
google/type/expr.proto
google/iam/v1/policy.proto
google/iam/v1/iam_policy.proto
google/protobuf/empty.proto
google/protobuf/field_mask.proto
google/cloud/tasks/v2/cloudtasks.proto
Loading

0 comments on commit f53a0f2

Please sign in to comment.