From f9e7bf450b684fb04a6e422e4939965c137acba7 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 30 Apr 2017 01:07:30 +0200 Subject: [PATCH] now cleans pipe correctly --- dist/index.js | 4 +- package.json | 1 + test/test.ts | 5 +- test/test01.md | 2 - test/test02.md | 2 - test/testfiles/test01.md | 1 + test/testfiles/test02.md | 1 + test/testfiles/test03.md | 1 + test/testfiles/test04.md | 1 + test/testfiles/test05.md | 1 + test/testfiles/test06.md | 1 + test/testfiles/test07.md | 1 + test/testfiles/test08.md | 1 + test/testfiles/test09.md | 1 + test/testfiles/test10.md | 1 + test/testfiles/test11.md | 1 + test/testfiles/test12.md | 1 + test/testfiles/test13.md | 1 + test/testfiles/test14.md | 1 + test/testfiles/test15.md | 1 + test/testfiles/test16.md | 1 + test/testfiles/test17.md | 1 + test/testfiles/test18.md | 1 + ts/index.ts | 2 +- yarn.lock | 224 +++++++++++++++++++++++++++++++++++++-- 25 files changed, 241 insertions(+), 17 deletions(-) delete mode 100644 test/test01.md delete mode 100644 test/test02.md create mode 100644 test/testfiles/test01.md create mode 100644 test/testfiles/test02.md create mode 100644 test/testfiles/test03.md create mode 100644 test/testfiles/test04.md create mode 100644 test/testfiles/test05.md create mode 100644 test/testfiles/test06.md create mode 100644 test/testfiles/test07.md create mode 100644 test/testfiles/test08.md create mode 100644 test/testfiles/test09.md create mode 100644 test/testfiles/test10.md create mode 100644 test/testfiles/test11.md create mode 100644 test/testfiles/test12.md create mode 100644 test/testfiles/test13.md create mode 100644 test/testfiles/test14.md create mode 100644 test/testfiles/test15.md create mode 100644 test/testfiles/test16.md create mode 100644 test/testfiles/test17.md create mode 100644 test/testfiles/test18.md diff --git a/dist/index.js b/dist/index.js index 3c0f5db..091ca95 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45,7 +45,7 @@ let defaultExport = (functionsToExecuteArg, executionModeArg = 'forEach') => { hasExecutedOnce = true; break; case 'atEnd': - cb(null, file); + cb(); break; default: break; @@ -73,4 +73,4 @@ exports.atEnd = (funcArg) => { return defaultExport(funcArg, 'atEnd'); }; exports.default = defaultExport; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBCQUF1QjtBQUV2QixxQ0FBb0M7QUFTcEMsSUFBSSxhQUFhLEdBQUcsQ0FDbEIscUJBQTRELEVBQzVELG1CQUFtQyxTQUFTO0lBRzVDLElBQUksWUFBWSxHQUFHLEVBQUUsQ0FBQTtJQUNyQixJQUFJLFdBQVcsR0FBRyxVQUFVLFdBQVcsRUFBRSxJQUFJLEVBQUUsR0FBRztRQUNoRCxJQUFJLFdBQVcsR0FBRyxXQUFXLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO1FBQ3hDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sV0FBVyxLQUFLLFdBQVcsSUFBSSxPQUFPLFdBQVcsQ0FBQyxJQUFJLEtBQUssV0FBVyxDQUFDLENBQUMsQ0FBQztZQUNsRixZQUFZLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxDQUFBO1FBQ2hDLENBQUM7SUFDSCxDQUFDLENBQUE7SUFFRCxJQUFJLG1CQUFtQixHQUFHLFVBQVUsSUFBSSxFQUFFLEdBQUc7UUFDM0MsRUFBRSxDQUFDLENBQUMsT0FBTyxxQkFBcUIsS0FBSyxVQUFVLENBQUMsQ0FBQyxDQUFDO1lBQ2hELFdBQVcsQ0FBQyxxQkFBcUIsRUFBRSxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUE7UUFDL0MsQ0FBQztRQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLHFCQUFxQixDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ2hELEdBQUcsQ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UFPLEVBQUUsT0FBTyxDQUFDLENBQUE7QUFDeEMsQ0FBQyxDQUFBO0FBRUQsa0JBQWUsYUFBYSxDQUFBIn0= \ No newline at end of file diff --git a/package.json b/package.json index 04da938..dd16271 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "devDependencies": { "beautylog": "^6.1.10", "gulp": "^3.9.1", + "smartgulp": "^1.0.1", "tapbundle": "^1.0.10" } } diff --git a/test/test.ts b/test/test.ts index 6d569c5..6e376bb 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,5 +1,6 @@ import { expect, tap } from 'tapbundle' +import * as smartgulp from 'smartgulp' let gulp = require('gulp') import * as gulpFunction from '../dist/index' @@ -10,7 +11,7 @@ let smartq = require('smartq') tap.test('should run through smoothly with ' + "'forEach'", async (tools) => { let done = smartq.defer() let counter = 0 - gulp.src('./test/*.md') + gulp.src('./test/testfiles/*.md') .pipe(gulpFunction.forEach(async () => { counter++ if (counter === 2) { @@ -23,7 +24,7 @@ tap.test('should run through smoothly with ' + "'forEach'", async (tools) => { tap.test('should run through smoothly with ' + "'forEach'", async (tools) => { let done = smartq.defer() let counter = 0 - gulp.src('./test/*.md') + smartgulp.src(['./test/testfiles/*.md']) .pipe(gulpFunction.atEnd(async () => { console.log('atEnd') done.resolve() diff --git a/test/test01.md b/test/test01.md deleted file mode 100644 index b5fcd02..0000000 --- a/test/test01.md +++ /dev/null @@ -1,2 +0,0 @@ -# Test.md -This is a test file for the test.js gulp pipeline \ No newline at end of file diff --git a/test/test02.md b/test/test02.md deleted file mode 100644 index fdf3ba9..0000000 --- a/test/test02.md +++ /dev/null @@ -1,2 +0,0 @@ -# Test.md -This is another test file for the test.js gulp pipeline \ No newline at end of file diff --git a/test/testfiles/test01.md b/test/testfiles/test01.md new file mode 100644 index 0000000..ed59362 --- /dev/null +++ b/test/testfiles/test01.md @@ -0,0 +1 @@ +# the 1st testfile \ No newline at end of file diff --git a/test/testfiles/test02.md b/test/testfiles/test02.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test02.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test03.md b/test/testfiles/test03.md new file mode 100644 index 0000000..3ceff99 --- /dev/null +++ b/test/testfiles/test03.md @@ -0,0 +1 @@ +# the third testfile \ No newline at end of file diff --git a/test/testfiles/test04.md b/test/testfiles/test04.md new file mode 100644 index 0000000..d80f0e7 --- /dev/null +++ b/test/testfiles/test04.md @@ -0,0 +1 @@ +# the fourth testfile \ No newline at end of file diff --git a/test/testfiles/test05.md b/test/testfiles/test05.md new file mode 100644 index 0000000..c3b7c6f --- /dev/null +++ b/test/testfiles/test05.md @@ -0,0 +1 @@ +# the fifth testfile \ No newline at end of file diff --git a/test/testfiles/test06.md b/test/testfiles/test06.md new file mode 100644 index 0000000..419f4e4 --- /dev/null +++ b/test/testfiles/test06.md @@ -0,0 +1 @@ +# the sixth testfile \ No newline at end of file diff --git a/test/testfiles/test07.md b/test/testfiles/test07.md new file mode 100644 index 0000000..7efebce --- /dev/null +++ b/test/testfiles/test07.md @@ -0,0 +1 @@ +# the seventh testfile \ No newline at end of file diff --git a/test/testfiles/test08.md b/test/testfiles/test08.md new file mode 100644 index 0000000..2e8ff19 --- /dev/null +++ b/test/testfiles/test08.md @@ -0,0 +1 @@ +# the eighth testfile \ No newline at end of file diff --git a/test/testfiles/test09.md b/test/testfiles/test09.md new file mode 100644 index 0000000..61c4d66 --- /dev/null +++ b/test/testfiles/test09.md @@ -0,0 +1 @@ +# the nineth testfile \ No newline at end of file diff --git a/test/testfiles/test10.md b/test/testfiles/test10.md new file mode 100644 index 0000000..2bda6a1 --- /dev/null +++ b/test/testfiles/test10.md @@ -0,0 +1 @@ +# the tenth testfile \ No newline at end of file diff --git a/test/testfiles/test11.md b/test/testfiles/test11.md new file mode 100644 index 0000000..d8e2eab --- /dev/null +++ b/test/testfiles/test11.md @@ -0,0 +1 @@ +# the eleventh testfile \ No newline at end of file diff --git a/test/testfiles/test12.md b/test/testfiles/test12.md new file mode 100644 index 0000000..640c018 --- /dev/null +++ b/test/testfiles/test12.md @@ -0,0 +1 @@ +# the twelveth testfile \ No newline at end of file diff --git a/test/testfiles/test13.md b/test/testfiles/test13.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test13.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test14.md b/test/testfiles/test14.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test14.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test15.md b/test/testfiles/test15.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test15.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test16.md b/test/testfiles/test16.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test16.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test17.md b/test/testfiles/test17.md new file mode 100644 index 0000000..7b95b09 --- /dev/null +++ b/test/testfiles/test17.md @@ -0,0 +1 @@ +# the second testfile \ No newline at end of file diff --git a/test/testfiles/test18.md b/test/testfiles/test18.md new file mode 100644 index 0000000..edea4fa --- /dev/null +++ b/test/testfiles/test18.md @@ -0,0 +1 @@ +# the 18th testfile \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index 2bbd3f2..1ba8804 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -55,7 +55,7 @@ let defaultExport = ( hasExecutedOnce = true break case 'atEnd': - cb(null, file) + cb() break default: break diff --git a/yarn.lock b/yarn.lock index a78a770..e72c164 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,13 @@ version "3.5.2" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e" -"@types/lodash@^4.14.55": +"@types/fs-extra@2.x.x": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-2.1.0.tgz#8b350239c0455d92b8d3c626edac193860ff395f" + dependencies: + "@types/node" "*" + +"@types/lodash@^4.14.55", "@types/lodash@^4.14.63": version "4.14.63" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.63.tgz#5ac475f55bfdc62bc88c4239dbc482f2f3bead93" @@ -31,12 +37,22 @@ version "0.0.27" resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780" +"@types/q@0.x.x": + version "0.0.34" + resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.34.tgz#e5d3a54e7a56309d904cdf1dc34f61ac595fae2e" + "@types/through2@^2.0.32": version "2.0.32" resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.32.tgz#470024450f1ab7640f19f9ebf42d3da574c26129" dependencies: "@types/node" "*" +"@types/vinyl@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.0.tgz#fd213bf7f4136dde21fe1895500b12c186f8c268" + dependencies: + "@types/node" "*" + ansi-256-colors@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a" @@ -53,6 +69,12 @@ archy@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" +argparse@^1.0.7: + version "1.0.9" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" + dependencies: + sprintf-js "~1.0.2" + arr-diff@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" @@ -172,10 +194,18 @@ cli-spinners@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.0.0.tgz#ef987ed3d48391ac3dab9180b406a742180d6e6a" +clone-buffer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" + clone-stats@^0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" +clone-stats@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" + clone@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f" @@ -184,6 +214,14 @@ clone@^1.0.0, clone@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" +cloneable-readable@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117" + dependencies: + inherits "^2.0.1" + process-nextick-args "^1.0.6" + through2 "^2.0.1" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -242,6 +280,10 @@ escape-string-regexp@^1.0.2: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" +esprima@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" + expand-brackets@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" @@ -324,6 +366,12 @@ first-chunk-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e" +first-chunk-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70" + dependencies: + readable-stream "^2.0.2" + flagged-respawn@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-0.3.2.tgz#ff191eddcd7088a675b2610fffc976be9b8074b5" @@ -342,6 +390,14 @@ fs-exists-sync@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" +fs-extra@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.0.tgz#244e0c4b0b8818f54040ec049d8a2bddc1202861" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^3.0.0" + universalify "^0.1.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -397,7 +453,7 @@ glob@^4.3.1: minimatch "^2.0.1" once "^1.3.0" -glob@^7.0.0: +glob@^7.0.0, glob@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" dependencies: @@ -452,6 +508,10 @@ graceful-fs@^3.0.0: dependencies: natives "^1.1.0" +graceful-fs@^4.1.2, graceful-fs@^4.1.6: + version "4.1.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" + graceful-fs@~1.2.0: version "1.2.3" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" @@ -515,6 +575,12 @@ has-gulplog@^0.1.0: dependencies: sparkles "^1.0.0" +home@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/home/-/home-1.0.1.tgz#96a423ceb49b98378ff5ef3ceae059a557f9dd35" + dependencies: + os-homedir "^1.0.1" + homedir-polyfill@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" @@ -532,7 +598,7 @@ inherits@1: version "1.0.2" resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b" -inherits@2, inherits@~2.0.1: +inherits@2, inherits@^2.0.1, inherits@~2.0.1: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" @@ -599,13 +665,17 @@ is-relative@^0.2.1: dependencies: is-unc-path "^0.1.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-unc-path@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-0.1.2.tgz#6ab053a72573c10250ff416a3814c35178af39b9" dependencies: unc-path-regex "^0.1.0" -is-utf8@^0.2.0: +is-utf8@^0.2.0, is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" @@ -631,6 +701,19 @@ isobject@^2.0.0: dependencies: isarray "1.0.0" +js-yaml@^3.8.3: + version "3.8.3" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766" + dependencies: + argparse "^1.0.7" + esprima "^3.1.1" + +jsonfile@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.0.tgz#92e7c7444e5ffd5fa32e6a9ae8b85034df8347d0" + optionalDependencies: + graceful-fs "^4.1.6" + kind-of@^3.0.2: version "3.2.0" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.0.tgz#b58abe4d5c044ad33726a8c1525b48cf891bff07" @@ -968,6 +1051,10 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" @@ -980,10 +1067,14 @@ pretty-hrtime@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" -process-nextick-args@~1.0.6: +process-nextick-args@^1.0.6, process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" +q@^1.4.1: + version "1.5.0" + resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1" + randomatic@^1.1.3: version "1.1.6" resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" @@ -1000,7 +1091,7 @@ randomatic@^1.1.3: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^2.1.5: +readable-stream@^2.0.2, readable-stream@^2.1.5: version "2.2.9" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8" dependencies: @@ -1050,6 +1141,14 @@ replace-ext@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924" +replace-ext@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" + +require-reload@0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/require-reload/-/require-reload-0.2.2.tgz#29a7591846caf91b6e8a3cda991683f95f8d7d42" + resolve-dir@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-0.1.1.tgz#b219259a5602fac5c5c496ad894a6e8cc430261e" @@ -1123,17 +1222,81 @@ smartenv@^2.0.0: smartq "^1.1.1" typings-global "^1.0.14" -smartq@^1.1.1: +smartevent@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/smartevent/-/smartevent-1.0.1.tgz#13d2bf2cf094ebdf17813fa0d46041f817a302aa" + dependencies: + smartq "^1.1.1" + typings-global "^1.0.16" + +smartfile@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.1.tgz#2ec85f803f771a1ddff377a438ae87aab25f3e6e" + dependencies: + "@types/fs-extra" "2.x.x" + "@types/vinyl" "^2.0.0" + fs-extra "^3.0.0" + glob "^7.1.1" + js-yaml "^3.8.3" + require-reload "0.2.2" + smartpath "^3.2.8" + smartq "^1.1.1" + smartrequest "^1.0.4" + typings-global "^1.0.16" + vinyl "^2.0.2" + vinyl-file "^3.0.0" + +smartgulp@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/smartgulp/-/smartgulp-1.0.1.tgz#801ad5fbf61f393ca6ba01e28f40758bb75f4a30" + dependencies: + "@types/lodash" "^4.14.63" + lodash "^4.17.4" + smartevent "^1.0.1" + smartfile "^4.2.1" + smartq "^1.1.1" + smartstream "^1.0.8" + typings-global "^1.0.16" + +smartpath@^3.2.8: + version "3.2.8" + resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940" + dependencies: + home "^1.0.1" + typings-global "^1.0.14" + +smartq@^1.1.0, smartq@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3" dependencies: typed-promisify "^0.3.0" typings-global "^1.0.14" +smartrequest@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.4.tgz#86af2163ae28f1031b01c2d8ad8c429733920611" + dependencies: + smartq "^1.1.0" + typings-global "^1.0.14" + +smartstream@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/smartstream/-/smartstream-1.0.8.tgz#da983ba304e0a27f7088b16b5e7a101da161492a" + dependencies: + "@types/q" "0.x.x" + "@types/through2" "^2.0.32" + q "^1.4.1" + through2 "^2.0.3" + typings-global "^1.0.14" + sparkles@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.0.tgz#1acbbfb592436d10bbe8f785b7cc6f82815012c3" +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + stream-consume@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.0.tgz#a41ead1a6d6081ceb79f65b061901b6d8f3d1d0f" @@ -1154,6 +1317,19 @@ strip-ansi@^3.0.0: dependencies: ansi-regex "^2.0.0" +strip-bom-buf@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572" + dependencies: + is-utf8 "^0.2.1" + +strip-bom-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca" + dependencies: + first-chunk-stream "^2.0.0" + strip-bom "^2.0.0" + strip-bom@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-1.0.0.tgz#85b8862f3844b5a6d5ec8467a93598173a36f794" @@ -1161,6 +1337,12 @@ strip-bom@^1.0.0: first-chunk-stream "^1.0.0" is-utf8 "^0.2.0" +strip-bom@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" + dependencies: + is-utf8 "^0.2.0" + supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" @@ -1183,7 +1365,7 @@ through2@^0.6.1: readable-stream ">=1.0.33-1 <1.1.0-0" xtend ">=4.0.0 <4.1.0-0" -through2@^2.0.0, through2@^2.0.3: +through2@^2.0.0, through2@^2.0.1, through2@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" dependencies: @@ -1227,6 +1409,10 @@ unique-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b" +universalify@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.0.tgz#9eb1c4651debcc670cc94f1a75762332bb967778" + user-home@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" @@ -1241,6 +1427,16 @@ v8flags@^2.0.2: dependencies: user-home "^1.1.1" +vinyl-file@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365" + dependencies: + graceful-fs "^4.1.2" + pify "^2.3.0" + strip-bom-buf "^1.0.0" + strip-bom-stream "^2.0.0" + vinyl "^2.0.1" + vinyl-fs@^0.3.0: version "0.3.14" resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6" @@ -1269,6 +1465,18 @@ vinyl@^0.5.0: clone-stats "^0.0.1" replace-ext "0.0.1" +vinyl@^2.0.1, vinyl@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.0.2.tgz#0a3713d8d4e9221c58f10ca16c0116c9e25eda7c" + dependencies: + clone "^1.0.0" + clone-buffer "^1.0.0" + clone-stats "^1.0.0" + cloneable-readable "^1.0.0" + is-stream "^1.1.0" + remove-trailing-separator "^1.0.1" + replace-ext "^1.0.0" + which@^1.2.12: version "1.2.14" resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"