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

shipit-cli

Package Overview
Dependencies
Maintainers
2
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 4.1.2 to 4.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [4.2.0](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/compare/v4.1.4...v4.2.0) (2019-03-01)
### Features
* add "init:after_ssh_pool" event ([#230](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/issues/230)) ([e864338](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/commit/e864338))
## [4.1.2](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/compare/v4.1.1...v4.1.2) (2018-11-04)

@@ -8,0 +19,0 @@

1

lib/Shipit.js

@@ -154,2 +154,3 @@ "use strict";

this.pool = new _sshPool.ConnectionPool(servers, options);
this.emit('init:after_ssh_pool');
return this;

@@ -156,0 +157,0 @@ }

4

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

@@ -38,3 +38,3 @@ "engines": {

},
"gitHead": "702242731bd631a3e3237996c92828931dc6302c"
"gitHead": "7a5b1aae7ffedf94c709028a2a8031dcc3bcb8ad"
}

@@ -131,2 +131,22 @@ # shipit-cli

## Workflow tasks
When the system initializes it automatically emits events:
* Emit event "init"
* Emit event "init:after_ssh_pool"
Each shipit task also generates events:
* Emit event "task_start"
* Emit event "task_stop"
* Emit event "task_err"
* Emit event "task_not_found"
Inside the task events, you can test for the task name.
```js
shipit.on("task_start", (event) => {
if (event.task == "first_task"){
shipit.log("I'm the first task");
}
});
```
## License

@@ -133,0 +153,0 @@

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