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-monitoring-dashboards #3408

Merged
merged 182 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
41116c1
chore: add initial files for launch
bcoe Dec 11, 2019
2311ea1
feat!: initial generation of library (#1)
bcoe Jan 4, 2020
932ab06
chore: release 1.0.0 (#4)
release-please[bot] Jan 4, 2020
f51fa58
chore(deps): update dependency mocha to v7 (#6)
renovate-bot Jan 6, 2020
95950d9
chore(deps): update dependency c8 to v7 (#5)
renovate-bot Jan 6, 2020
a2104cf
chore: release 1.0.1 (#8)
release-please[bot] Jan 9, 2020
3700dca
build: generate library with new annotations
yoshi-automation Jan 14, 2020
e4a269a
chore: clear synth.metadata
JustinBeckwith Jan 24, 2020
74a0ad5
chore: regenerate synth.metadata (#14)
yoshi-automation Jan 28, 2020
e27f795
fix: enum, bytes, and Long types now accept strings
yoshi-automation Jan 28, 2020
5f96ccd
chore: release 1.0.2 (#16)
release-please[bot] Jan 30, 2020
0eacd03
chore(deps): update dependency @types/mocha to v7
renovate-bot Jan 30, 2020
4bd848d
chore: release 1.0.2 (#18)
release-please[bot] Jan 30, 2020
67a1b64
chore: fix CHANGELOG
bcoe Jan 30, 2020
94e608e
chore: skip img.shields.io in docs test
JustinBeckwith Feb 1, 2020
bc6d55e
test: modernize mocha config (#21)
JustinBeckwith Feb 1, 2020
fb2ffb4
fix: pass x-goog-request-params header for streaming calls
yoshi-automation Feb 7, 2020
c8dae27
chore(deps): update dependency linkinator to v2
renovate-bot Feb 10, 2020
927272b
build: add GitHub actions config for unit tests
bcoe Feb 12, 2020
f297135
feat: bump the release level to ga (#30)
JustinBeckwith Feb 13, 2020
0888a5f
chore: release 1.1.0 (#31)
release-please[bot] Feb 13, 2020
a9220bb
feat: export protos in src/index.ts
xiaozhenliu-gg5 Feb 26, 2020
089d301
chore: update jsdoc.js (#38)
summer-ji-eng Feb 27, 2020
db76a29
chore: release 1.2.0 (#35)
release-please[bot] Feb 28, 2020
2c1fe03
chore: update jsdoc with macro license (#41)
summer-ji-eng Feb 29, 2020
3bc0626
chore: update .jsdoc.js
yoshi-automation Feb 29, 2020
80e5172
feat: deferred client initialization (#43)
gcf-merge-on-green[bot] Mar 6, 2020
ae41cde
build: update linkinator config (#45)
JustinBeckwith Mar 6, 2020
bb85e82
build(tests): fix coveralls and enable build cop (#46)
bcoe Mar 6, 2020
09cc1d0
chore: release 1.3.0 (#44)
release-please[bot] Mar 12, 2020
74f6063
docs: mention templates in contributing section of README (#48)
bcoe Mar 18, 2020
e4ca994
chore: remove snippet leading whitespace (#50)
chingor13 Mar 19, 2020
5b556f1
docs: document version support goals (#55)
bcoe Mar 24, 2020
f6b60be
chore: regenerate the code (#54)
yoshi-automation Mar 25, 2020
c321988
feat!: drop node8 support, support for async iterators (#58)
alexander-fenster Mar 31, 2020
63b538c
build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits …
bcoe Apr 1, 2020
9898238
chore(deps): update dependency @types/sinon to v9 (#61)
renovate-bot Apr 1, 2020
dde48f7
chore: remove duplicate mocha config (#64)
JustinBeckwith Apr 5, 2020
ee1bebd
fix: export explicit version from protos.js (#63)
yoshi-automation Apr 7, 2020
3b7c0eb
chore(deps): update dependency gts to v2.0.0 (#67)
renovate-bot Apr 10, 2020
257b30f
fix: remove eslint, update gax, fix generated protos, run the generat…
alexander-fenster Apr 11, 2020
bf8b8ea
build: remove unused codecov config (#69)
JustinBeckwith Apr 12, 2020
e7970e0
chore: update proto namespaces (#70)
yoshi-automation Apr 12, 2020
bb5f9be
chore: update lint ignore files (#71)
JustinBeckwith Apr 13, 2020
85d1857
chore: remove tslint.json (#72)
JustinBeckwith Apr 14, 2020
eabde31
chore: remove unused dev packages (#73)
JustinBeckwith Apr 14, 2020
150d796
chore(deps): update dependency ts-loader to v7 (#74)
renovate-bot Apr 15, 2020
bb83440
chore(deps): update dependency null-loader to v4 (#76)
renovate-bot Apr 15, 2020
ae25473
chore: run fix instead of lint in synthfile (#77)
JustinBeckwith Apr 15, 2020
a23fe74
build: adopt changes to generator formatting (#79)
yoshi-automation Apr 22, 2020
d15d314
chore: update npm scripts and synth.py (#80)
alexander-fenster Apr 24, 2020
4a39680
fix: regen protos and tests, formatting (#81)
alexander-fenster May 6, 2020
854f5a4
build: do not fail builds on codecov errors (#528) (#82)
yoshi-automation May 8, 2020
8195e4e
chore: release 2.0.0 (#59)
release-please[bot] Jun 2, 2020
9fd4411
build: update protos.js (#83)
yoshi-automation Jun 4, 2020
bd59d0f
feat: move ts target to es2018 from es2016 (#87)
yoshi-automation Jun 10, 2020
824b07f
chore(deps): update dependency mocha to v8 (#89)
renovate-bot Jun 11, 2020
249226d
chore(nodejs_templates): add script logging to node_library populate-…
yoshi-automation Jun 11, 2020
c03bee9
fix: proper fallback option handling
yoshi-automation Jun 15, 2020
91684fa
feat: Add support for secondary_aggregation and Monitoring Query Lang…
yoshi-automation Jun 20, 2020
d5a6d58
fix: update node issue template (#93)
yoshi-automation Jun 22, 2020
b21f839
build: add config .gitattributes (#94)
yoshi-automation Jun 28, 2020
b2c2771
chore: release 2.1.0 (#88)
release-please[bot] Jun 29, 2020
6d0ad44
build: use bazel build (#95)
alexander-fenster Jul 6, 2020
a24ef16
build: typeo in nodejs .gitattribute (#98)
yoshi-automation Jul 10, 2020
64f4bb7
chore(deps): update dependency ts-loader to v8 (#97)
renovate-bot Jul 10, 2020
daf089c
chore(deps): update dependency @types/mocha to v8 (#99)
renovate-bot Jul 12, 2020
99eb8f0
chore: delete node 8 test templates
yoshi-automation Jul 16, 2020
354811b
build: missing closing paren in publish script, delete template for N…
yoshi-automation Jul 17, 2020
a68a4f1
chore: add dev dependencies for cloud-rad ref docs (#105)
fhinkel Jul 21, 2020
ccee2ef
build: rename _toc to toc (#106)
yoshi-automation Jul 23, 2020
571c86a
fix: move gitattributes files to node templates (#107)
yoshi-automation Jul 24, 2020
a8d6543
chore: release 2.1.1 (#108)
release-please[bot] Jul 24, 2020
66c1223
chore(node): fix kokoro build path for cloud-rad (#109)
yoshi-automation Jul 29, 2020
5b1221f
build: update protos (#110)
yoshi-automation Jul 31, 2020
38914d6
docs: add links to the CHANGELOG from the README.md for Java and Node…
yoshi-automation Aug 3, 2020
9fef268
build: --credential-file-override is no longer required (#113)
yoshi-automation Aug 10, 2020
85579de
chore: update cloud rad kokoro build job (#115)
yoshi-automation Aug 12, 2020
f4022c7
build: use gapic-generator-typescript v1.0.7. (#114)
yoshi-automation Aug 12, 2020
23ef38e
build: perform publish using Node 12 (#116)
yoshi-automation Aug 13, 2020
e00c3ae
chore: start tracking obsolete files
yoshi-automation Aug 20, 2020
9dc9f37
build: move system and samples test from Node 10 to Node 12 (#118)
yoshi-automation Aug 21, 2020
fd82004
build: track flaky tests for "nightly", add new secrets for tagging (…
yoshi-automation Aug 28, 2020
5ef6cdc
build(test): recursively find test files; fail on unsupported depende…
yoshi-automation Sep 12, 2020
c2ab463
chore: update bucket for cloud-rad (#123)
yoshi-automation Oct 2, 2020
2a50aeb
build(node_library): migrate to Trampoline V2 (#124)
yoshi-automation Oct 8, 2020
5622bcd
chore(deps): update dependency webpack-cli to v4 (#127)
renovate-bot Oct 12, 2020
b76824b
chore(deps): update dependency webpack to v5 (#126)
renovate-bot Oct 14, 2020
bfe750a
build: only check --engine-strict for production deps (#128)
yoshi-automation Oct 20, 2020
768531a
chore: clean up Node.js TOC for cloud-rad (#129)
yoshi-automation Oct 21, 2020
95b3f8f
docs: updated code of conduct (includes update to actions) (#132)
yoshi-automation Oct 27, 2020
f431a41
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#133)
yoshi-automation Nov 2, 2020
8b39acb
fix: do not modify options object, use defaultScopes (#134)
alexander-fenster Nov 7, 2020
2830c86
chore: release 2.1.2 (#135)
release-please[bot] Nov 12, 2020
a1d0fe5
fix(browser): check for fetch on window
yoshi-automation Nov 23, 2020
e0d7f81
docs: spelling correction for "targetting" (#139)
yoshi-automation Nov 25, 2020
ad971c5
chore: release 2.1.3 (#138)
release-please[bot] Dec 2, 2020
b4e6c03
chore: generate GAPIC metadata JSON file (#140)
yoshi-automation Dec 4, 2020
9f4eb4e
docs: add instructions for authenticating for system tests (#141)
yoshi-automation Dec 22, 2020
6a2b49e
docs: update dates (#142)
yoshi-automation Jan 7, 2021
2b3796f
feat: adds style enumeration (#143)
yoshi-automation Jan 9, 2021
a7f9d71
chore: release 2.2.0 (#144)
release-please[bot] Jan 12, 2021
7c3463f
refactor(nodejs): move build cop to flakybot (#146)
yoshi-automation Jan 27, 2021
bb40f3c
build: adds UNORDERED_LIST enum (#147)
yoshi-automation Feb 4, 2021
56a7baf
build: update gapic-generator-typescript to v1.2.10. (#148)
yoshi-automation Mar 7, 2021
b9426fe
feat:added mosaic layout docs:clarified alignment_period max value an…
yoshi-automation Mar 19, 2021
0b38dc6
chore: release 2.3.0 (#153)
release-please[bot] Mar 19, 2021
c5dacd1
chore(deps): update dependency sinon to v10 (#154)
renovate-bot Mar 23, 2021
9a13978
chore(deps): update dependency @types/sinon to v10 (#156)
renovate-bot Apr 14, 2021
0fd7a78
chore(deps): update dependency ts-loader to v9 (#159)
renovate-bot Apr 19, 2021
e269a3a
chore: regenerate common templates (#158)
yoshi-automation Apr 20, 2021
d7815cd
chore: migrate to owl bot (#160)
SurferJeffAtGoogle Apr 20, 2021
0e62282
docs: update links to absolute path (#163)
gcf-owl-bot[bot] Apr 23, 2021
05129bc
fix(deps): require google-gax v2.12.0 (#167)
alexander-fenster May 7, 2021
18b84f7
chore: new owl bot post processor docker image (#169)
gcf-owl-bot[bot] May 10, 2021
7c460a6
fix: use require() to load JSON protos (#170)
gcf-owl-bot[bot] May 11, 2021
e73a49e
chore: update gapic-generator-typescript to v1.3.2 (#171)
gcf-owl-bot[bot] May 11, 2021
7e23268
chore: release 2.3.1 (#168)
release-please[bot] May 13, 2021
6ff402c
chore(deps): update dependency @types/node to v14 (#175)
renovate-bot May 21, 2021
3fd4f83
chore(deps): update dependency sinon to v11 (#176)
renovate-bot May 25, 2021
dd1861a
fix: GoogleAdsError missing using generator version after 1.3.0 (#177)
gcf-owl-bot[bot] May 25, 2021
b862c20
chore: release 2.3.2 (#178)
release-please[bot] May 25, 2021
16aa00e
chore(nodejs): remove api-extractor dependencies (#183)
fhinkel Jun 10, 2021
9c9c42c
fix: make request optional in all cases (#185)
gcf-owl-bot[bot] Jun 22, 2021
714f858
chore: release 2.3.3 (#186)
release-please[bot] Jun 22, 2021
6e5776b
fix(deps): google-gax v2.17.0 with mTLS (#191)
bcoe Jun 29, 2021
be120c8
chore: release 2.3.4 (#192)
release-please[bot] Jun 29, 2021
9637ca3
feat: added validation only mode when writing dashboards feat: added …
gcf-owl-bot[bot] Jul 7, 2021
73d66c4
chore: release 2.4.0 (#195)
release-please[bot] Jul 7, 2021
ba7ebe4
fix(deps): google-gax v2.17.1 (#196)
bcoe Jul 12, 2021
fc784bf
chore: release 2.4.1 (#197)
release-please[bot] Jul 13, 2021
fc30afe
docs: fixed broken links (#198)
gcf-owl-bot[bot] Jul 14, 2021
14af07d
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
659a5b8
chore: release 2.4.2 (#200)
release-please[bot] Jul 16, 2021
c6af2d9
chore(nodejs): update client ref docs link in metadata (#204)
fhinkel Aug 4, 2021
77c0041
fix!: Specify a C# namespace option to be consistent with other Cloud…
gcf-owl-bot[bot] Aug 4, 2021
38b83b0
chore: release 2.5.0 (#208)
release-please[bot] Aug 5, 2021
5e04756
fix(deps): google-gax v2.24.1 (#210)
bcoe Aug 17, 2021
2d4aaec
chore: release 2.5.1 (#211)
release-please[bot] Aug 17, 2021
199c214
feat: turns on self-signed JWT feature flag (#212)
gcf-owl-bot[bot] Aug 23, 2021
f8726d3
chore: release 2.6.0 (#213)
release-please[bot] Aug 23, 2021
7e69e99
chore: disable renovate dependency dashboard (#1194) (#214)
gcf-owl-bot[bot] Aug 25, 2021
813f9a4
fix(build): update branch to main (#215)
bcoe Sep 8, 2021
53effa4
chore: release 2.6.1 (#216)
release-please[bot] Sep 8, 2021
4c17fbc
docs(samples): add auto-generated samples for Node with api short nam…
gcf-owl-bot[bot] Sep 28, 2021
4371f37
build(node): update deps used during postprocessing (#1243) (#224)
gcf-owl-bot[bot] Oct 14, 2021
f1ceb8d
chore: fix the wrong post processor image (#226)
Oct 27, 2021
ad2815c
chore(deps): update dependency @types/node to v16 (#225)
renovate-bot Oct 27, 2021
d73ebb6
chore(cloud-rad): delete api-extractor config (#228)
fhinkel Nov 4, 2021
c8083a1
chore(deps): update dependency sinon to v12 (#227)
renovate-bot Nov 4, 2021
346a822
docs(samples): add example tags to generated samples (#229)
gcf-owl-bot[bot] Nov 10, 2021
2725f5b
build: add generated samples to .eslintignore (#230)
gcf-owl-bot[bot] Dec 10, 2021
4f68535
docs(node): support "stable"/"preview" release level (#1312) (#233)
gcf-owl-bot[bot] Dec 29, 2021
b764cc4
chore: add api_shortname and library_type to repo metadata (#232)
parthea Dec 30, 2021
5448fe7
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
b1fc05f
test(nodejs): remove 15 add 16 (#1322) (#237)
gcf-owl-bot[bot] Jan 11, 2022
3aa4181
build: update copyright year to 2022 (#240)
gcf-owl-bot[bot] Jan 20, 2022
ffbd424
chore(deps): update dependency gts to v3 (#238)
renovate-bot Jan 21, 2022
d8ff148
chore(deps): update dependency sinon to v13 (#244)
renovate-bot Jan 31, 2022
a8a3984
docs(nodejs): version support policy edits (#1346) (#246)
gcf-owl-bot[bot] Feb 3, 2022
ecde411
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
edf28ae
chore: update v2.14.2 gapic-generator-typescript (#251)
gcf-owl-bot[bot] Mar 16, 2022
07e029c
chore: remove unused imports (#252)
gcf-owl-bot[bot] Mar 23, 2022
45747a8
feat: Sync public protos with latests public api state. This adds sup…
gcf-owl-bot[bot] Apr 8, 2022
7cce11b
chore(main): release 2.7.0 (#258)
release-please[bot] Apr 11, 2022
b6888e1
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
63c657b
chore(deps): update dependency @types/mocha to v9 (#265)
renovate-bot May 3, 2022
a8cd9c0
chore(deps): update dependency sinon to v14 (#269)
renovate-bot May 9, 2022
6421150
build!: update library to use Node 12 (#270)
sofisl May 20, 2022
194dcc2
chore(deps): update dependency jsdoc-region-tag to v2 (#277)
renovate-bot Jun 9, 2022
afc77fd
chore(deps): update dependency jsdoc-fresh to v2 (#276)
renovate-bot Jun 9, 2022
ca2f7dc
fix(docs): describe fallback rest option (#281)
gcf-owl-bot[bot] Jun 30, 2022
53efcce
chore(deps): update dependency linkinator to v4 (#286)
renovate-bot Jul 12, 2022
f168eb3
fix: better support for fallback mode (#289)
gcf-owl-bot[bot] Aug 23, 2022
953d497
fix: change import long to require (#290)
gcf-owl-bot[bot] Aug 23, 2022
1b4c34e
fix: do not import the whole google-gax from proto JS (#1553) (#293)
gcf-owl-bot[bot] Aug 27, 2022
19798e2
fix: allow passing gax instance to client constructor (#294)
gcf-owl-bot[bot] Sep 1, 2022
b3ece57
fix: preserve default values in x-goog-request-params header (#296)
gcf-owl-bot[bot] Sep 14, 2022
904644d
build: use fully qualified request type name in tests (#299)
gcf-owl-bot[bot] Sep 22, 2022
6675e83
Merge remote-tracking branch 'migration/main' into nodejs-monitoring-…
sofisl Oct 13, 2022
079c8a9
build: add release-please config, fix owlbot-config
sofisl Oct 13, 2022
8311347
fix: samples test
sofisl Oct 13, 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 @@ -20,5 +20,6 @@
"packages/google-devtools-artifactregistry": "2.0.0",
"packages/google-iam": "0.2.0",
"packages/google-maps-routing": "0.1.1",
"packages/google-monitoring-dashboard": "2.7.0",
"packages/typeless-sample-bot": "1.0.0"
}
24 changes: 24 additions & 0 deletions packages/google-monitoring-dashboard/.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/monitoring/dashboard/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-monitoring-dashboard/$1

begin-after-commit-hash: dea0fe87a4015bc79a036811aafe13c8f9aa8528

7 changes: 7 additions & 0 deletions packages/google-monitoring-dashboard/.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-monitoring-dashboard/.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-monitoring-dashboard/.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-monitoring-dashboard/.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-monitoring-dashboard/.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/monitoring-dashboards',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-monitoring-dashboard/.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
24 changes: 24 additions & 0 deletions packages/google-monitoring-dashboard/.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-monitoring-dashboard/.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-monitoring-dashboard/.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-monitoring-dashboard/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"api_id": "monitoring.googleapis.com",
"name": "monitoring-dashboards",
"language": "nodejs",
"product_documentation": "https://cloud.google.com/monitoring/docs",
"distribution_name": "@google-cloud/monitoring-dashboards",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559785",
"name_pretty": "Monitoring Dashboards",
"default_version": "v1",
"release_level": "stable",
"repo": "googleapis/google-cloud-node",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/monitoring-dashboards/latest",
"requires_billing": true,
"api_shortname": "monitoring",
"library_type": "GAPIC_AUTO"
}
Loading