Skip to content

Commit cb9f380

Browse files
chore: Switch from gulp to gts, TypeScript 2.6 (googleapis#173)
* chore: adopt gts * chore: move from yarn to npm@5 (googleapis#172) * chore: pin the version of gts * chore: add comments for lint exceptions * BREAKING CHANGE: Use es module exports at top level The API has been optimized for ES Modules. The `GoogleAuth` and `DefaultTransporter` objects are now properties of the module. For example: ```js // es6/TypeScript import {GoogleAuth, DefaultTransporter} from 'google-auth-library'; // es5 const GoogleAuth = require('google-auth-library').GoogleAuth; const DefaultTransporter = require('google-auth-library').DefaultTransporter; ``` * chore: upgrade to gts@0.5.1
1 parent b39c16f commit cb9f380

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3876
-4429
lines changed

.clang-format

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
node_modules/*
2-
/lib/
3-
/test/
2+
build/
43
types/
54
.idea
65
.vscode
76
docs/
87
npm-debug.log
98
coverage
109
*.js.map
11-
yarn-error.log
10+
yarn-error.log
11+
**/*.js

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ language: node_js
44
node_js:
55
- "4"
66
- "6"
7-
- "7"
7+
- "8"
8+
- "9"
89

910
cache:
10-
yarn: true
1111
directories:
1212
- node_modules/
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ the following snippet should work.
6060

6161
```js
6262
var google = require('googleapis');
63-
var GoogleAuth = require('google-auth-library');
63+
var GoogleAuth = require('google-auth-library').GoogleAuth;
6464

6565
var authFactory = new GoogleAuth();
6666
var dns = google.dns('v1');

gulpfile.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)