Skip to content

Commit

Permalink
feat(samples): add new samples (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Apr 28, 2020
1 parent d46479a commit ae8a913
Show file tree
Hide file tree
Showing 11 changed files with 328 additions and 239 deletions.
5 changes: 0 additions & 5 deletions packages/google-cloud-kms/.mocharc.json

This file was deleted.

102 changes: 55 additions & 47 deletions packages/google-cloud-kms/README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/google-cloud-kms/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
".*github.com/googleapis/nodejs-kms/blob/master/samples.*"
],
"silent": true,
"concurrency": 10
Expand Down
26 changes: 13 additions & 13 deletions packages/google-cloud-kms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@
"Google Cloud Key Management Service (KMS) API"
],
"scripts": {
"test": "c8 mocha build/test",
"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
"lint": "gts check",
"fix": "gts fix",
"prelint": "cd samples; npm link ../; npm install",
"system-test": "mocha build/system-test",
"docs": "jsdoc -c .jsdoc.js",
"docs-test": "linkinator docs",
"predocs-test": "npm run docs",
"clean": "gts clean",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",
"prepare": "npm run compile",
"precompile": "gts clean"
"compile": "tsc -p . && cp -r protos build/",
"docs-test": "linkinator docs",
"docs": "jsdoc -c .jsdoc.js",
"fix": "gts fix",
"lint": "gts check",
"precompile": "gts clean",
"predocs-test": "npm run docs",
"prelint": "cd samples; npm link ../; npm install",
"prepare": "npm run compile-protos && npm run compile",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "c8 mocha build/system-test",
"test": "c8 mocha build/test"
},
"dependencies": {
"google-gax": "^2.1.0"
},
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^13.7.7",
"@types/node": "^13.13.4",
"@types/sinon": "^9.0.0",
"c8": "^7.1.0",
"gts": "^2.0.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/google-cloud-kms/samples/.eslintrc.yml

This file was deleted.

Loading

0 comments on commit ae8a913

Please sign in to comment.