Skip to content

Commit

Permalink
Merge branch 'master' into jsdoc-link-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jan 3, 2019
2 parents 5b3914b + 6f780ea commit 6f9d06c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 30 deletions.
10 changes: 10 additions & 0 deletions .compodocrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
tsconfig: ./tsconfig.json
output: ./docs
theme: material
hideGenerator: true
disablePrivate: true
disableProtected: true
disableInternal: true
disableCoverage: true
disableGraph: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,13 @@
- chore(package): update nyc to version 12.0.2 ([#67](https://github.com/google/node-gtoken/pull/67))
- chore(package): update @types/node to version 10.0.3 ([#65](https://github.com/google/node-gtoken/pull/65))

### 2.0.0
New features:
- API now supports callback and promise based workflows

Breaking changes:
- `GoogleToken` is now a class type, and must be instantiated.
- `GoogleToken.expires_at` renamed to `GoogleToken.expiresAt`
- `GoogleToken.raw_token` renamed to `GoogleToken.rawToken`
- `GoogleToken.token_expires` renamed to `GoogleToken.tokenExpires`

33 changes: 9 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# node-gtoken

[![NPM Version][npm-image]][npm-url]
[![CircleCI][circle-image]][circle-url]
[![Dependency Status][david-image]][david-url]
[![devDependency Status][david-dev-image]][david-dev-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![codecov][codecov-image]][codecov-url]
[![style badge][gts-image]][gts-url]

Node.js Google Authentication Service Account Tokens
> Node.js Google Authentication Service Account Tokens
## Installation

Expand Down Expand Up @@ -164,34 +163,20 @@ $ openssl pkcs12 -in key.p12 -nodes -nocerts > key.pem

Don't forget, the passphrase when converting these files is the string `'notasecret'`

## Changelog

### 1.2.2 -> 2.0.0
New features:
- API now supports callback and promise based workflows

Breaking changes:
- `GoogleToken` is now a class type, and must be instantiated.
- `GoogleToken.expires_at` renamed to `GoogleToken.expiresAt`
- `GoogleToken.raw_token` renamed to `GoogleToken.rawToken`
- `GoogleToken.token_expires` renamed to `GoogleToken.tokenExpires`

## License

[MIT](LICENSE)

[circle-image]: https://circleci.com/gh/google/node-gtoken.svg?style=svg
[circle-url]: https://circleci.com/gh/google/node-gtoken
[codecov-image]: https://codecov.io/gh/google/node-gtoken/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/google/node-gtoken
[david-image]: https://david-dm.org/google/node-gtoken.svg
[david-url]: https://david-dm.org/google/node-gtoken
[david-dev-image]: https://david-dm.org/google/node-gtoken/dev-status.svg
[david-dev-url]: https://david-dm.org/google/node-gtoken?type=dev
[codecov-image]: https://codecov.io/gh/googleapis/node-gtoken/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/googleapis/node-gtoken
[david-image]: https://david-dm.org/googleapis/node-gtoken.svg
[david-url]: https://david-dm.org/googleapis/node-gtoken
[david-dev-image]: https://david-dm.org/googleapis/node-gtoken/dev-status.svg
[david-dev-url]: https://david-dm.org/googleapis/node-gtoken?type=dev
[gdevconsole]: https://console.developers.google.com
[gts-image]: https://img.shields.io/badge/code%20style-Google%20%E2%98%82%EF%B8%8F-blue.svg
[gts-url]: https://www.npmjs.com/package/gts
[npm-image]: https://img.shields.io/npm/v/gtoken.svg
[npm-url]: https://npmjs.org/package/gtoken
[snyk-image]: https://snyk.io/test/github/google/node-gtoken/badge.svg
[snyk-url]: https://snyk.io/test/github/google/node-gtoken
[snyk-image]: https://snyk.io/test/github/googleapis/node-gtoken/badge.svg
[snyk-url]: https://snyk.io/test/github/googleapis/node-gtoken
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"scripts": {
"lint": "gts check",
"clean": "gts clean",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json",
"fix": "gts fix",
"compile": "tsc -p .",
"test": "nyc mocha build/test",
Expand All @@ -20,7 +19,7 @@
"presystem-test": "npm run compile",
"system-test": "mocha build/system-test",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"docs": "echo no docs 👻"
"docs": "compodoc src/"
},
"keywords": [
"google",
Expand All @@ -43,6 +42,7 @@
"pify": "^4.0.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.7",
"@types/jws": "^3.1.0",
"@types/mime": "^2.0.0",
"@types/mocha": "^5.0.0",
Expand All @@ -61,9 +61,6 @@
},
"files": [
"build/src",
"!build/src/**/*.map",
"LICENSE",
"packge.json",
"README.md"
"!build/src/**/*.map"
]
}

0 comments on commit 6f9d06c

Please sign in to comment.