Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/nodejs-game-servers #3569

Merged
merged 186 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
4bb05f4
Initial client library creation
telpirion Feb 10, 2020
d34f2b1
Adds skip rules for linkinator
telpirion Feb 10, 2020
9385315
feat: updates package.json files and quickstart
telpirion Feb 11, 2020
6bc706f
Adds quickstart
telpirion Feb 21, 2020
38d4a36
build: get the build passing (#17)
yoshi-automation Mar 1, 2020
f1571c4
build: get sample and system tests passing (#18)
JustinBeckwith Mar 1, 2020
5e38dd5
chore(deps): update dependency @types/mocha (#1)
renovate-bot Mar 1, 2020
9d73f75
chore(deps): update dependency c8 to v7 (#2)
renovate-bot Mar 1, 2020
817ef3e
chore: release 1.0.0 (#4)
release-please[bot] Mar 2, 2020
1530a06
feat: adds CRUD samples for GS realms (#21)
telpirion Mar 3, 2020
996e75d
chore: release 1.1.0 (#22)
release-please[bot] Mar 3, 2020
0254ed4
test: adds cleanup function for tests (#28)
telpirion Mar 10, 2020
8e17b2a
build: update linkinator config (#25)
JustinBeckwith Mar 11, 2020
f1a49b4
build(tests): fix coveralls and enable build cop (#27)
bcoe Mar 11, 2020
abb25c0
chore: remove snippet leading whitespace (#30)
chingor13 Mar 19, 2020
5a1fe11
chore: regenerate the code (#34)
yoshi-automation Mar 25, 2020
bbcc5d2
feat!: drop node8 support (#37)
alexander-fenster Mar 31, 2020
7f4c485
build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits …
bcoe Apr 1, 2020
d28cfab
chore(deps): update dependency @types/sinon to v9 (#40)
renovate-bot Apr 1, 2020
edb1713
refactor: changes child_type to type field (#42)
yoshi-automation Apr 2, 2020
ab659a0
chore: remove duplicate mocha config (#44)
JustinBeckwith Apr 5, 2020
4f34079
fix: export explicit version from protos.js (#43)
yoshi-automation Apr 7, 2020
73580b5
test: await assert.reject (#45)
yoshi-automation Apr 8, 2020
46b3a71
chore(deps): update dependency gts to v2.0.0 (#46)
renovate-bot Apr 10, 2020
c647ce1
fix: remove eslint, update gax, fix generated protos, run the generat…
alexander-fenster Apr 11, 2020
f290c9c
build: remove unused codecov config (#49)
JustinBeckwith Apr 12, 2020
28e7087
chore: minor proto updates (#50)
yoshi-automation Apr 13, 2020
377b9ed
chore: update lint ignore files (#51)
JustinBeckwith Apr 13, 2020
16ea865
chore: remove tslint.json (#52)
JustinBeckwith Apr 14, 2020
dbca324
chore: remove unused dev packages (#53)
JustinBeckwith Apr 14, 2020
f654f6b
chore(deps): update dependency ts-loader to v7 (#54)
renovate-bot Apr 15, 2020
1fa182d
chore(deps): update dependency null-loader to v4 (#56)
renovate-bot Apr 15, 2020
86639d1
chore: run fix instead of lint in synthfile (#57)
JustinBeckwith Apr 15, 2020
a4f785c
build: generator updates and new coverage approach (#59)
yoshi-automation Apr 27, 2020
b87f31c
chore(deps): update dependency uuid to v8 (#63)
renovate-bot May 1, 2020
d7adfc7
chore: update npm scripts and synth.py (#60)
alexander-fenster May 6, 2020
9ecfcb5
feat: check status of long running operation by its name (#65)
alexander-fenster May 6, 2020
9af5c17
build: do not fail builds on codecov errors (#528) (#67)
yoshi-automation May 8, 2020
0236920
build: update protos.js (#68)
yoshi-automation Jun 4, 2020
9465fb6
chore: release 2.0.0 (#38)
release-please[bot] Jun 4, 2020
5443a00
chore(deps): update dependency mocha to v8 (#72)
renovate-bot Jun 11, 2020
e132f6b
build: ts target updated to es2018 (#70)
yoshi-automation Jun 12, 2020
d9b7d92
fix: proper fallback option handling (#74)
yoshi-automation Jun 15, 2020
0a8bc21
chore: release 2.0.1 (#75)
release-please[bot] Jun 16, 2020
c2be8c9
chore: update node issue template (#76)
yoshi-automation Jun 18, 2020
1cf42b7
fix: correct return type of delete operations (#79)
alexander-fenster Jul 9, 2020
95112ce
chore: release 2.0.2 (#82)
release-please[bot] Jul 10, 2020
6104838
chore(deps): update dependency ts-loader to v8 (#83)
renovate-bot Jul 10, 2020
a0293ae
build: typo in gitattribute (#85)
yoshi-automation Jul 10, 2020
100c9b5
chore(deps): update dependency @types/mocha to v8 (#86)
renovate-bot Jul 12, 2020
91da208
chore: update generated protos.js (#88)
yoshi-automation Jul 15, 2020
65b3726
build: missing closing paren in publish script (#89)
yoshi-automation Jul 15, 2020
ca119c2
docs(samples): Add Game Server deployment samples (#92)
pooneh-m Jul 16, 2020
7a787a1
chore: updates to readme, add Node8 tests
yoshi-automation Jul 17, 2020
f9e2800
chore: add dev dependencies for cloud-rad ref docs (#103)
fhinkel Jul 21, 2020
73194f6
chore: add config files for cloud-rad for node.js, delete Node 8 temp…
yoshi-automation Jul 24, 2020
f51799c
docs: update README with additional samples (#104)
yoshi-automation Jul 25, 2020
c628df0
build: update gitattributes and docs release scripts (#105)
yoshi-automation Jul 27, 2020
b314937
chore(node): fix kokoro build path for cloud-rad (#106)
yoshi-automation Jul 29, 2020
453ca32
build: update protos (#107)
yoshi-automation Jul 31, 2020
623cbd0
docs: add links to the CHANGELOG from the README.md for Java and Node…
yoshi-automation Jul 31, 2020
f307fd2
feat: v1 API surface (#109)
bcoe Aug 5, 2020
eb2a63a
chore: release 2.1.0 (#110)
release-please[bot] Aug 5, 2020
4aaa03f
build: stop passing credential file to secret manager
yoshi-automation Aug 11, 2020
2ffddd4
build: use gapic-generator-typescript v1.0.7. (#113)
yoshi-automation Aug 12, 2020
ff0550b
chore: update cloud rad kokoro build job (#114)
yoshi-automation Aug 12, 2020
b7b5e7d
build: perform publish using Node 12 (#115)
yoshi-automation Aug 13, 2020
3d5bc71
chore: start tracking obsolete files (#116)
yoshi-automation Aug 19, 2020
abf940d
build: move system and samples test from Node 10 to Node 12 (#117)
yoshi-automation Aug 21, 2020
6974977
build: track flaky tests for "nightly", add new secrets for tagging (…
yoshi-automation Aug 28, 2020
d7f040e
build(test): recursively find test files; fail on unsupported depende…
yoshi-automation Sep 12, 2020
ab0fbcd
chore(deps): update dependency webpack-cli to v4 (#127)
renovate-bot Oct 12, 2020
4184f59
chore(deps): update dependency webpack to v5 (#126)
renovate-bot Oct 14, 2020
de922d4
build: update to the latest build config (#129)
yoshi-automation Oct 29, 2020
d4a8fb6
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#130)
yoshi-automation Nov 2, 2020
c4d64f4
build: add v1.GameServerClustersServiceClient type (#131)
yoshi-automation Nov 6, 2020
3b4e190
fix: do not modify options object, use defaultScopes (#132)
alexander-fenster Nov 7, 2020
a1e6778
chore: release 2.1.1 (#133)
release-please[bot] Nov 11, 2020
94ab39b
fix(browser): check for fetch on window (#136)
yoshi-automation Nov 23, 2020
b1ad4ff
docs: spelling correction for "targetting" (#138)
yoshi-automation Nov 25, 2020
824e6c5
chore: release 2.1.2 (#137)
release-please[bot] Dec 2, 2020
a2d9451
chore: generate GAPIC metadata JSON file (#139)
yoshi-automation Dec 4, 2020
defb719
docs: add instructions for authenticating for system tests (#140)
yoshi-automation Dec 22, 2020
9c3b1b6
docs: update dates (#141)
yoshi-automation Jan 7, 2021
a4e9998
feat: adds style enumeration (#142)
yoshi-automation Jan 9, 2021
87e875e
chore: release 2.2.0 (#143)
release-please[bot] Jan 12, 2021
fe5499b
refactor(nodejs): move build cop to flakybot (#145)
yoshi-automation Jan 27, 2021
9731914
build: adds UNORDERED_LIST enum (#146)
yoshi-automation Feb 4, 2021
94a791d
feat(docs): update release level to ga (#147)
bcoe Mar 1, 2021
628cf69
chore: release 2.3.0 (#148)
release-please[bot] Mar 2, 2021
973e73b
build: update gapic-generator-typescript to v1.2.10. (#149)
yoshi-automation Mar 7, 2021
455c3af
chore(deps): update dependency sinon to v10 (#151)
renovate-bot Mar 23, 2021
2b4a82f
chore(deps): update dependency @types/sinon to v10 (#154)
renovate-bot Apr 14, 2021
b93766c
chore: migrate gaming/{v1, v1beta} to the PHP microgenerator (#155)
yoshi-automation Apr 19, 2021
d7e0316
chore(deps): update dependency ts-loader to v9 (#158)
renovate-bot Apr 19, 2021
8d4c3bc
chore: regenerate common templates (#157)
yoshi-automation Apr 20, 2021
4ccddc6
build: warn uses when they edit auto-generated files (#160)
yoshi-automation Apr 28, 2021
36c8b2b
changes without context (#161)
yoshi-automation Apr 29, 2021
71b94e0
fix(deps): require google-gax v2.12.0 (#162)
alexander-fenster May 7, 2021
5b140ae
chore: migrate to owl bot (#153)
SurferJeffAtGoogle May 18, 2021
44262c9
build: ignore CODEOWNERS file temporarily to test auto-approve.yml (#…
sofisl May 19, 2021
b85e3c6
build: add auto-approve (#170)
sofisl May 20, 2021
233491e
chore: release 2.3.1 (#163)
release-please[bot] May 20, 2021
92e6f54
chore(deps): update dependency @types/node to v14 (#172)
renovate-bot May 21, 2021
98c900b
fix: use require() to load JSON protos (#164)
yoshi-automation May 24, 2021
0f97a7c
chore: release 2.3.2 (#173)
release-please[bot] May 24, 2021
9b929ff
chore(deps): update dependency sinon to v11 (#174)
renovate-bot May 25, 2021
2b83784
chore: make generate_index_ts() deterministic (#176)
gcf-owl-bot[bot] May 29, 2021
44041fc
fix: GoogleAdsError missing using generator version after 1.3.0 (#175)
gcf-owl-bot[bot] Jun 10, 2021
536370e
chore: release 2.3.3 (#180)
release-please[bot] Jun 10, 2021
9bbc198
chore(nodejs): remove api-extractor dependencies (#183)
fhinkel Jun 10, 2021
dd99c5c
build: typo in package_name field (#185)
gcf-owl-bot[bot] Jun 14, 2021
a37cdb6
fix: make request optional in all cases (#186)
gcf-owl-bot[bot] Jun 22, 2021
85feaf5
chore: release 2.3.4 (#187)
release-please[bot] Jun 22, 2021
dfaca16
fix(deps): google-gax v2.17.0 with mTLS (#192)
bcoe Jun 29, 2021
0a7d038
chore: release 2.3.5 (#193)
release-please[bot] Jun 29, 2021
3f79276
fix(deps): google-gax v2.17.1 (#196)
bcoe Jul 12, 2021
16836df
chore: release 2.3.6 (#197)
release-please[bot] Jul 12, 2021
729e658
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
f9f0958
chore: release 2.3.7 (#199)
release-please[bot] Jul 16, 2021
dadda94
chore(nodejs): update client ref docs link in metadata (#204)
fhinkel Aug 4, 2021
9962122
fix(build): migrate to using main branch (#206)
sofisl Aug 14, 2021
4fa6330
fix(deps): google-gax v2.24.1 (#208)
bcoe Aug 17, 2021
15838aa
chore: release 2.3.8 (#207)
release-please[bot] Aug 17, 2021
bab2812
feat: turns on self-signed JWT feature flag (#209)
gcf-owl-bot[bot] Aug 23, 2021
b1640c6
chore: release 2.4.0 (#210)
release-please[bot] Aug 24, 2021
f23e88b
feat: support version reporting API (#213)
gcf-owl-bot[bot] Aug 28, 2021
c3c2136
chore: release 2.5.0 (#214)
release-please[bot] Aug 30, 2021
8d7889b
chore: relocate owl bot post processor (#218)
SurferJeffAtGoogle Sep 21, 2021
5e7c7e9
docs(samples): add auto-generated samples for Node with api short nam…
gcf-owl-bot[bot] Sep 28, 2021
8aa9aa8
build(node): update deps used during postprocessing (#1243) (#224)
gcf-owl-bot[bot] Oct 14, 2021
7043db3
chore(deps): update dependency @types/node to v16 (#225)
renovate-bot Oct 26, 2021
fdbb5ae
chore(cloud-rad): delete api-extractor config (#226)
fhinkel Nov 3, 2021
1bdd957
chore(deps): update dependency sinon to v12 (#227)
renovate-bot Nov 4, 2021
4759759
docs: fix docstring formatting (#228)
gcf-owl-bot[bot] Nov 8, 2021
5fdd967
docs(samples): add example tags to generated samples (#229)
gcf-owl-bot[bot] Nov 11, 2021
ee8bac4
docs: add update samples (#230)
irataxy Nov 18, 2021
e181c47
build: add generated samples to .eslintignore (#231)
gcf-owl-bot[bot] Dec 9, 2021
701fdef
docs(node): support "stable"/"preview" release level (#1312) (#234)
gcf-owl-bot[bot] Dec 29, 2021
33373fa
chore: add api_shortname and library_type to repo metadata (#233)
parthea Dec 30, 2021
09fcca1
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
1c34e58
test(nodejs): remove 15 add 16 (#1322) (#238)
gcf-owl-bot[bot] Jan 11, 2022
62d6bc3
chore(deps): update dependency gts to v3 (#239)
renovate-bot Jan 13, 2022
7c097e0
build: update copyright year to 2022 (#241)
gcf-owl-bot[bot] Jan 20, 2022
c3e3ece
chore: update v2.12.0 gapic-generator-typescript (#243)
gcf-owl-bot[bot] Jan 26, 2022
f63d276
chore(deps): update dependency sinon to v13 (#245)
renovate-bot Jan 31, 2022
3672d72
docs(nodejs): version support policy edits (#1346) (#247)
gcf-owl-bot[bot] Feb 3, 2022
34ba82d
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
e768ea0
chore: update v2.14.2 gapic-generator-typescript (#252)
gcf-owl-bot[bot] Mar 17, 2022
df315fe
chore: remove unused imports (#253)
gcf-owl-bot[bot] Apr 1, 2022
e88c98b
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
a31b9e2
chore(deps): update dependency @types/mocha to v9 (#261)
renovate-bot May 3, 2022
1b73165
chore(deps): update dependency sinon to v14 (#264)
renovate-bot May 9, 2022
c1af2fc
build!: update library to use Node 12 (#266)
alexander-fenster May 17, 2022
7977bdf
chore(main): release 3.0.0 (#267)
release-please[bot] May 18, 2022
98c067d
chore(deps): update dependency jsdoc-fresh to v2 (#269)
renovate-bot Jun 10, 2022
2be8063
chore(deps): update dependency jsdoc-region-tag to v2 (#270)
renovate-bot Jun 10, 2022
fc932ce
feat: support regapic LRO
gcf-owl-bot[bot] Jul 5, 2022
099b4f9
chore(main): release 3.1.0 (#272)
release-please[bot] Jul 5, 2022
a9dc9f1
chore(deps): update dependency linkinator to v4 (#274)
renovate-bot Jul 8, 2022
f8e5e60
chore: remove unused proto imports (#304)
gcf-owl-bot[bot] Aug 19, 2022
396b9b4
fix: better support for fallback mode (#305)
gcf-owl-bot[bot] Aug 23, 2022
c506d56
fix: change import long to require (#306)
gcf-owl-bot[bot] Aug 23, 2022
a6361ce
fix: do not import the whole google-gax from proto JS (#1553) (#309)
gcf-owl-bot[bot] Aug 27, 2022
4067666
fix: allow passing gax instance to client constructor (#310)
gcf-owl-bot[bot] Sep 1, 2022
ae10866
chore(main): release 3.1.1 (#307)
release-please[bot] Sep 7, 2022
1fa9125
chore(deps): update dependency uuid to v9 (#312)
renovate-bot Sep 8, 2022
15e32f9
fix: preserve default values in x-goog-request-params header (#313)
gcf-owl-bot[bot] Sep 14, 2022
637ee26
test: use fully qualified request type name in tests (#343)
gcf-owl-bot[bot] Sep 22, 2022
e5a3e51
chore(main): release 3.1.2 (#314)
release-please[bot] Sep 22, 2022
36df4f1
fix(deps): use google-gax v3.5.2 (#349)
alexander-fenster Nov 4, 2022
dc0afc8
chore(deps): update dependency @types/node to v18 (#347)
renovate-bot Nov 10, 2022
ed40f4f
fix: regenerated protos JS and TS definitions (#353)
gcf-owl-bot[bot] Nov 10, 2022
a841b9b
chore(deps): update dependency jsdoc to v4 (#352)
renovate-bot Nov 10, 2022
a305e58
chore(main): release 3.1.3 (#351)
release-please[bot] Nov 11, 2022
ddee1ad
Merge remote-tracking branch 'migration/main' into nodejs-game-server…
sofisl Nov 11, 2022
e75efaf
build: add release-please config, fix owlbot-config
sofisl Nov 11, 2022
17ddc77
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 11, 2022
e7d9798
samples: delete extra test
sofisl Nov 12, 2022
28c65ea
Merge branch 'main' into nodejs-game-servers-migration
sofisl Nov 12, 2022
b3f4de1
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 12, 2022
850d22c
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 12, 2022
cda8232
Merge branch 'nodejs-game-servers-migration' of https://github.com/go…
gcf-owl-bot[bot] Nov 12, 2022
e3ea05c
Merge branch 'main' into nodejs-game-servers-migration
sofisl Nov 12, 2022
67ec3b8
Merge branch 'main' into nodejs-game-servers-migration
sofisl Nov 12, 2022
323b6b1
Merge branch 'main' into nodejs-game-servers-migration
sofisl Nov 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-functions": "2.2.3",
"packages/google-cloud-documentai": "6.1.0",
"packages/google-cloud-gkeconnect-gateway": "2.0.5",
Expand Down
24 changes: 24 additions & 0 deletions packages/google-cloud-gaming/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2021 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
#
# http://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.


deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/gaming/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-gaming/$1

begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b

7 changes: 7 additions & 0 deletions packages/google-cloud-gaming/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-cloud-gaming/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-cloud-gaming/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-cloud-gaming/.gitignore
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 packages/google-cloud-gaming/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 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 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/game-servers',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-gaming/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2022 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
//
// http://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.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
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
5 changes: 5 additions & 0 deletions packages/google-cloud-gaming/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
24 changes: 24 additions & 0 deletions packages/google-cloud-gaming/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-cloud-gaming/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-cloud-gaming/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2022 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.

module.exports = {
...require('gts/.prettierrc.json')
}
16 changes: 16 additions & 0 deletions packages/google-cloud-gaming/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/game-servers/latest",
"product_documentation": "https://cloud.google.com/game-servers/",
"name": "game-servers",
"requires_billing": true,
"release_level": "stable",
"language": "nodejs",
"api_id": "gameservices.googleapis.com",
"distribution_name": "@google-cloud/game-servers",
"repo": "googleapis/google-cloud-node",
"issue_tracker": "",
"name_pretty": "Google Cloud Game Servers",
"default_version": "v1",
"api_shortname": "gameservices",
"library_type": "GAPIC_AUTO"
}
Loading