This commit is contained in:
Timothy Hobbs 2022-06-14 11:53:08 +00:00
parent 01faa7db56
commit ce17b23353
4 changed files with 1029 additions and 975 deletions

1927
dist/index.js vendored

File diff suppressed because it is too large Load Diff

71
package-lock.json generated
View File

@ -10,8 +10,8 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.6.0",
"@samkirkland/ftp-deploy": "git+https://github.com/timthelion/ftp-deploy.git#5a415704876687e7ddefd0266f880eb44f38ecae",
"@types/jest": "^27.0.2",
"ftp-deploy": "git+https://github.com/timthelion/ftp-deploy.git#19dbafd9cda8dc78139f83ce0270f01156cccfcc",
"jest": "^27.2.5",
"ts-jest": "^27.0.5",
"ts-node-dev": "^1.1.8"
@ -967,25 +967,6 @@
"node": ">= 8"
}
},
"node_modules/@samkirkland/ftp-deploy": {
"version": "1.2.1",
"resolved": "git+ssh://git@github.com/timthelion/ftp-deploy.git#5a415704876687e7ddefd0266f880eb44f38ecae",
"integrity": "sha512-HIVLE+xQpj6yuilGdprdduvdzrtKwbcVoYn9jHtdSLBrsUK1wwXokTR4XlmUm5vFhUVgwlMY55dAq71K+WO3eg==",
"license": "MIT",
"dependencies": {
"basic-ftp": "^4.6.6",
"lodash": "^4.17.21",
"multimatch": "^5.0.0",
"np": "^7.5.0",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1",
"readdir-enhanced": "^6.0.4",
"yargs": "^17.2.1"
},
"bin": {
"ftp-deploy": "dist/cli.js"
}
},
"node_modules/@samverschueren/stream-to-observable": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz",
@ -3261,6 +3242,26 @@
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
"node_modules/ftp-deploy": {
"name": "@samkirkland/ftp-deploy",
"version": "1.2.1",
"resolved": "git+ssh://git@github.com/timthelion/ftp-deploy.git#19dbafd9cda8dc78139f83ce0270f01156cccfcc",
"integrity": "sha512-2CyEhuVdQv4D2rof9L9GMpnfj7WWy/lDfnExca0m0mNj1MOAIfDJFZl5pd1YvjuUx/VeyfN4MPUsxHwMDnvamA==",
"license": "MIT",
"dependencies": {
"basic-ftp": "^4.6.6",
"lodash": "^4.17.21",
"multimatch": "^5.0.0",
"np": "^7.5.0",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1",
"readdir-enhanced": "^6.0.4",
"yargs": "^17.2.1"
},
"bin": {
"ftp-deploy": "dist/cli.js"
}
},
"node_modules/function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
@ -8876,21 +8877,6 @@
"fastq": "^1.6.0"
}
},
"@samkirkland/ftp-deploy": {
"version": "git+ssh://git@github.com/timthelion/ftp-deploy.git#5a415704876687e7ddefd0266f880eb44f38ecae",
"integrity": "sha512-HIVLE+xQpj6yuilGdprdduvdzrtKwbcVoYn9jHtdSLBrsUK1wwXokTR4XlmUm5vFhUVgwlMY55dAq71K+WO3eg==",
"from": "@samkirkland/ftp-deploy@git+https://github.com/timthelion/ftp-deploy.git#5a415704876687e7ddefd0266f880eb44f38ecae",
"requires": {
"basic-ftp": "^4.6.6",
"lodash": "^4.17.21",
"multimatch": "^5.0.0",
"np": "^7.5.0",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1",
"readdir-enhanced": "^6.0.4",
"yargs": "^17.2.1"
}
},
"@samverschueren/stream-to-observable": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz",
@ -10557,6 +10543,21 @@
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"optional": true
},
"ftp-deploy": {
"version": "git+ssh://git@github.com/timthelion/ftp-deploy.git#19dbafd9cda8dc78139f83ce0270f01156cccfcc",
"integrity": "sha512-2CyEhuVdQv4D2rof9L9GMpnfj7WWy/lDfnExca0m0mNj1MOAIfDJFZl5pd1YvjuUx/VeyfN4MPUsxHwMDnvamA==",
"from": "ftp-deploy@git+https://github.com/timthelion/ftp-deploy.git#19dbafd9cda8dc78139f83ce0270f01156cccfcc",
"requires": {
"basic-ftp": "^4.6.6",
"lodash": "^4.17.21",
"multimatch": "^5.0.0",
"np": "^7.5.0",
"pretty-bytes": "^5.6.0",
"pretty-ms": "^7.0.1",
"readdir-enhanced": "^6.0.4",
"yargs": "^17.2.1"
}
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",

View File

@ -23,7 +23,7 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.6.0",
"@samkirkland/ftp-deploy": "git+https://github.com/timthelion/ftp-deploy.git#5a415704876687e7ddefd0266f880eb44f38ecae",
"ftp-deploy": "git+https://github.com/timthelion/ftp-deploy.git#19dbafd9cda8dc78139f83ce0270f01156cccfcc",
"@types/jest": "^27.0.2",
"jest": "^27.2.5",
"ts-jest": "^27.0.5",

View File

@ -1,6 +1,6 @@
import * as core from "@actions/core";
import { deploy } from "@samkirkland/ftp-deploy";
import { IFtpDeployArguments } from "@samkirkland/ftp-deploy/dist/types";
import { deploy } from "ftp-deploy";
import { IFtpDeployArguments } from "ftp-deploy/dist/types";
import { optionalInt, optionalProtocol, optionalString, optionalBoolean, optionalStringArray, optionalLogLevel, optionalSecurity } from "./parse";
async function runDeployment() {