sftp-zip-deploy 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/utils.d.ts +2 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# sftp-zip-deploy
|
|
2
2
|
|
|
3
|
+
[](https://github.com/vitaly-t/sftp-zip-deploy/actions/workflows/ci.yml)
|
|
3
4
|
[](https://nodejs.org)
|
|
4
5
|
|
|
5
6
|
Fast and efficient way to auto-deploy your project to a server:
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Client as SSH2Client
|
|
1
|
+
import { Client as SSH2Client } from 'ssh2';
|
|
2
|
+
import type { ConnectConfig } from 'ssh2';
|
|
2
3
|
export declare function connectSSH2Client(client: SSH2Client, cn: ConnectConfig): Promise<SSH2Client>;
|
|
3
4
|
export declare function execSSH2Command(client: SSH2Client, cmd: string, output: (err?: Buffer, std?: Buffer) => void): Promise<void>;
|
|
4
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sftp-zip-deploy",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Zip and deploy folder over SFTP",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsc -p src"
|
|
9
|
+
"build": "tsc -p src",
|
|
10
|
+
"test": "node --test test/utils.test.ts",
|
|
11
|
+
"test:coverage": "node --experimental-test-coverage --test test/utils.test.ts"
|
|
10
12
|
},
|
|
11
13
|
"files": [
|
|
12
14
|
"dist"
|