Skip to content

Commit 242843b

Browse files
jmdobryAce Nassri
authored and
Ace Nassri
committed
Upgrade repo tools and regenerate READMEs. (#384)
1 parent 9eaf725 commit 242843b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

monitoring/snippets/README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
2121
1. Install dependencies:
2222

23-
With `npm`:
23+
With **npm**:
2424

2525
npm install
2626

27-
With `yarn`:
27+
With **yarn**:
2828

2929
yarn install
3030

@@ -35,7 +35,6 @@
3535

3636
### Metrics
3737

38-
3938
View the [documentation][metrics_0_docs] or the [source code][metrics_0_code].
4039

4140
__Usage:__ `node metrics.js --help`
@@ -84,7 +83,6 @@ For more information, see https://cloud.google.com/monitoring/docs
8483

8584
### Listing resources
8685

87-
8886
View the [documentation][list_1_docs] or the [source code][list_1_code].
8987

9088
`list_resources.js` is a command-line program to demonstrate connecting to the
@@ -101,7 +99,6 @@ node list_resources my-cool-project
10199

102100
### Custom metrics
103101

104-
105102
View the [documentation][metrics_2_docs] or the [source code][metrics_2_code].
106103

107104
`create_custom_metric.js` demonstrates how to create a custom metric, write a
@@ -118,15 +115,14 @@ node create_custom_metric my-cool-project
118115

119116
## Running the tests
120117

121-
1. Set the `GCLOUD_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS` environment
122-
variables.
118+
1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.
123119

124120
1. Run the tests:
125121

126-
With `npm`:
122+
With **npm**:
127123

128124
npm test
129125

130-
With `yarn`:
126+
With **yarn**:
131127

132128
yarn test

monitoring/snippets/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"yargs": "7.1.0"
2525
},
2626
"devDependencies": {
27-
"@google-cloud/nodejs-repo-tools": "1.4.7",
27+
"@google-cloud/nodejs-repo-tools": "1.4.13",
2828
"ava": "0.19.1",
2929
"proxyquire": "1.7.11",
3030
"sinon": "2.1.0"

0 commit comments

Comments
 (0)