Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getstream

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getstream - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

bower.json
{
"name": "getstream",
"version": "0.1.7",
"version": "0.1.8",
"main": "dist/js/getstream.js",

@@ -5,0 +5,0 @@ "ignore": [

@@ -79,9 +79,3 @@ var gulp = require('gulp');

// release to bower
gulp.task('release', function () {
// read version from package.json
// update bower to match package.json
// git tag and push
// npm publish .
//TODO: use something gulp instead of make, gulp-git seems broken
// TODO: why does bower read from master?
gulp.task('write_bower', function () {
var packageJSON = require('./package.json');

@@ -92,23 +86,25 @@ var bowerJSON = require('./bower.json');

var versionName = 'v' + version;
console.log('Releasing version ' + versionName);
console.log(process.cwd());
// write the new bower.json file
console.log('Updating bower.json');
bowerJSON.version = version;
fs.writeFileSync('bower.json', JSON.stringify(bowerJSON, null, ' '));
// push to github (which also impacts bower)
console.log('Git tagging and releasing');
return gulp.src('./', {read: false})
.pipe(shell.task(['npm publish .']))
.pipe(gulp.dest('./'));
return gulp.src('./', {read: false})
.pipe(git.commit(message))
.pipe(git.tag(versionName, message))
.pipe(git.push('origin', 'master', '--tags'))
.pipe(gulp.dest('./'));
//.pipe();
return;
});
gulp.task('tag', function () {
var pkg = require('./package.json');
var v = 'v' + pkg.version;
var message = 'Release ' + v;
return gulp.src('./')
.pipe(git.commit(message))
.pipe(git.tag(v, message))
.pipe(git.push('origin', 'master', '--tags'))
.pipe(gulp.dest('./'));
});
// full release flow
gulp.task('release', ['write_bower', 'npm'], function () {
return;
});
// full publish flow

@@ -115,0 +111,0 @@ gulp.task('publish', ['build', 'test', 'release'], function () {

@@ -10,3 +10,3 @@ {

"homepage": "https://getstream.io/",
"version": "0.1.7",
"version": "0.1.8",
"config": {

@@ -13,0 +13,0 @@ "blanket": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc