From 57c75e3d9ded18ab584dc2317d5655dc60bba927 Mon Sep 17 00:00:00 2001 From: Neil Kistner Date: Mon, 20 Mar 2017 16:17:41 -0500 Subject: [PATCH] Add past changelog and changelog build script --- changelog.md | 108 ++++++++++++++++ package.json | 9 +- readme.md | 8 ++ scripts/version.js | 84 +++++++++++++ yarn.lock | 306 +++++++++++++++++++++++++++++++++++++++++++-- 5 files changed, 500 insertions(+), 15 deletions(-) create mode 100644 changelog.md create mode 100644 scripts/version.js diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..ec3c77a --- /dev/null +++ b/changelog.md @@ -0,0 +1,108 @@ +## Change Log + +### [v4.1.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v4.1.0) (2017-02-06) + +* [[`693f225e9e`](https://github.com/wyze/eslint-config-wyze/commit/693f225e9e)] - Upgrade dependencies (Neil Kistner) + +### [v4.0.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v4.0.0) (2017-02-02) + +* [[`c9442c9aaf`](https://github.com/wyze/eslint-config-wyze/commit/c9442c9aaf)] - Update copyright year (Neil Kistner) +* [[`61ee0af2f8`](https://github.com/wyze/eslint-config-wyze/commit/61ee0af2f8)] - Upgrade dependencies (Neil Kistner) +* [[`75077fac51`](https://github.com/wyze/eslint-config-wyze/commit/75077fac51)] - Remove warning for `flowtype/require-variable-type` rule (Neil Kistner) +* [[`d64280b2e5`](https://github.com/wyze/eslint-config-wyze/commit/d64280b2e5)] - Add yarn (Neil Kistner) +* [[`65c785dcd3`](https://github.com/wyze/eslint-config-wyze/commit/65c785dcd3)] - Disallow sudo on Travis (Neil Kistner) +* [[`18c32c394b`](https://github.com/wyze/eslint-config-wyze/commit/18c32c394b)] - Update version of node Travis runs on (Neil Kistner) +* [[`dd039a11c1`](https://github.com/wyze/eslint-config-wyze/commit/dd039a11c1)] - Enable new rules for `eslint-plugin-flowtype` (Neil Kistner) +* [[`0d0f0928fa`](https://github.com/wyze/eslint-config-wyze/commit/0d0f0928fa)] - Upgrade dependencies (Neil Kistner) +* [[`c52a6e1eb9`](https://github.com/wyze/eslint-config-wyze/commit/c52a6e1eb9)] - Fix test for default config (Neil Kistner) +* [[`e13d9eb862`](https://github.com/wyze/eslint-config-wyze/commit/e13d9eb862)] - Properly override rules for `jsx-a11y` (Neil Kistner) +* [[`d7d84101b9`](https://github.com/wyze/eslint-config-wyze/commit/d7d84101b9)] - Fix `no-duplicate-imports` when using Flowtype (Neil Kistner) +* [[`9f7b0ec5e6`](https://github.com/wyze/eslint-config-wyze/commit/9f7b0ec5e6)] - Upgrade dependencies (Neil Kistner) +* [[`dc82480614`](https://github.com/wyze/eslint-config-wyze/commit/dc82480614)] - Enable `eslint-plugin-jsx-a11y` rules (Neil Kistner) +* [[`9aa14d743f`](https://github.com/wyze/eslint-config-wyze/commit/9aa14d743f)] - Fix lint errors and test (Neil Kistner) +* [[`eede092a1b`](https://github.com/wyze/eslint-config-wyze/commit/eede092a1b)] - Split `eslint-plugin-import` rules into their own file (Neil Kistner) +* [[`a9268ab0f9`](https://github.com/wyze/eslint-config-wyze/commit/a9268ab0f9)] - Add override rules for eslint-plugin-jsx-a11y@^3.0.1 (Neil Kistner) +* [[`1b00551e7d`](https://github.com/wyze/eslint-config-wyze/commit/1b00551e7d)] - Upgrade dependencies (Neil Kistner) +* [[`427f28dd8b`](https://github.com/wyze/eslint-config-wyze/commit/427f28dd8b)] - Fix lint error (Neil Kistner) +* [[`83287d13ce`](https://github.com/wyze/eslint-config-wyze/commit/83287d13ce)] - Upgrade dependencies (Neil Kistner) +* [[`5e871333ce`](https://github.com/wyze/eslint-config-wyze/commit/5e871333ce)] - Update readme structure (Neil Kistner) +* [[`b17ffb4481`](https://github.com/wyze/eslint-config-wyze/commit/b17ffb4481)] - Switch from number rule settings to string (Neil Kistner) +* [[`a33ea2b01c`](https://github.com/wyze/eslint-config-wyze/commit/a33ea2b01c)] - Cleanup tests (Neil Kistner) +* [[`9b11043f4e`](https://github.com/wyze/eslint-config-wyze/commit/9b11043f4e)] - Add flow config and rules (Neil Kistner) +* [[`975de4da6b`](https://github.com/wyze/eslint-config-wyze/commit/975de4da6b)] - Remove supliferous `async` keyword in tests (Neil Kistner) +* [[`dabb127771`](https://github.com/wyze/eslint-config-wyze/commit/dabb127771)] - Lint whole project and fix lint errors (Neil Kistner) +* [[`1fdc00695e`](https://github.com/wyze/eslint-config-wyze/commit/1fdc00695e)] - Add back `arrow-parens` override (Neil Kistner) +* [[`9925fc038f`](https://github.com/wyze/eslint-config-wyze/commit/9925fc038f)] - Remove rules implemented in Airbnb (Neil Kistner) +* [[`96d8c799cb`](https://github.com/wyze/eslint-config-wyze/commit/96d8c799cb)] - Add tests for preact config (Neil Kistner) +* [[`23f738ca5a`](https://github.com/wyze/eslint-config-wyze/commit/23f738ca5a)] - Add config for Preact (Neil Kistner) +* [[`d749f02964`](https://github.com/wyze/eslint-config-wyze/commit/d749f02964)] - Make sure we don't run npm@2 on Node v4 (Neil Kistner) +* [[`27c96dd65b`](https://github.com/wyze/eslint-config-wyze/commit/27c96dd65b)] - Upgrade dependencies (Neil Kistner) +* [[`0f51d4f54a`](https://github.com/wyze/eslint-config-wyze/commit/0f51d4f54a)] - Move import plugin definition out of rule file (Neil Kistner) +* [[`c0833d1c9a`](https://github.com/wyze/eslint-config-wyze/commit/c0833d1c9a)] - Use ESLint's parser for ES2017 and remove babel-eslint dependency (Neil Kistner) + +### [v3.0.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v3.0.0) (2016-08-13) + +* [[`e8b0c9cb2c`](https://github.com/wyze/eslint-config-wyze/commit/e8b0c9cb2c)] - Upgrade dependencies (Neil Kistner) +* [[`b330785b93`](https://github.com/wyze/eslint-config-wyze/commit/b330785b93)] - Remove `jsx-pascal-case` rule (in airbnb now) (Neil Kistner) +* [[`93c337d932`](https://github.com/wyze/eslint-config-wyze/commit/93c337d932)] - Upgrade dependencies (Neil Kistner) +* [[`b87beb1aef`](https://github.com/wyze/eslint-config-wyze/commit/b87beb1aef)] - Upgrade ava dependency (Neil Kistner) +* [[`7b397af972`](https://github.com/wyze/eslint-config-wyze/commit/7b397af972)] - Upgrade dependencies (Neil Kistner) +* [[`a54f26c105`](https://github.com/wyze/eslint-config-wyze/commit/a54f26c105)] - Upgrade dependencies (Neil Kistner) +* [[`4dee13fe2c`](https://github.com/wyze/eslint-config-wyze/commit/4dee13fe2c)] - Upgrade dependencies (Neil Kistner) +* [[`12d334ccef`](https://github.com/wyze/eslint-config-wyze/commit/12d334ccef)] - Correct installation instructions (Neil Kistner) +* [[`1059fe9c1e`](https://github.com/wyze/eslint-config-wyze/commit/1059fe9c1e)] - Update AVA (Neil Kistner) + +### [v2.0.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v2.0.0) (2016-05-10) + +* [[`d21123aa10`](https://github.com/wyze/eslint-config-wyze/commit/d21123aa10)] - Update installation instructions (Neil Kistner) +* [[`2050dc6af6`](https://github.com/wyze/eslint-config-wyze/commit/2050dc6af6)] - Add `import/newline-after-import` rule (Neil Kistner) +* [[`f5588135d0`](https://github.com/wyze/eslint-config-wyze/commit/f5588135d0)] - Upgrade dependencies (Neil Kistner) +* [[`673b9f4b90`](https://github.com/wyze/eslint-config-wyze/commit/673b9f4b90)] - Add `max-statements` rule (Neil Kistner) +* [[`f35f830ae4`](https://github.com/wyze/eslint-config-wyze/commit/f35f830ae4)] - Configure some dependencies as peerDependencies (Neil Kistner) +* [[`4d4c4477b1`](https://github.com/wyze/eslint-config-wyze/commit/4d4c4477b1)] - Fixing lint rules (Neil Kistner) +* [[`dbbdd3bce2`](https://github.com/wyze/eslint-config-wyze/commit/dbbdd3bce2)] - Remove `before_install` from Travis-CI (Neil Kistner) +* [[`387143f002`](https://github.com/wyze/eslint-config-wyze/commit/387143f002)] - Enable `import/no-extraneous-dependencies` rule (Neil Kistner) +* [[`ac574c8b36`](https://github.com/wyze/eslint-config-wyze/commit/ac574c8b36)] - Enable Node v6 builds (Neil Kistner) +* [[`6b5ef24b13`](https://github.com/wyze/eslint-config-wyze/commit/6b5ef24b13)] - Add missing peer dependencies (Neil Kistner) +* [[`14ee951e32`](https://github.com/wyze/eslint-config-wyze/commit/14ee951e32)] - Override `eqeqeq` rule to not allow null (Neil Kistner) +* [[`5f6387ac5e`](https://github.com/wyze/eslint-config-wyze/commit/5f6387ac5e)] - Add rules for `eslint-plugin-import` (Neil Kistner) +* [[`6cb4bc0c41`](https://github.com/wyze/eslint-config-wyze/commit/6cb4bc0c41)] - Update tests to pass (Neil Kistner) +* [[`79dd97e6fa`](https://github.com/wyze/eslint-config-wyze/commit/79dd97e6fa)] - Upgrade dependencies (Neil Kistner) +* [[`905dc06584`](https://github.com/wyze/eslint-config-wyze/commit/905dc06584)] - Upgrade dependencies (Neil Kistner) +* [[`5c80f3dcab`](https://github.com/wyze/eslint-config-wyze/commit/5c80f3dcab)] - Upgrade `babel-eslint` package from beta (Neil Kistner) + +### [v1.3.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v1.3.0) (2016-03-16) + +* [[`1189cd9670`](https://github.com/wyze/eslint-config-wyze/commit/1189cd9670)] - Bump dependencies (Neil Kistner) +* [[`1ed2247a10`](https://github.com/wyze/eslint-config-wyze/commit/1ed2247a10)] - Add back `newline-before-return` rule (Neil Kistner) +* [[`deb5718a19`](https://github.com/wyze/eslint-config-wyze/commit/deb5718a19)] - Upgrade ESLint to 2.4.0 (Neil Kistner) + +### [v1.2.1](https://github.com/wyze/eslint-config-wyze/releases/tag/v1.2.1) (2016-03-10) + +* [[`8f613765a0`](https://github.com/wyze/eslint-config-wyze/commit/8f613765a0)] - Remove `newline-before-return` rule (Neil Kistner) +* [[`036964b297`](https://github.com/wyze/eslint-config-wyze/commit/036964b297)] - Readme updates (Neil Kistner) +* [[`b1b927d946`](https://github.com/wyze/eslint-config-wyze/commit/b1b927d946)] - Scripts update (Neil Kistner) +* [[`e89fd0552d`](https://github.com/wyze/eslint-config-wyze/commit/e89fd0552d)] - Bump dependencies (Neil Kistner) +* [[`02b1ce781b`](https://github.com/wyze/eslint-config-wyze/commit/02b1ce781b)] - Pin ESLint to ~2.2.0 (Neil Kistner) + +### [v1.2.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v1.2.0) (2016-03-07) + +* [[`0fb486be40`](https://github.com/wyze/eslint-config-wyze/commit/0fb486be40)] - Bump `babel-eslint` version (Neil Kistner) +* [[`76780b4da1`](https://github.com/wyze/eslint-config-wyze/commit/76780b4da1)] - Add `eslint-plugin-wyze` as peerDep for npm@2 users (Neil Kistner) +* [[`585cccec1f`](https://github.com/wyze/eslint-config-wyze/commit/585cccec1f)] - Setup Travis to work properly with new extends (Neil Kistner) +* [[`23a40ac2d5`](https://github.com/wyze/eslint-config-wyze/commit/23a40ac2d5)] - Proper extends (Neil Kistner) +* [[`e6aa157390`](https://github.com/wyze/eslint-config-wyze/commit/e6aa157390)] - Bump `config-airbnb` and `plugin-react` versions (Neil Kistner) + +### [v1.1.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v1.1.0) (2016-03-05) + +* [[`fdbb169d11`](https://github.com/wyze/eslint-config-wyze/commit/fdbb169d11)] - Enable `newline-before-return` rule (Neil Kistner) +* [[`c5f871d098`](https://github.com/wyze/eslint-config-wyze/commit/c5f871d098)] - Upgrade to eslint 2.3.0 (Neil Kistner) +* [[`a0527248b8`](https://github.com/wyze/eslint-config-wyze/commit/a0527248b8)] - Updating main rule file (Neil Kistner) +* [[`a7ada31d5f`](https://github.com/wyze/eslint-config-wyze/commit/a7ada31d5f)] - Updating tests for ./base (Neil Kistner) +* [[`d894d3f5e3`](https://github.com/wyze/eslint-config-wyze/commit/d894d3f5e3)] - Update `eslint-plugin-wyze` and use recommended config (Neil Kistner) +* [[`0121e9a412`](https://github.com/wyze/eslint-config-wyze/commit/0121e9a412)] - Add `no-multiple-empty-lines` with `maxBOF: 0` (Neil Kistner) +* [[`20c7ee9fac`](https://github.com/wyze/eslint-config-wyze/commit/20c7ee9fac)] - Enable `newline-after-var` rule (Neil Kistner) + +### [v1.0.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v1.0.0) (2016-02-24) + +* [[`0c424e8874`](https://github.com/wyze/eslint-config-wyze/commit/0c424e8874)] - Initial commit (Neil Kistner) diff --git a/package.json b/package.json index 362a2e1..7bad984 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,12 @@ }, "main": "index.js", "scripts": { + "changelog": "changelog-maker --filter-release -- wyze eslint-config-wyze", "lint": "eslint rules *.js", "prelint": "npm link && npm link eslint-config-wyze", "pretest": "npm run lint", - "test": "jest" + "test": "jest", + "version": "node scripts/version.js" }, "files": [ "rules", @@ -50,6 +52,7 @@ "babel-eslint": "^7.1.1", "babel-jest": "^19.0.0", "babel-plugin-transform-inline-imports-commonjs": "^1.2.0", + "changelog-maker": "^2.2.5", "eslint": "^3.18.0", "eslint-config-airbnb": "^14.1.0", "eslint-plugin-flowtype": "^2.30.3", @@ -57,6 +60,8 @@ "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-react": "^6.10.2", "eslint-plugin-wyze": "^3.0.1", - "jest": "^19.0.2" + "execa": "^0.6.2", + "jest": "^19.0.2", + "read-pkg": "^2.0.0" } } diff --git a/readme.md b/readme.md index fddef25..f989e14 100644 --- a/readme.md +++ b/readme.md @@ -66,6 +66,14 @@ babel-eslint eslint eslint-config-wyze eslint-plugin-flowtype } ``` +## Change Log + +> [Full Change Log](changelog.md) + +### [v4.1.0](https://github.com/wyze/eslint-config-wyze/releases/tag/v4.1.0) (2017-02-06) + +* [[`693f225e9e`](https://github.com/wyze/eslint-config-wyze/commit/693f225e9e)] - Upgrade dependencies (Neil Kistner) + ## License MIT © [Neil Kistner](https://neilkistner.com) diff --git a/scripts/version.js b/scripts/version.js new file mode 100644 index 0000000..a7e1a5a --- /dev/null +++ b/scripts/version.js @@ -0,0 +1,84 @@ +const execa = require('execa') +const readFile = require('fs').readFileSync +const readPkg = require('read-pkg') +const writeFile = require('fs').writeFileSync + +/** + * Determines if a version string is beta or not. + * + * @param {String} version - The string to check. + * @return {Boolean} + */ +const isBeta = version => /-beta\.\d+(\s|$)/.test(version) + +// get version from pkg.json +const getVersionAndUrl = + ({ repository: { url }, version }) => { + // Don't generate change log for beta releases + if ( isBeta(version) ) { + process.exit(0) + } + + return { url, version } + } + +// npm run changelog (and grab output) +const getChanges = ({ url, version }) => { + const { stdout } = execa.sync('npm', [ 'run', 'changelog', '--silent' ]) + const changes = stdout.trim().split(' \n') + // Filter beta releases because `changelog-maker` doesn't + .filter(msg => !isBeta(msg)) + + return { changes, url, version } +} + +// modify changelog.md +const updateChangelog = ({ changes, url, version }) => { + const file = 'changelog.md' + const changelog = readFile(file).toString().split('\n') + const date = new Date().toJSON().split('T').shift() + const tag = `v${version}` + const repo = url.replace(/\.?git(?!hub)\+?/g, '') + const header = `### [${tag}](${repo}/releases/tag/${tag}) (${date})` + const formatted = [ header, '', ...changes ] + + writeFile( + file, + [ + ...changelog.slice(0, 2), + ...formatted, + ...changelog.slice(1), + ].join('\n') + ) + + return formatted +} + +// modify readme.md +const updateReadme = formatted => { + const file = 'readme.md' + const readme = readFile(file).toString().split('\n') + const start = '> [Full Change Log](changelog.md)' + const end = '## License' + + writeFile( + file, + [ + ...readme.slice(0, readme.indexOf(start) + 2), + ...formatted, + ...readme.slice(readme.indexOf(end) - 1), + ].join('\n') + ) +} + +// git add +const runGitAdd = () => { + execa.sync('git', [ 'add', '--all' ]) +} + +readPkg() + .then(getVersionAndUrl) + .then(getChanges) + .then(updateChangelog) + .then(updateReadme) + .then(runGitAdd) diff --git a/yarn.lock b/yarn.lock index d0c47df..b357a38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,6 +80,17 @@ append-transform@^0.4.0: dependencies: default-require-extensions "^1.0.0" +application-config-path@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/application-config-path/-/application-config-path-0.1.0.tgz#193c5f0a86541a4c66fba1e2dc38583362ea5e8f" + +application-config@~1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/application-config/-/application-config-1.0.1.tgz#5aa2e2a5ed6abd2e5d1d473d3596f574044fe9e7" + dependencies: + application-config-path "^0.1.0" + mkdirp "^0.5.1" + argparse@^1.0.7: version "1.0.9" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" @@ -151,7 +162,7 @@ async@^1.4.0, async@^1.4.2: version "1.5.2" resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@^2.1.4: +async@^2.1.4, async@~2.1.5: version "2.1.5" resolved "https://registry.yarnpkg.com/async/-/async-2.1.5.tgz#e587c68580994ac67fc56ff86d3ac56bdbe810bc" dependencies: @@ -347,6 +358,24 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" +bl@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/bl/-/bl-1.0.3.tgz#fc5421a28fd4226036c3b3891a66a25bc64d226e" + dependencies: + readable-stream "~2.0.5" + +bl@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/bl/-/bl-1.1.2.tgz#fdca871a99713aa00d19e3bbba41c44787a65398" + dependencies: + readable-stream "~2.0.5" + +bl@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.0.tgz#1397e7ec42c5f5dc387470c500e34a9f6be9ea98" + dependencies: + readable-stream "^2.0.5" + boom@2.x.x: version "2.10.1" resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" @@ -427,7 +456,7 @@ center-align@^0.1.1: align-text "^0.1.3" lazy-cache "^1.0.3" -chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3, chalk@~1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" dependencies: @@ -437,6 +466,23 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" +changelog-maker@^2.2.5: + version "2.2.5" + resolved "https://registry.yarnpkg.com/changelog-maker/-/changelog-maker-2.2.5.tgz#99ee4dbed3a70c5f68254dac948bacae747d9f94" + dependencies: + async "~2.1.5" + bl "~1.2.0" + chalk "~1.1.3" + commit-stream "~1.0.2" + debug "~2.6.1" + ghauth "~3.2.1" + ghissues "~1.1.3" + gitexec "~1.0.0" + list-stream "~1.0.1" + minimist "~1.2.0" + pkg-to-id "~0.0.3" + split2 "~2.1.1" + ci-info@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534" @@ -501,6 +547,13 @@ commander@^2.9.0: dependencies: graceful-readlink ">= 1.0.0" +commit-stream@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/commit-stream/-/commit-stream-1.0.2.tgz#903835e1f3ad30981401ebf605334f7c47d580af" + dependencies: + strip-ansi "~3.0.0" + through2 "~2.0.0" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -533,6 +586,14 @@ core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" +cross-spawn@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" + dependencies: + lru-cache "^4.0.1" + shebang-command "^1.2.0" + which "^1.2.9" + cryptiles@2.x.x: version "2.0.5" resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" @@ -571,9 +632,9 @@ debug@2.2.0: dependencies: ms "0.7.1" -debug@^2.1.1, debug@^2.2.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" +debug@^2.1.1, debug@^2.2.0, debug@~2.6.1: + version "2.6.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" dependencies: ms "0.7.2" @@ -638,6 +699,12 @@ doctrine@^2.0.0: esutils "^2.0.2" isarray "^1.0.0" +duplexer2@~0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" + dependencies: + readable-stream "~1.1.9" + ecc-jsbn@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" @@ -917,6 +984,18 @@ exec-sh@^0.2.0: dependencies: merge "^1.1.3" +execa@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.6.2.tgz#04e9e38dec6b8e770cf0fb6cf7ef945260c67bbb" + dependencies: + cross-spawn "^5.0.1" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + exit-hook@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" @@ -1068,12 +1147,46 @@ get-caller-file@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" +get-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + getpass@^0.1.1: version "0.1.6" resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" dependencies: assert-plus "^1.0.0" +ghauth@~3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ghauth/-/ghauth-3.2.1.tgz#45d7556437164ad8b4b037c02c627fd55019e31a" + dependencies: + application-config "~1.0.0" + bl "~1.1.2" + hyperquest "~2.0.0" + mkdirp "~0.5.1" + read "~1.0.7" + xtend "~4.0.1" + +ghissues@~1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ghissues/-/ghissues-1.1.3.tgz#152e0da2591700922d25df0f062c2e432de69804" + dependencies: + ghutils "~3.2.0" + +ghutils@~3.2.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ghutils/-/ghutils-3.2.1.tgz#4fcedffac935fcace06e12a17c6174e2c29ffe4f" + dependencies: + jsonist "~1.3.0" + xtend "~4.0.1" + +gitexec@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/gitexec/-/gitexec-1.0.0.tgz#ac589ca3177a99427465aa37b1f817176c1e3422" + dependencies: + bl "~1.0.0" + glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -1198,6 +1311,20 @@ http-signature@~1.1.0: jsprim "^1.2.2" sshpk "^1.7.0" +hyperquest@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/hyperquest/-/hyperquest-1.2.0.tgz#39e1fef66888dc7ce0dec6c0dd814f6fc8944ad5" + dependencies: + duplexer2 "~0.0.2" + through2 "~0.6.3" + +hyperquest@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hyperquest/-/hyperquest-2.0.0.tgz#3d1a0c5d83295bcde5c75a978ddaae4096f83c02" + dependencies: + duplexer2 "~0.0.2" + through2 "~0.6.3" + iconv-lite@0.4.13: version "0.4.13" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2" @@ -1374,6 +1501,10 @@ is-resolvable@^1.0.0: dependencies: tryit "^1.0.1" +is-stream@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + is-symbol@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" @@ -1386,6 +1517,10 @@ is-utf8@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -1733,7 +1868,7 @@ json-stable-stringify@^1.0.0, json-stable-stringify@^1.0.1: dependencies: jsonify "~0.0.0" -json-stringify-safe@~5.0.1: +json-stringify-safe@~5.0.0, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -1745,6 +1880,15 @@ jsonify@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" +jsonist@~1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/jsonist/-/jsonist-1.3.0.tgz#c0c74b95ef1c952038619b29efa520b1cc987556" + dependencies: + bl "~1.0.0" + hyperquest "~1.2.0" + json-stringify-safe "~5.0.0" + xtend "~4.0.0" + jsonpointer@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" @@ -1791,6 +1935,13 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +list-stream@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/list-stream/-/list-stream-1.0.1.tgz#e34492addccd1a165b028ad6d795a36c4fd95d29" + dependencies: + readable-stream "~2.0.5" + xtend "~4.0.1" + load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -1801,6 +1952,15 @@ load-json-file@^1.0.0: pinkie-promise "^2.0.0" strip-bom "^2.0.0" +load-json-file@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + strip-bom "^3.0.0" + locate-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" @@ -1830,6 +1990,13 @@ loose-envify@^1.0.0: dependencies: js-tokens "^2.0.0" +lru-cache@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" + dependencies: + pseudomap "^1.0.1" + yallist "^2.0.0" + makeerror@1.0.x: version "1.0.11" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" @@ -1878,11 +2045,11 @@ minimist@0.0.8, minimist@~0.0.1: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.1: +minimist@^1.1.1, minimist@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" -mkdirp@^0.5.0, mkdirp@^0.5.1: +mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" dependencies: @@ -1896,7 +2063,7 @@ ms@0.7.2: version "0.7.2" resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" -mute-stream@0.0.5: +mute-stream@0.0.5, mute-stream@~0.0.4: version "0.0.5" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" @@ -1930,6 +2097,12 @@ normalize-path@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.0.1.tgz#47886ac1662760d4261b7d979d241709d3ce3f7a" +npm-run-path@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" + dependencies: + path-key "^2.0.0" + number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" @@ -2007,6 +2180,10 @@ os-tmpdir@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + p-limit@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" @@ -2054,6 +2231,10 @@ path-is-inside@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" +path-key@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + path-parse@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" @@ -2066,6 +2247,12 @@ path-type@^1.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" +path-type@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" + dependencies: + pify "^2.0.0" + pify@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -2086,6 +2273,10 @@ pkg-dir@^1.0.0: dependencies: find-up "^1.0.0" +pkg-to-id@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/pkg-to-id/-/pkg-to-id-0.0.3.tgz#34ff336cff53c27a8bf484bc7e3d31ea6c1ccca8" + pkg-up@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-1.0.0.tgz#3e08fb461525c4421624a33b9f7e6d0af5b05a26" @@ -2126,6 +2317,10 @@ prr@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" +pseudomap@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" + punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -2156,7 +2351,30 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -readable-stream@^2.2.2: +read-pkg@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" + dependencies: + load-json-file "^2.0.0" + normalize-package-data "^2.3.2" + path-type "^2.0.0" + +read@~1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" + dependencies: + mute-stream "~0.0.4" + +"readable-stream@>=1.0.33-1 <1.1.0-0": + version "1.0.34" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readable-stream@^2.0.5, readable-stream@^2.1.5, readable-stream@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.2.tgz#a9e6fec3c7dda85f8bb1b3ba7028604556fc825e" dependencies: @@ -2168,6 +2386,26 @@ readable-stream@^2.2.2: string_decoder "~0.10.x" util-deprecate "~1.0.1" +readable-stream@~1.1.9: + version "1.1.14" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readable-stream@~2.0.5: + version "2.0.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "~1.0.0" + process-nextick-args "~1.0.6" + string_decoder "~0.10.x" + util-deprecate "~1.0.1" + readline2@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" @@ -2312,6 +2550,16 @@ set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + shelljs@^0.7.5: version "0.7.6" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad" @@ -2324,6 +2572,10 @@ shellwords@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14" +signal-exit@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" + slash@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" @@ -2374,6 +2626,12 @@ spdx-license-ids@^1.0.2: version "1.2.2" resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" +split2@~2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/split2/-/split2-2.1.1.tgz#7a1f551e176a90ecd3345f7246a0cfe175ef4fd0" + dependencies: + through2 "^2.0.2" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -2422,7 +2680,7 @@ stringstream@~0.0.4: version "0.0.5" resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +strip-ansi@^3.0.0, strip-ansi@^3.0.1, strip-ansi@~3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" dependencies: @@ -2438,6 +2696,10 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" +strip-eof@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" + strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -2485,6 +2747,20 @@ throat@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/throat/-/throat-3.0.0.tgz#e7c64c867cbb3845f10877642f7b60055b8ec0d6" +through2@^2.0.2, through2@~2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" + dependencies: + readable-stream "^2.1.5" + xtend "~4.0.1" + +through2@~0.6.3: + version "0.6.5" + resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48" + dependencies: + readable-stream ">=1.0.33-1 <1.1.0-0" + xtend ">=4.0.0 <4.1.0-0" + through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" @@ -2607,7 +2883,7 @@ which-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" -which@^1.1.1, which@^1.2.12: +which@^1.1.1, which@^1.2.12, which@^1.2.9: version "1.2.12" resolved "https://registry.yarnpkg.com/which/-/which-1.2.12.tgz#de67b5e450269f194909ef23ece4ebe416fa1192" dependencies: @@ -2657,7 +2933,7 @@ xml-name-validator@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0: +"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@~4.0.0, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" @@ -2665,6 +2941,10 @@ y18n@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" +yallist@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" + yargs-parser@^4.2.0: version "4.2.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c"