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

shipit-cli

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shipit-cli - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

5

lib/shipit.js

@@ -143,3 +143,3 @@ var util = require('util');

var servers = _.isArray(this.config.servers) ? this.config.servers : [this.config.servers];
this.pool = new sshPool.ConnectionPool(servers, _.extend({}, this.options, _.pick(this.config, 'key')));
this.pool = new sshPool.ConnectionPool(servers, _.extend({}, this.options, _.pick(this.config, 'key', 'strict')));
return this;

@@ -245,3 +245,4 @@ };

options = _.defaults(options || {}, {
ignores: this.config && this.config.ignores ? this.config.ignores : []
ignores: this.config && this.config.ignores ? this.config.ignores : [],
rsync: this.config && this.config.rsync ? this.config.rsync : []
});

@@ -248,0 +249,0 @@

2

package.json
{
"name": "shipit-cli",
"version": "1.2.1",
"version": "1.3.0",
"description": "Universal automation and deployment tool written in JavaScript.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -85,2 +85,3 @@ # Shipit

ignores: ['.git', 'node_modules'],
rsync: ['--del'],
keepReleases: 2,

@@ -235,2 +236,17 @@ key: '/path/to/key',

## Known Plugins
### Official
- [shipit-deploy](https://github.com/shipitjs/shipit-deploy)
### Third Party
- [shipit-shared](https://github.com/timkelty/shipit-shared)
- [shipit-db](https://github.com/timkelty/shipit-db)
- [shipit-assets](https://github.com/timkelty/shipit-assets)
- [shipit-ssh](https://github.com/timkelty/shipit-ssh)
- [shipit-utils](https://github.com/timkelty/shipit-utils)
- [shipit-npm](https://github.com/callerc1/shipit-npm)
## Who use Shipit?

@@ -237,0 +253,0 @@

@@ -103,8 +103,24 @@ var sinon = require('sinon');

direction: 'remoteToLocal',
ignores: []
ignores: [],
rsync: []
});
});
it('should support options specified in config', function () {
shipit.config = {
ignores: ['foo'],
rsync: ['--bar']
};
shipit.remoteCopy('src', 'dest', {
direction: 'remoteToLocal'
});
expect(shipit.pool.copy).to.be.calledWith('src', 'dest', {
direction: 'remoteToLocal',
ignores: ['foo'],
rsync: ['--bar']
});
});
});
});
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