Comparing version 0.1.9 to 0.1.10
{ | ||
"name": "gulp-chug", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Run external gulpfiles as part of a gulp task inside another gulpfile", | ||
@@ -23,11 +23,12 @@ "repository": "https://github.com/robatron/gulp-chug.git", | ||
"gulp-util": "~2.2.13", | ||
"gulp": "~3.5", | ||
"resolve": "~0.6.1" | ||
}, | ||
"devDependencies": { | ||
"gulp-replace": "~0.2.0" | ||
"gulp-replace": "~0.2.0", | ||
"gulp": "^3.6.1" | ||
}, | ||
"scripts": { | ||
"test": "cd test && node ../node_modules/gulp/bin/gulp" | ||
"test": "cd test && node ../node_modules/gulp/bin/gulp", | ||
"publish-0.1": "git tag -a 0.1 -f -m 'IPO' && git push origin master && git push -f origin 0.1 && npm publish" | ||
} | ||
} |
@@ -6,42 +6,56 @@ /** Ghetto testing. Run `gulp` from this directory, and things should happen | ||
*/ | ||
var gulp = require( 'gulp' ); | ||
var gulp = require( 'gulp' ); | ||
var replace = require( 'gulp-replace' ); | ||
var gulpCascade = require( '../index.js' ); | ||
var chug = require( '../index.js' ); | ||
// Happy path | ||
gulp.task( 'happy', function () { | ||
gulp.src( './subproj/gulpfile.js' ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Custom gulpfile file name | ||
gulp.task( 'custom-filename', function () { | ||
gulp.src( './subproj/gulpfile-custom-name.js' ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Nested gulpfile | ||
gulp.task( 'deep-nest', function () { | ||
gulp.src( './subproj/subdir/gulpfile.js' ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Glob multiple gulpfiles | ||
gulp.task( 'glob', function () { | ||
gulp.src( './subproj/**/gulpfile*.js' ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Non-existant gulpfile | ||
gulp.task( 'non-existant', function () { | ||
gulp.src( './subproj/non-existant-file.js' ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// No-read option | ||
gulp.task( 'no-read', function () { | ||
gulp.src( './subproj/gulpfile.js', { read: false } ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Mess with the gulpfile before running | ||
gulp.task( 'modify-before', function () { | ||
gulp.src( './subproj/gulpfile.js' ) | ||
.pipe( replace( 'Hello', 'Goodbye' ) ) | ||
.pipe( gulpCascade() ) | ||
.pipe( chug() ) | ||
} ); | ||
// Make sure it works synchronously | ||
gulp.task( 'sync', function () { | ||
return gulp.src( './subproj/gulpfile.js' ) | ||
.pipe( chug() ) | ||
} ); | ||
gulp.task( 'default', [ | ||
@@ -54,3 +68,4 @@ 'happy', | ||
'no-read', | ||
'modify-before' | ||
'modify-before', | ||
'sync' | ||
] ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
12999
2
11
208
+ Addedsemver@5.7.2(transitive)
- Removedgulp@~3.5
- Removedansi-styles@1.0.0(transitive)
- Removedarchy@0.0.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedchalk@0.4.0(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddeprecated@0.0.1(transitive)
- Removedend-of-stream@0.1.5(transitive)
- Removedextend@1.2.1(transitive)
- Removedfind-index@0.1.1(transitive)
- Removedfindup-sync@0.1.3(transitive)
- Removedgaze@0.5.2(transitive)
- Removedglob@3.1.213.2.114.5.3(transitive)
- Removedglob-stream@3.1.18(transitive)
- Removedglob-watcher@0.0.6(transitive)
- Removedglob2base@0.0.12(transitive)
- Removedglobule@0.1.0(transitive)
- Removedgraceful-fs@1.2.32.0.3(transitive)
- Removedgulp@3.5.6(transitive)
- Removedhas-color@0.1.7(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@1.0.2(transitive)
- Removedliftoff@0.9.8(transitive)
- Removedlodash@1.0.2(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedmap-stream@0.1.0(transitive)
- Removedminimatch@0.2.140.3.02.0.10(transitive)
- Removedminimist@0.0.10(transitive)
- Removedmkdirp@0.3.5(transitive)
- Removedonce@1.3.3(transitive)
- Removedorchestrator@0.3.8(transitive)
- Removedordered-read-streams@0.1.0(transitive)
- Removedpretty-hrtime@0.2.2(transitive)
- Removedsemver@2.3.2(transitive)
- Removedsequencify@0.0.7(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedstream-consume@0.1.1(transitive)
- Removedstrip-ansi@0.1.1(transitive)
- Removedthrough2@0.6.5(transitive)
- Removedunique-stream@1.0.0(transitive)
- Removedvinyl-fs@0.1.4(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)