diff --git a/packages/google-cloud-dns/.gitignore b/packages/google-cloud-dns/.gitignore
index d97022b4503..6b80718f261 100644
--- a/packages/google-cloud-dns/.gitignore
+++ b/packages/google-cloud-dns/.gitignore
@@ -7,4 +7,4 @@ out/
system-test/secrets.js
system-test/*key.json
*.lock
-*-lock.json
+*-lock.js*
diff --git a/packages/google-cloud-dns/README.md b/packages/google-cloud-dns/README.md
index a67d1e7f9c0..53aa468cbe2 100644
--- a/packages/google-cloud-dns/README.md
+++ b/packages/google-cloud-dns/README.md
@@ -1,8 +1,8 @@
-# Google Cloud DNS: Node.js Client
+# [Google Cloud DNS: Node.js Client](https://github.com/googleapis/nodejs-dns)
-[![release level](https://img.shields.io/badge/release%20level-alpha-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
+[![release level](https://img.shields.io/badge/release%20level-alpha-orange.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![CircleCI](https://img.shields.io/circleci/project/github/googleapis/nodejs-dns.svg?style=flat)](https://circleci.com/gh/googleapis/nodejs-dns)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/googleapis/nodejs-dns?branch=master&svg=true)](https://ci.appveyor.com/project/googleapis/nodejs-dns)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-dns/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-dns)
@@ -11,7 +11,9 @@
[Cloud DNS](https://cloud.google.com/dns/docs/) allows you to publish your domain names using Google's infrastructure for production-quality, high-volume DNS services. Google's global network of anycast name servers provide reliable, low-latency authoritative name lookups for your domains from anywhere in the world.
+
* [Cloud DNS Node.js Client API Reference][client-docs]
+* [github.com/googleapis/nodejs-dns](https://github.com/googleapis/nodejs-dns)
* [Cloud DNS Documentation][product-docs]
Read more about the client libraries for Cloud APIs, including the older
@@ -88,12 +90,12 @@ dns
## Samples
-Samples are in the [`samples/`](https://github.com/blob/master/samples) directory. The samples' `README.md`
+Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dns/tree/master/samples) directory. The samples' `README.md`
has instructions for running the samples.
-| Sample | Source Code |
-| --------------------------- | --------------------------------- |
-| Zones | [source code](https://github.com/googleapis/nodejs-dns/blob/master/samples/zones.js) |
+| Sample | Source Code | Try it |
+| --------------------------- | --------------------------------- | ------ |
+| Zones | [source code](https://github.com/googleapis/nodejs-dns/blob/master/samples/zones.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dns&page=editor&open_in_editor=samples/zones.js,samples/README.md) |
The [Cloud DNS Node.js Client API Reference][client-docs] documentation
also contains samples.
@@ -112,13 +114,14 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
## Contributing
-Contributions welcome! See the [Contributing Guide](.github/CONTRIBUTING.md).
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-dns/blob/master/.github/CONTRIBUTING.md).
## License
Apache Version 2.0
-See [LICENSE](LICENSE)
+See [LICENSE](https://github.com/googleapis/nodejs-dns/blob/master/LICENSE)
[client-docs]: https://cloud.google.com/nodejs/docs/reference/dns/latest/
[product-docs]: https://cloud.google.com/dns/docs/
+[shell_img]: http://gstatic.com/cloudssh/images/open-btn.png
diff --git a/packages/google-cloud-dns/package.json b/packages/google-cloud-dns/package.json
index 514f7f89513..c7336a04299 100644
--- a/packages/google-cloud-dns/package.json
+++ b/packages/google-cloud-dns/package.json
@@ -60,7 +60,7 @@
"string-format-obj": "^1.0.0"
},
"devDependencies": {
- "@google-cloud/nodejs-repo-tools": "^2.0.9",
+ "@google-cloud/nodejs-repo-tools": "^2.1.0",
"async": "^2.1.4",
"codecov": "^3.0.0",
"eslint": "^4.9.0",
diff --git a/packages/google-cloud-dns/samples/README.md b/packages/google-cloud-dns/samples/README.md
index d461040ad51..306c5f2be0a 100644
--- a/packages/google-cloud-dns/samples/README.md
+++ b/packages/google-cloud-dns/samples/README.md
@@ -2,7 +2,7 @@
# Google Cloud DNS: Node.js Samples
-[![Build](https://storage.googleapis.com/.svg)]()
+[![Open in Cloud Shell][shell_img]][shell_link]
[Cloud DNS](https://cloud.google.com/dns/docs/) allows you to publish your domain names using Google's infrastructure for production-quality, high-volume DNS services. Google's global network of anycast name servers provide reliable, low-latency authoritative name lookups for your domains from anywhere in the world.
@@ -24,11 +24,15 @@ library's README.
View the [source code][zones_0_code].
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dns&page=editor&open_in_editor=samples/zones.js,samples/README.md)
+
__Usage:__ `node zones.js --help`
```
+zones.js
+
Commands:
- list Lists all zones in the current project.
+ zones.js list Lists all zones in the current project.
Options:
--version Show version number [boolean]
@@ -42,3 +46,6 @@ For more information, see https://cloud.google.com/dns/docs
[zones_0_docs]: https://cloud.google.com/dns/docs
[zones_0_code]: zones.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-dns&page=editor&open_in_editor=samples/README.md
diff --git a/packages/google-cloud-dns/samples/package.json b/packages/google-cloud-dns/samples/package.json
index 79cfc604ef7..091bb4925b3 100644
--- a/packages/google-cloud-dns/samples/package.json
+++ b/packages/google-cloud-dns/samples/package.json
@@ -15,14 +15,14 @@
},
"dependencies": {
"@google-cloud/dns": "0.7.0",
- "yargs": "9.0.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",
"nyc": "11.2.1",
"proxyquire": "1.8.0",
- "sinon": "4.0.1",
+ "sinon": "4.0.2",
"uuid": "3.1.0"
}
}