getstream
Advanced tools
Comparing version 0.1.33 to 0.1.43
{ | ||
"name": "getstream", | ||
"version": "0.1.32", | ||
"version": "0.1.43", | ||
"main": "dist/js/getstream.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
@@ -10,2 +10,3 @@ var gulp = require('gulp'); | ||
var bump = require('gulp-bump'); | ||
var async = require('async'); | ||
@@ -20,2 +21,14 @@ gulp.task('default', function() { | ||
function runSynchronized(tasks, callback){ | ||
var sync = tasks.map(function(task){ | ||
return function(callback){ | ||
gulp.run(task, function(err){ | ||
callback(err); | ||
}); | ||
}; | ||
}); | ||
async.series(sync, callback); | ||
} | ||
/* | ||
@@ -91,3 +104,2 @@ * Testing related tasks | ||
fs.writeFileSync('bower.json', JSON.stringify(bowerJSON, null, ' ')); | ||
//git.commit('updated bower and npm to version ' + versionName).end(); | ||
return; | ||
@@ -100,8 +112,11 @@ }); | ||
var message = 'Release ' + v; | ||
git.tag(v, message, false, gutil.log); | ||
git.push('origin', 'master', {args: '--tags'}).end(); | ||
git.commit('updated bower and npm', {args: '-a'}); | ||
//git.push('origin', 'master', {args: '--tags'}).end(); | ||
}); | ||
// full release flow | ||
gulp.task('release', ['bump', 'write_bower', 'tag', 'npm'], function () { | ||
gulp.task('release', function () { | ||
runSynchronized(['bump', 'write_bower', 'tag']); | ||
return; | ||
@@ -111,4 +126,5 @@ }); | ||
// full publish flow | ||
gulp.task('publish', ['build', 'test', 'release'], function () { | ||
gulp.task('publish', function () { | ||
runSynchronized(['build', 'test', 'release']); | ||
return; | ||
}); |
@@ -10,3 +10,3 @@ { | ||
"homepage": "https://getstream.io/", | ||
"version": "0.1.33", | ||
"version": "0.1.43", | ||
"config": { | ||
@@ -13,0 +13,0 @@ "blanket": { |
@@ -0,2 +1,4 @@ | ||
var errors = require('./errors'); | ||
var StreamFeed = function () { | ||
@@ -3,0 +5,0 @@ this.initialize.apply(this, arguments); |
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
293208
6806