diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..7004501 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,21 @@ +import { Transform } from 'stream' + +interface Credentials { + accessKeyId?: string + secretAccessKey?: string + sessionToken?: string +} + +interface Options { + distribution: string + states?: string[] + originPath?: string + wait: boolean + indexRootPath: boolean + credentials?: Credentials + accessKeyId?: string + secretAccessKey?: string + sessionToken?: string +} + +export default function (options: Options): Transform \ No newline at end of file diff --git a/package.json b/package.json index aad8015..8f5e1d6 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { - "name": "gulp-cloudfront-invalidate-aws-publish", - "version": "1.0.0", - "author": "Lee Pender (http://lpender.github.com)", + "name": "@pascencio/gulp-cloudfront-invalidate-aws-publish", + "version": "1.1.3", + "author": "Patricio Ascencio (http://pascencio.github.com)", "description": "Invalidates paths published with gulp-awspublish", - "homepage": "https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish", + "homepage": "https://github.com/pascencio/gulp-cloudfront-invalidate-aws-publish", + "types": "index.d.ts", "main": "index.js", - "repository": "lpender/gulp-cloudfront-invalidate-aws-publish", + "repository": "pascencio/gulp-cloudfront-invalidate-aws-publish", "keywords": [ "gulp", "cloudfront", @@ -21,7 +22,7 @@ "through2": "2.0.x" }, "bugs": { - "url": "https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish/issues" + "url": "https://github.com/pascencio/gulp-cloudfront-invalidate-aws-publish/issues" }, "licenses": [ {