Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b2674e23da | |||
| 55bc182226 | |||
| bd5fdb4edf | |||
| 61fcb44c68 | |||
| 1f6f596c6a | |||
| 6d3e7e7ba9 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartgulp",
|
"name": "smartgulp",
|
||||||
"version": "1.0.1",
|
"version": "1.0.4",
|
||||||
"description": "lightweight gulp replacement",
|
"description": "lightweight gulp replacement",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
@@ -24,14 +24,14 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/smartgulp#README",
|
"homepage": "https://gitlab.com/pushrocks/smartgulp#README",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp-function": "^2.2.5",
|
"gulp-function": "^2.2.9",
|
||||||
"tapbundle": "^1.0.10"
|
"tapbundle": "^1.0.10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash": "^4.14.63",
|
"@types/lodash": "^4.14.63",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"smartevent": "^1.0.1",
|
"smartevent": "^1.0.1",
|
||||||
"smartfile": "^4.2.1",
|
"smartfile": "^4.2.4",
|
||||||
"smartq": "^1.1.1",
|
"smartq": "^1.1.1",
|
||||||
"smartstream": "^1.0.8",
|
"smartstream": "^1.0.8",
|
||||||
"typings-global": "^1.0.16"
|
"typings-global": "^1.0.16"
|
||||||
|
|||||||
@@ -7,15 +7,13 @@ import * as smartq from 'smartq'
|
|||||||
|
|
||||||
tap.test('smartgulp.src -> should read a directoy', async () => {
|
tap.test('smartgulp.src -> should read a directoy', async () => {
|
||||||
let done = smartq.defer()
|
let done = smartq.defer()
|
||||||
smartgulp.src(['./test/testfiles/**/*'])
|
smartgulp.src(['./test/testfiles/**/*.md'])
|
||||||
.pipe(gulpFunction.forEach(async (fileArg) => {
|
.pipe(gulpFunction.forEach(async (fileArg) => {
|
||||||
console.log(fileArg.path)
|
console.log(fileArg.path)
|
||||||
}))
|
}))
|
||||||
.pipe(gulpFunction.atEnd(async () => {
|
.pipe(gulpFunction.atEnd(async () => {
|
||||||
console.log('hey')
|
done.resolve()
|
||||||
|
|
||||||
}))
|
}))
|
||||||
done.resolve()
|
|
||||||
await done.promise
|
await done.promise
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
27
yarn.lock
27
yarn.lock
@@ -37,15 +37,11 @@
|
|||||||
version "0.0.27"
|
version "0.0.27"
|
||||||
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
|
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
|
||||||
|
|
||||||
"@types/q@0.0.32":
|
|
||||||
version "0.0.32"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
|
||||||
|
|
||||||
"@types/q@0.x.x":
|
"@types/q@0.x.x":
|
||||||
version "0.0.34"
|
version "0.0.34"
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.34.tgz#e5d3a54e7a56309d904cdf1dc34f61ac595fae2e"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.34.tgz#e5d3a54e7a56309d904cdf1dc34f61ac595fae2e"
|
||||||
|
|
||||||
"@types/through2@^2.0.31", "@types/through2@^2.0.32":
|
"@types/through2@^2.0.32":
|
||||||
version "2.0.32"
|
version "2.0.32"
|
||||||
resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.32.tgz#470024450f1ab7640f19f9ebf42d3da574c26129"
|
resolved "https://registry.yarnpkg.com/@types/through2/-/through2-2.0.32.tgz#470024450f1ab7640f19f9ebf42d3da574c26129"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -198,15 +194,14 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6:
|
|||||||
version "4.1.11"
|
version "4.1.11"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
||||||
|
|
||||||
gulp-function@^2.2.3:
|
gulp-function@^2.2.9:
|
||||||
version "2.2.3"
|
version "2.2.9"
|
||||||
resolved "https://registry.yarnpkg.com/gulp-function/-/gulp-function-2.2.3.tgz#8f62de74ce74de3fa91c48ba247472c1f56873bd"
|
resolved "https://registry.yarnpkg.com/gulp-function/-/gulp-function-2.2.9.tgz#de513103db9d817e94bb8aab45f30bf286f19ae5"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/q" "0.0.32"
|
"@types/through2" "^2.0.32"
|
||||||
"@types/through2" "^2.0.31"
|
smartq "^1.1.1"
|
||||||
q "^1.4.1"
|
through2 "^2.0.3"
|
||||||
through2 "^2.0.1"
|
typings-global "^1.0.16"
|
||||||
typings-global "^1.0.14"
|
|
||||||
|
|
||||||
home@^1.0.1:
|
home@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
@@ -398,9 +393,9 @@ smartevent@^1.0.1:
|
|||||||
smartq "^1.1.1"
|
smartq "^1.1.1"
|
||||||
typings-global "^1.0.16"
|
typings-global "^1.0.16"
|
||||||
|
|
||||||
smartfile@^4.2.0:
|
smartfile@^4.2.4:
|
||||||
version "4.2.1"
|
version "4.2.4"
|
||||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.1.tgz#2ec85f803f771a1ddff377a438ae87aab25f3e6e"
|
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.4.tgz#5b53324f3d7f0b3fb2dffb134b32808da89b4dee"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/fs-extra" "2.x.x"
|
"@types/fs-extra" "2.x.x"
|
||||||
"@types/vinyl" "^2.0.0"
|
"@types/vinyl" "^2.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user