From 0f4f5272b6b424c11a395825474e87a8f90327a5 Mon Sep 17 00:00:00 2001 From: Jason Dobry Date: Mon, 30 Oct 2017 06:19:08 -0700 Subject: [PATCH] Upgrade repo-tools and regenerate scaffolding. (#14) --- monitoring/snippets/README.md | 9 ++++++++- monitoring/snippets/package.json | 12 ++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/monitoring/snippets/README.md b/monitoring/snippets/README.md index 68b929a5c9..36355ab7ca 100644 --- a/monitoring/snippets/README.md +++ b/monitoring/snippets/README.md @@ -2,7 +2,7 @@ # Stackdriver Monitoring: Node.js Samples -[![Build](https://storage.googleapis.com/.svg)]() +[![Open in Cloud Shell][shell_img]][shell_link] [Stackdriver Monitoring](https://cloud.google.com/monitoring/docs) collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. @@ -25,6 +25,8 @@ library's README. View the [source code][metrics_0_code]. +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-monitoring&page=editor&open_in_editor=samples/metrics.js,samples/README.md) + __Usage:__ `node metrics.js --help` ``` @@ -74,6 +76,8 @@ For more information, see https://cloud.google.com/monitoring/docs View the [source code][uptime_1_code]. +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-monitoring&page=editor&open_in_editor=samples/uptime.js,samples/README.md) + __Usage:__ `node uptime.js --help` ``` @@ -103,3 +107,6 @@ For more information, see https://cloud.google.com/monitoring/uptime-checks/ [uptime_1_docs]: https://cloud.google.com/monitoring/docs [uptime_1_code]: uptime.js + +[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png +[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-monitoring&page=editor&open_in_editor=samples/README.md diff --git a/monitoring/snippets/package.json b/monitoring/snippets/package.json index 42308f8b4f..c867c228a3 100644 --- a/monitoring/snippets/package.json +++ b/monitoring/snippets/package.json @@ -6,19 +6,19 @@ "author": "Google Inc.", "repository": "googleapis/nodejs-monitoring", "engines": { - "node": ">=4.3.2" + "node": ">=4.0.0" }, "scripts": { "test": "repo-tools test run --cmd ava -- -T 3m --verbose system-test/*.test.js" }, "dependencies": { - "@google-cloud/monitoring": "0.4.0", - "yargs": "9.0.1" + "@google-cloud/monitoring": "0.4.1", + "yargs": "10.0.3" }, "devDependencies": { - "@google-cloud/nodejs-repo-tools": "2.0.10", - "ava": "0.22.0", + "@google-cloud/nodejs-repo-tools": "2.1.0", + "ava": "0.23.0", "proxyquire": "1.8.0", - "sinon": "4.0.1" + "sinon": "4.0.2" } }