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

boom-deploy

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boom-deploy - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

2

boom/debug.js

@@ -16,3 +16,3 @@

//ssh('[ -f {{sharedPath}}/config/{{env}}.json ] && ln -s {{sharedPath}}/config/{{env}}.json {{releasePath}}/config/{{env}}.json');
symlinkTo('{{releasePath}}/config/{{env}}.json', '{{sharedPath}}/config/{{env}}.json')
symlink('{{sharedPath}}/config/{{env}}.json', '{{releasePath}}/config/{{env}}.json')
task('deploy:restart');

@@ -19,0 +19,0 @@ })

@@ -1,2 +0,1 @@

new Task('deploy:setup', function(){

@@ -35,3 +34,3 @@ getHead();

'rm -rf {{releasesPath}}/{{latestReleaseName}}');
symlinkTo('{{currentPath}}', '{{releasesPath}}/{{previousReleaseName}}');
symlink('{{releasesPath}}/{{previousReleaseName}}', '{{currentPath}}');
});

@@ -90,4 +89,4 @@

'mkdir -p {{sharedPath}}/log');
symlinkTo('{{currentPath}}', '{{releasePath}}');
symlinkTo('{{currentPath}}/log', '{{sharedPath}}/log');
symlink('{{releasePath}}', '{{currentPath}}');
symlink('{{sharedPath}}/log', '{{currentPath}}/log');

@@ -94,0 +93,0 @@ });

@@ -32,3 +32,3 @@ var _ = require('lodash');

env && vars.applyTo(this.data); // TODO
vars.applyTo(this.data); // TODO
this.preprocess(this.data);

@@ -35,0 +35,0 @@

@@ -165,3 +165,3 @@ var _ = require('lodash');

},
symlinkTo: function(from, to){
symlink: function(to, from){
return function(){

@@ -168,0 +168,0 @@ var future = new Future;

@@ -21,12 +21,12 @@ var moment = require('moment');

currentPath: function(){
return path.resolve(this.deployTo, 'current')
return path.resolve(this.deployTo||'', 'current')
},
releasesPath: function(){
return path.resolve(this.deployTo, 'releases')
return path.resolve(this.deployTo||'', 'releases')
},
sharedPath: function(){
return path.resolve(this.deployTo, 'shared')
return path.resolve(this.deployTo||'', 'shared')
},
releasePath: function(){
return path.resolve(this.releasesPath, this.timestamp)
return path.resolve(this.releasesPath||'', this.timestamp)
}

@@ -33,0 +33,0 @@ }

{
"name": "boom-deploy",
"main": "boom.js",
"version": "0.0.25",
"version": "0.0.26",
"description": "deploy your app",

@@ -6,0 +6,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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