diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f2053..9d200cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ [![Share via Facebook](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Facebook.png)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded"e=vscode-deploy-reloaded) [![Share via Twitter](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Twitter.png)](https://twitter.com/intent/tweet?source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&text=vscode-deploy-reloaded:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&via=mjkloubert) [![Share via Google+](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Google+.png)](https://plus.google.com/share?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Pinterest](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Pinterest.png)](https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&media=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif&description=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.) [![Share via Reddit](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Reddit.png)](https://www.reddit.com/submit?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded) [![Share via LinkedIn](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/LinkedIn.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded&summary=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Wordpress](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Wordpress.png)](https://wordpress.com/press-this.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded"e=vscode-deploy-reloaded&s=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&i=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif) [![Share via Email](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Email.png)](mailto:?subject=vscode-deploy-reloaded&body=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20'vs-deploy'%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) +## 0.41.0 (February 9th, 2018; cleanup target operation and emojis) + +* added [cleanup](https://github.com/mkloubert/vscode-deploy-reloaded/wiki/target_operations#cleanup-) target operation +* added `$asc`, `$emoji`, `$emoji_list` and `$emoji_name` functions for "quick code execution" +* added `ignoreGitFolder` and `ignoreSvnFolder` [settings](https://github.com/mkloubert/vscode-deploy-reloaded/wiki#settings--), s. [issue #23](https://github.com/mkloubert/vscode-deploy-reloaded/issues/23) + ## 0.40.0 (February 8th, 2018; quick executions and package buttons) * added `_`, `$cleanup`, `$commands`, `$fs`, `$g`, `$html`, `$linq` and `$p` modules and functions for "quick code execution" diff --git a/package-lock.json b/package-lock.json index 759b2ad..be021ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-deploy-reloaded", - "version": "0.40.0", + "version": "0.41.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -182,6 +182,12 @@ "integrity": "sha512-jjpyQsKGsOF/wUElNjfPULk+d8PKvJOIXk3IUeBYYmNCy5dMWfrI+JiixYNw8ppKOlcRwWTXFl0B+i5oGrf95Q==", "dev": true }, + "@types/node-emoji": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@types/node-emoji/-/node-emoji-1.8.0.tgz", + "integrity": "sha512-+LiY4f3HMAgQGjte8Lg4K6xpTR+glwZolVrreU+ShACr6H/IzYN1VQAitHVeQrNKgZeuOegxE3IACh7Jo2qk0w==", + "dev": true + }, "@types/nodemailer": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-4.3.1.tgz", @@ -3013,6 +3019,11 @@ "lodash.escape": "3.2.0" } }, + "lodash.toarray": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz", + "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE=" + }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -3319,6 +3330,14 @@ "lower-case": "1.1.4" } }, + "node-emoji": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.8.1.tgz", + "integrity": "sha512-+ktMAh1Jwas+TnGodfCfjUbJKoANqPaJFN0z0iqh41eqD8dvguNzcitVSBSVK1pidz0AqGbLKcoVuVLRVZ/aVg==", + "requires": { + "lodash.toarray": "4.4.0" + } + }, "node-enumerable": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/node-enumerable/-/node-enumerable-3.9.0.tgz", diff --git a/package.json b/package.json index f41a272..ab134e1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-deploy-reloaded", "displayName": "Deploy (Reloaded)", "description": "Deploys files of a workspace to a destination.", - "version": "0.40.0", + "version": "0.41.0", "publisher": "mkloubert", "engines": { "vscode": "^1.19.0" @@ -390,6 +390,16 @@ "type": "string" } }, + "ignoreGitFolder": { + "description": "Ignore '.git' folder by default or not.", + "type": "boolean", + "default": true + }, + "ignoreSvnFolder": { + "description": "Ignore '.svn' folder by default or not.", + "type": "boolean", + "default": true + }, "imports": { "description": "Defines of or more JSON files with settings to import.", "oneOf": [ @@ -1026,6 +1036,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -1438,6 +1507,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -1850,6 +1978,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -2266,6 +2453,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -2678,6 +2924,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -3200,6 +3505,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -3785,6 +4170,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -4273,6 +4717,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -4685,6 +5188,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -5097,6 +5659,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -5513,6 +6134,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -5925,6 +6605,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -6423,6 +7162,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -7003,6 +7822,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -7461,6 +8339,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -7873,6 +8810,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -8285,6 +9281,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -8697,6 +9752,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -9109,6 +10223,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -9593,6 +10766,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -10173,6 +11426,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -10637,6 +11949,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -11049,6 +12420,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -11461,6 +12891,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -11889,6 +13378,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -12301,6 +13849,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -12797,72 +14404,20 @@ { "type": "object", "properties": { - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "command": { + "dir": { "type": "string", - "description": "The ID of the command to execute.", + "description": "The directory to clenup.", "pattern": "\\S+" }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "exclude": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to exclude.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] + "description": "A minimatch pattern.", + "pattern": "\\S+" } }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "command" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - } - }, - "required": [ - "command" - ] - }, - { - "type": "object", - "properties": { - "command": { - "type": "string", - "description": "The (shell) command to execute." - }, - "cwd": { - "type": "string", - "description": "The custom working directory for the execution to use." - }, "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -12872,20 +14427,22 @@ "type": "boolean", "default": false }, - "maxBuffer": { - "type": "integer", - "description": "Largest amount of data in bytes allowed on stdout or stderr.", - "minimum": 0 + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", "type": "string" }, - "noPlaceHolders": { - "type": "string", - "description": "Do not use placeholders in 'command' property.", - "default": false - }, "onlyWhen": { "description": "A custom list of deploy types, the operation is executed when.", "type": "array", @@ -12902,9 +14459,9 @@ ] } }, - "printOutput": { + "recursive": { "type": "boolean", - "description": "Print the result from stdout to output channel or not.", + "description": "Cleanup recursively or not.", "default": true }, "reloadFileList": { @@ -12912,135 +14469,265 @@ "description": "Reload list of files or not.", "default": true }, - "timeout": { - "type": "integer", - "description": "Execution timeout.", - "minimum": 0 - }, "type": { "enum": [ - "exec", - "execute" + "cleanup" ], "type": "string", - "description": "Executes a shell command inside the workspace." + "description": "Cleanups a directory." } }, "required": [ - "command" + "dir" ] }, { "type": "object", "properties": { - "body": { - "type": "string", - "description": "The body or the path to a script that returns the body to send." - }, - "headers": { - "type": "object", - "description": "The request headers.", - "patternProperties": { - "\\S+": { - "description": "The header to define." - } - } - }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "isBodyBase64": { - "type": "boolean", - "description": "Indicates if 'body' is Base64 encoded or not.", - "default": false - }, - "isBodyScript": { - "type": "boolean", - "description": "Indicates if 'body' contains the path to a script instead the content to send.", - "default": false - }, - "method": { - "type": "string", - "description": "The HTTP request method.", - "default": "GET" - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "type": "array", - "description": "A list of headers that should NOT use placeholders / values.", - "items": { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL headers or not.", - "type": "boolean", - "default": false - } - ] - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "arguments": { "type": "array", - "default": [ - "deploy" - ], - "items": { - "description": "The deploy type.", - "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." + "description": "One or more optional argument for the execution." }, - "url": { + "command": { "type": "string", - "description": "The URL.", - "default": "http://localhost/" + "description": "The ID of the command to execute.", + "pattern": "\\S+" }, - "username": { - "type": "string", - "description": "The username for basic auth." - } - } - }, - { - "type": "object", - "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "command" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + } + }, + "required": [ + "command" + ] + }, + { + "type": "object", + "properties": { + "command": { + "type": "string", + "description": "The (shell) command to execute." + }, + "cwd": { + "type": "string", + "description": "The custom working directory for the execution to use." + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "maxBuffer": { + "type": "integer", + "description": "Largest amount of data in bytes allowed on stdout or stderr.", + "minimum": 0 + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "noPlaceHolders": { + "type": "string", + "description": "Do not use placeholders in 'command' property.", + "default": false + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "printOutput": { + "type": "boolean", + "description": "Print the result from stdout to output channel or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "timeout": { + "type": "integer", + "description": "Execution timeout.", + "minimum": 0 + }, + "type": { + "enum": [ + "exec", + "execute" + ], + "type": "string", + "description": "Executes a shell command inside the workspace." + } + }, + "required": [ + "command" + ] + }, + { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body or the path to a script that returns the body to send." + }, + "headers": { + "type": "object", + "description": "The request headers.", + "patternProperties": { + "\\S+": { + "description": "The header to define." + } + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "isBodyBase64": { + "type": "boolean", + "description": "Indicates if 'body' is Base64 encoded or not.", + "default": false + }, + "isBodyScript": { + "type": "boolean", + "description": "Indicates if 'body' contains the path to a script instead the content to send.", + "default": false + }, + "method": { + "type": "string", + "description": "The HTTP request method.", + "default": "GET" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "type": "array", + "description": "A list of headers that should NOT use placeholders / values.", + "items": { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL headers or not.", + "type": "boolean", + "default": false + } + ] + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "username": { + "type": "string", + "description": "The username for basic auth." + } + } + }, + { + "type": "object", + "properties": { "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -13374,6 +15061,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -13830,6 +15576,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -14242,6 +16047,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -14654,6 +16518,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -15066,6 +16989,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -15478,6 +17460,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -15967,6 +18008,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -16547,6 +18668,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -17007,6 +19187,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -17419,6 +19658,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -17831,6 +20129,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -18243,6 +20600,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -18655,6 +21071,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -19155,6 +21630,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -19735,6 +22290,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -20214,6 +22828,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -20626,6 +23299,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -21038,6 +23770,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -21450,6 +24241,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -21862,6 +24712,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -22377,6 +25286,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -22957,6 +25946,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -23415,6 +26463,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -23827,6 +26934,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -24239,6 +27405,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -24651,6 +27876,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -25063,6 +28347,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -25591,72 +28934,20 @@ { "type": "object", "properties": { - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "command": { + "dir": { "type": "string", - "description": "The ID of the command to execute.", + "description": "The directory to clenup.", "pattern": "\\S+" }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "exclude": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to exclude.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] + "description": "A minimatch pattern.", + "pattern": "\\S+" } }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "command" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - } - }, - "required": [ - "command" - ] - }, - { - "type": "object", - "properties": { - "command": { - "type": "string", - "description": "The (shell) command to execute." - }, - "cwd": { - "type": "string", - "description": "The custom working directory for the execution to use." - }, "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -25666,20 +28957,22 @@ "type": "boolean", "default": false }, - "maxBuffer": { - "type": "integer", - "description": "Largest amount of data in bytes allowed on stdout or stderr.", - "minimum": 0 + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", "type": "string" }, - "noPlaceHolders": { - "type": "string", - "description": "Do not use placeholders in 'command' property.", - "default": false - }, "onlyWhen": { "description": "A custom list of deploy types, the operation is executed when.", "type": "array", @@ -25696,9 +28989,9 @@ ] } }, - "printOutput": { + "recursive": { "type": "boolean", - "description": "Print the result from stdout to output channel or not.", + "description": "Cleanup recursively or not.", "default": true }, "reloadFileList": { @@ -25706,135 +28999,265 @@ "description": "Reload list of files or not.", "default": true }, - "timeout": { - "type": "integer", - "description": "Execution timeout.", - "minimum": 0 - }, "type": { "enum": [ - "exec", - "execute" + "cleanup" ], "type": "string", - "description": "Executes a shell command inside the workspace." + "description": "Cleanups a directory." } }, "required": [ - "command" + "dir" ] }, { "type": "object", "properties": { - "body": { - "type": "string", - "description": "The body or the path to a script that returns the body to send." - }, - "headers": { - "type": "object", - "description": "The request headers.", - "patternProperties": { - "\\S+": { - "description": "The header to define." - } - } - }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "isBodyBase64": { - "type": "boolean", - "description": "Indicates if 'body' is Base64 encoded or not.", - "default": false - }, - "isBodyScript": { - "type": "boolean", - "description": "Indicates if 'body' contains the path to a script instead the content to send.", - "default": false - }, - "method": { - "type": "string", - "description": "The HTTP request method.", - "default": "GET" - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "type": "array", - "description": "A list of headers that should NOT use placeholders / values.", - "items": { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL headers or not.", - "type": "boolean", - "default": false - } - ] - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "arguments": { "type": "array", - "default": [ - "deploy" - ], - "items": { - "description": "The deploy type.", - "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." + "description": "One or more optional argument for the execution." }, - "url": { + "command": { "type": "string", - "description": "The URL.", - "default": "http://localhost/" + "description": "The ID of the command to execute.", + "pattern": "\\S+" }, - "username": { - "type": "string", - "description": "The username for basic auth." - } - } - }, - { - "type": "object", - "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "command" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + } + }, + "required": [ + "command" + ] + }, + { + "type": "object", + "properties": { + "command": { + "type": "string", + "description": "The (shell) command to execute." + }, + "cwd": { + "type": "string", + "description": "The custom working directory for the execution to use." + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "maxBuffer": { + "type": "integer", + "description": "Largest amount of data in bytes allowed on stdout or stderr.", + "minimum": 0 + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "noPlaceHolders": { + "type": "string", + "description": "Do not use placeholders in 'command' property.", + "default": false + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "printOutput": { + "type": "boolean", + "description": "Print the result from stdout to output channel or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "timeout": { + "type": "integer", + "description": "Execution timeout.", + "minimum": 0 + }, + "type": { + "enum": [ + "exec", + "execute" + ], + "type": "string", + "description": "Executes a shell command inside the workspace." + } + }, + "required": [ + "command" + ] + }, + { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body or the path to a script that returns the body to send." + }, + "headers": { + "type": "object", + "description": "The request headers.", + "patternProperties": { + "\\S+": { + "description": "The header to define." + } + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "isBodyBase64": { + "type": "boolean", + "description": "Indicates if 'body' is Base64 encoded or not.", + "default": false + }, + "isBodyScript": { + "type": "boolean", + "description": "Indicates if 'body' contains the path to a script instead the content to send.", + "default": false + }, + "method": { + "type": "string", + "description": "The HTTP request method.", + "default": "GET" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "type": "array", + "description": "A list of headers that should NOT use placeholders / values.", + "items": { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL headers or not.", + "type": "boolean", + "default": false + } + ] + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "username": { + "type": "string", + "description": "The username for basic auth." + } + } + }, + { + "type": "object", + "properties": { "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -26168,6 +29591,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -26633,6 +30115,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -27045,6 +30586,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -27457,6 +31057,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -27869,6 +31528,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -28281,6 +31999,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -28775,6 +32552,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -29355,6 +33212,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -29809,6 +33725,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -30221,6 +34196,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -30633,6 +34667,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -31045,6 +35138,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -31457,6 +35609,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -31966,6 +36177,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -32546,6 +36837,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -33031,6 +37381,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -33443,6 +37852,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -33855,6 +38323,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -34267,6 +38794,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -34679,6 +39265,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -35188,6 +39833,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -35541,50 +40266,176 @@ "description": "Reload list of files or not.", "default": true }, - "token": { + "token": { + "type": "string", + "description": "The API token.", + "pattern": "\\S+" + }, + "type": { + "enum": [ + "slack" + ], + "type": "string", + "description": "Sends a notification to a one or more Slack channels." + }, + "user": { + "type": "string", + "description": "The optional username that sends the notifications.", + "pattern": "\\S+" + } + }, + "required": [ + "channels", + "token" + ] + }, + { + "type": "object", + "properties": { + "engine": { + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "description": "One or more query to invoke.", + "type": "array", + "items": { + "type": "string", + "pattern": "\\S+" + } + } + ] + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + } + }, + "required": [ + "engine", + "queries" + ] + }, + { + "type": "object", + "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "target": { + "description": "The thing to open.", "type": "string", - "description": "The API token.", "pattern": "\\S+" }, "type": { "enum": [ - "slack" + "open", + "" ], "type": "string", - "description": "Sends a notification to a one or more Slack channels." + "description": "Opens something, like an app or URL on the current machine." }, - "user": { - "type": "string", - "description": "The optional username that sends the notifications.", - "pattern": "\\S+" + "wait": { + "description": "Wait until operation has been finished or not.", + "type": "boolean", + "default": true } }, "required": [ - "channels", - "token" + "target" ] }, { "type": "object", "properties": { - "engine": { - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -35614,103 +40465,51 @@ ] } }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "description": "One or more query to invoke.", - "type": "array", - "items": { - "type": "string", - "pattern": "\\S+" - } - } - ] - }, "reloadFileList": { "type": "boolean", "description": "Reload list of files or not.", "default": true }, + "time": { + "type": "integer", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + }, "type": { "enum": [ - "sql" + "wait" ], "type": "string", - "description": "Executes SQL scripts." + "description": "Waits a number of milliseconds, before the next operation is executed." } - }, - "required": [ - "engine", - "queries" - ] - }, + } + } + ] + } + }, + "pulled": { + "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", + "type": "array", + "items": { + "oneOf": [ { "type": "object", "properties": { - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "exclude": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to exclude.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] + "description": "A minimatch pattern.", + "pattern": "\\S+" } }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "target": { - "description": "The thing to open.", - "type": "string", - "pattern": "\\S+" - }, - "type": { - "enum": [ - "open", - "" - ], - "type": "string", - "description": "Opens something, like an app or URL on the current machine." - }, - "wait": { - "description": "Wait until operation has been finished or not.", - "type": "boolean", - "default": true - } - }, - "required": [ - "target" - ] - }, - { - "type": "object", - "properties": { "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -35720,54 +40519,39 @@ "type": "boolean", "default": false }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "include": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to include.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, - "reloadFileList": { + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { "type": "boolean", - "description": "Reload list of files or not.", + "description": "Cleanup recursively or not.", "default": true }, - "time": { - "type": "integer", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - }, "type": { "enum": [ - "wait" + "cleanup" ], "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." + "description": "Cleanups a directory." } - } - } - ] - } - }, - "pulled": { - "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", - "type": "array", - "items": { - "oneOf": [ + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -36233,6 +41017,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -36645,6 +41488,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -37057,6 +41959,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -37469,6 +42430,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -37881,6 +42901,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -38365,6 +43444,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -39011,6 +44170,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -39521,6 +44739,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -39933,6 +45210,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -40345,6 +45681,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -40788,6 +46183,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -41200,6 +46654,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -41688,6 +47201,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -42268,6 +47861,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -42724,6 +48376,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -43136,6 +48847,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -43548,6 +49318,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -43965,6 +49794,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -44377,6 +50265,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -44864,6 +50811,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -45444,6 +51471,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -45915,6 +52001,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -46327,6 +52472,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -46739,6 +52943,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -47156,6 +53419,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -47568,6 +53890,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -48110,6 +54491,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -48463,116 +54924,258 @@ "description": "Reload list of files or not.", "default": true }, - "token": { - "type": "string", - "description": "The API token.", - "pattern": "\\S+" + "token": { + "type": "string", + "description": "The API token.", + "pattern": "\\S+" + }, + "type": { + "enum": [ + "slack" + ], + "type": "string", + "description": "Sends a notification to a one or more Slack channels." + }, + "user": { + "type": "string", + "description": "The optional username that sends the notifications.", + "pattern": "\\S+" + } + }, + "required": [ + "channels", + "token" + ] + }, + { + "type": "object", + "properties": { + "engine": { + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "description": "One or more query to invoke.", + "type": "array", + "items": { + "type": "string", + "pattern": "\\S+" + } + } + ] + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + } + }, + "required": [ + "engine", + "queries" + ] + }, + { + "type": "object", + "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "target": { + "description": "The thing to open.", + "type": "string", + "pattern": "\\S+" + }, + "type": { + "enum": [ + "open", + "" + ], + "type": "string", + "description": "Opens something, like an app or URL on the current machine." + }, + "wait": { + "description": "Wait until operation has been finished or not.", + "type": "boolean", + "default": true + } + }, + "required": [ + "target" + ] + }, + { + "type": "object", + "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "time": { + "type": "integer", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 }, "type": { "enum": [ - "slack" + "wait" ], "type": "string", - "description": "Sends a notification to a one or more Slack channels." - }, - "user": { - "type": "string", - "description": "The optional username that sends the notifications.", - "pattern": "\\S+" + "description": "Waits a number of milliseconds, before the next operation is executed." } - }, - "required": [ - "channels", - "token" - ] - }, + } + } + ] + } + }, + "privateKey": { + "type": "string", + "description": "The path to the private key file, if authentification should be done via SSH key." + }, + "privateKeyPassphrase": { + "type": "string", + "description": "The passphrase for the key file, if needed." + }, + "pulled": { + "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", + "type": "array", + "items": { + "oneOf": [ { "type": "object", "properties": { - "engine": { - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "exclude": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to exclude.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] + "description": "A minimatch pattern.", + "pattern": "\\S+" } }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "description": "One or more query to invoke.", - "type": "array", - "items": { - "type": "string", - "pattern": "\\S+" - } - } - ] - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - } - }, - "required": [ - "engine", - "queries" - ] - }, - { - "type": "object", - "properties": { "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -48582,122 +55185,39 @@ "type": "boolean", "default": false }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "include": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to include.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "target": { - "description": "The thing to open.", - "type": "string", - "pattern": "\\S+" - }, - "type": { - "enum": [ - "open", - "" - ], - "type": "string", - "description": "Opens something, like an app or URL on the current machine." - }, - "wait": { - "description": "Wait until operation has been finished or not.", - "type": "boolean", - "default": true - } - }, - "required": [ - "target" - ] - }, - { - "type": "object", - "properties": { - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", "type": "string" }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", - "type": "array", - "default": [ - "deploy" - ], - "items": { - "description": "The deploy type.", - "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "reloadFileList": { + "recursive": { "type": "boolean", - "description": "Reload list of files or not.", + "description": "Cleanup recursively or not.", "default": true }, - "time": { - "type": "integer", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - }, "type": { "enum": [ - "wait" + "cleanup" ], "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." + "description": "Cleanups a directory." } - } - } - ] - } - }, - "privateKey": { - "type": "string", - "description": "The path to the private key file, if authentification should be done via SSH key." - }, - "privateKeyPassphrase": { - "type": "string", - "description": "The passphrase for the key file, if needed." - }, - "pulled": { - "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", - "type": "array", - "items": { - "oneOf": [ + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -49166,6 +55686,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -49578,6 +56157,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -49990,6 +56628,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -50411,6 +57108,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -50823,6 +57579,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -51307,6 +58122,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -51887,6 +58782,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -52349,6 +59303,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -52761,6 +59774,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -53173,6 +60245,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -53632,6 +60763,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -54044,6 +61234,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -54579,6 +61828,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -55159,6 +62488,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -55615,6 +63003,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -56027,6 +63474,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -56439,6 +63945,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -56851,6 +64416,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -57263,6 +64887,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -57756,6 +65439,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -58109,116 +65872,250 @@ "description": "Reload list of files or not.", "default": true }, - "token": { - "type": "string", - "description": "The API token.", - "pattern": "\\S+" + "token": { + "type": "string", + "description": "The API token.", + "pattern": "\\S+" + }, + "type": { + "enum": [ + "slack" + ], + "type": "string", + "description": "Sends a notification to a one or more Slack channels." + }, + "user": { + "type": "string", + "description": "The optional username that sends the notifications.", + "pattern": "\\S+" + } + }, + "required": [ + "channels", + "token" + ] + }, + { + "type": "object", + "properties": { + "engine": { + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "description": "One or more query to invoke.", + "type": "array", + "items": { + "type": "string", + "pattern": "\\S+" + } + } + ] + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + } + }, + "required": [ + "engine", + "queries" + ] + }, + { + "type": "object", + "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "target": { + "description": "The thing to open.", + "type": "string", + "pattern": "\\S+" + }, + "type": { + "enum": [ + "open", + "" + ], + "type": "string", + "description": "Opens something, like an app or URL on the current machine." + }, + "wait": { + "description": "Wait until operation has been finished or not.", + "type": "boolean", + "default": true + } + }, + "required": [ + "target" + ] + }, + { + "type": "object", + "properties": { + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "time": { + "type": "integer", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 }, "type": { "enum": [ - "slack" + "wait" ], "type": "string", - "description": "Sends a notification to a one or more Slack channels." - }, - "user": { - "type": "string", - "description": "The optional username that sends the notifications.", - "pattern": "\\S+" + "description": "Waits a number of milliseconds, before the next operation is executed." } - }, - "required": [ - "channels", - "token" - ] - }, + } + } + ] + } + }, + "pulled": { + "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", + "type": "array", + "items": { + "oneOf": [ { "type": "object", "properties": { - "engine": { - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false - }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "exclude": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to exclude.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] + "description": "A minimatch pattern.", + "pattern": "\\S+" } }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "description": "One or more query to invoke.", - "type": "array", - "items": { - "type": "string", - "pattern": "\\S+" - } - } - ] - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - } - }, - "required": [ - "engine", - "queries" - ] - }, - { - "type": "object", - "properties": { "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", "type": "string" @@ -58228,114 +66125,39 @@ "type": "boolean", "default": false }, - "name": { - "description": "The (display) name of that operation.", - "type": "string" - }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", + "include": { "type": "array", - "default": [ - "deploy" - ], + "description": "One or more minimatch pattern, which define what files to include.", "items": { - "description": "The deploy type.", "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "reloadFileList": { - "type": "boolean", - "description": "Reload list of files or not.", - "default": true - }, - "target": { - "description": "The thing to open.", - "type": "string", - "pattern": "\\S+" - }, - "type": { - "enum": [ - "open", - "" - ], - "type": "string", - "description": "Opens something, like an app or URL on the current machine." - }, - "wait": { - "description": "Wait until operation has been finished or not.", - "type": "boolean", - "default": true - } - }, - "required": [ - "target" - ] - }, - { - "type": "object", - "properties": { - "if": { - "description": "(JavaScript) Code, which indicates, if entry is available or not.", - "type": "string" - }, - "ignoreIfFail": { - "description": "Continue when operation fails or not.", - "type": "boolean", - "default": false + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", "type": "string" }, - "onlyWhen": { - "description": "A custom list of deploy types, the operation is executed when.", - "type": "array", - "default": [ - "deploy" - ], - "items": { - "description": "The deploy type.", - "type": "string", - "enum": [ - "delete", - "deploy", - "pull" - ] - } - }, - "reloadFileList": { + "recursive": { "type": "boolean", - "description": "Reload list of files or not.", + "description": "Cleanup recursively or not.", "default": true }, - "time": { - "type": "integer", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - }, "type": { "enum": [ - "wait" + "cleanup" ], "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." + "description": "Cleanups a directory." } - } - } - ] - } - }, - "pulled": { - "description": "One or more operations that should be invoked AFTER a pull operation has been finished.", - "type": "array", - "items": { - "oneOf": [ + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -58789,6 +66611,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -59201,6 +67082,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -59613,6 +67553,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -60025,6 +68024,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -60437,6 +68495,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -60935,6 +69052,86 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -61515,6 +69712,65 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "recursive": { + "type": "boolean", + "description": "Cleanup recursively or not.", + "default": true + }, + "type": { + "enum": [ + "cleanup" + ], + "type": "string", + "description": "Cleanups a directory." + } + }, + "required": [ + "dir" + ] + }, { "type": "object", "properties": { @@ -62240,6 +70496,7 @@ "@types/mssql": "^4.0.6", "@types/mysql": "^2.15.2", "@types/node": "^7.0.52", + "@types/node-emoji": "^1.8.0", "@types/nodemailer": "^4.3.1", "@types/public-ip": "^2.3.0", "@types/pug": "^2.0.4", @@ -62298,6 +70555,7 @@ "moment-timezone": "^0.5.14", "mssql": "^4.1.0", "mysql": "^2.15.0", + "node-emoji": "^1.8.1", "node-enumerable": "^3.9.0", "node-simple-socket": "^2.8.1", "node-zip": "^1.1.1", diff --git a/src/contracts.ts b/src/contracts.ts index 4369e8c..db2792b 100644 --- a/src/contracts.ts +++ b/src/contracts.ts @@ -187,6 +187,14 @@ export interface Configuration extends deploy_packages.WithFastFileCheckSettings * even if a deployment is started for them. */ readonly ignore?: string | string[]; + /** + * Ignore '.git' folder by default or not. + */ + readonly ignoreGitFolder?: boolean; + /** + * Ignore '.svn' folder by default or not. + */ + readonly ignoreSvnFolder?: boolean; /** * A list of imports. */ diff --git a/src/targets.ts b/src/targets.ts index d37634b..df8f4d4 100644 --- a/src/targets.ts +++ b/src/targets.ts @@ -22,6 +22,7 @@ import * as deploy_gui from './gui'; import * as deploy_log from './log'; import * as deploy_mappings from './mappings'; import * as deploy_packages from './packages'; +import * as deploy_targets_operations_cleanup from './targets/operations/cleanup'; import * as deploy_targets_operations_command from './targets/operations/command'; import * as deploy_targets_operations_exec from './targets/operations/exec'; import * as deploy_targets_operations_http from './targets/operations/http'; @@ -526,6 +527,10 @@ export async function executeTargetOperations(opts: ExecuteTargetOperationOption executor = deploy_targets_operations_open.execute; break; + case 'cleanup': + executor = deploy_targets_operations_cleanup.execute; + break; + case 'command': executor = deploy_targets_operations_command.execute; break; diff --git a/src/targets/operations/cleanup.ts b/src/targets/operations/cleanup.ts new file mode 100644 index 0000000..bc305b5 --- /dev/null +++ b/src/targets/operations/cleanup.ts @@ -0,0 +1,137 @@ +/** + * This file is part of the vscode-deploy-reloaded distribution. + * Copyright (c) Marcel Joachim Kloubert. + * + * vscode-deploy-reloaded is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, version 3. + * + * vscode-deploy-reloaded is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +import * as deploy_helpers from '../../helpers'; +import * as deploy_targets from '../../targets'; +import * as FSExtra from 'fs-extra'; +import * as Path from 'path'; + + +/** + * An operation that cleansup a directory + */ +export interface CleanupTargetOperation extends deploy_targets.TargetOperation { + /** + * The directory to cleanup. + */ + readonly dir: string; + /** + * One or more patterns of files to exclude. + */ + readonly exclude?: string | string[]; + /** + * One or more patterns of files to include. + */ + readonly include?: string | string[]; + /** + * Cleanup recursively or not. + */ + readonly recursive?: boolean; +} + + +/** @inheritdoc */ +export async function execute(context: deploy_targets.TargetOperationExecutionContext) { + const OPERATION = context.operation; + const WORKSPACE = context.target.__workspace; + + const INCLUDE = deploy_helpers.asArray(OPERATION.include).map(i => { + return deploy_helpers.toStringSafe(i); + }).filter(i => { + return '' !== i.trim(); + }); + if (INCLUDE.length < 1) { + INCLUDE.push('**'); + } + + const EXCLUDE = deploy_helpers.asArray(OPERATION.exclude).map(e => { + return deploy_helpers.toStringSafe(e); + }).filter(e => { + return '' !== e.trim(); + }); + + let dirToCleanup = deploy_helpers.toStringSafe( + WORKSPACE.replaceWithValues(OPERATION.dir) + ); + if (!Path.isAbsolute(dirToCleanup)) { + dirToCleanup = Path.join(WORKSPACE.rootPath, dirToCleanup); + } + dirToCleanup = Path.resolve(dirToCleanup); + + const RECURSIVE = deploy_helpers.toBooleanSafe(OPERATION.recursive, true); + + const TO_MINIMATCH = (s: any): string => { + s = deploy_helpers.toStringSafe(s); + s = deploy_helpers.replaceAllStrings(s, Path.sep, '/'); + + if (!s.trim().startsWith('/')) { + s = '/' + s; + } + + return s; + }; + + const CLEANUP_DIR = async (d: string, subDir?: string) => { + if (!deploy_helpers.isEmptyString(subDir)) { + d = Path.join(d, subDir); + } + d = Path.resolve(d); + + if (!d.startsWith(dirToCleanup)) { + return; + } + + for (const SD of (await deploy_helpers.readDir(d))) { + const FULL_PATH = Path.resolve( + Path.join(d, SD) + ); + + const RELATIVE_PATH = FULL_PATH.substr(dirToCleanup.length); + + const DOES_MATCH = deploy_helpers.checkIfDoesMatchByFileFilter( + TO_MINIMATCH(RELATIVE_PATH), + deploy_helpers.toMinimatchFileFilter({ + files: INCLUDE, + exclude: EXCLUDE, + }), + ); + if (!DOES_MATCH) { + continue; + } + + let deleteItem = false; + + const STATS = await deploy_helpers.lstat(FULL_PATH); + if (STATS.isDirectory()) { + if (RECURSIVE) { + await CLEANUP_DIR(d, SD); + + deleteItem = (await deploy_helpers.readDir(FULL_PATH)).length < 1; + } + } + else { + deleteItem = true; + } + + if (deleteItem) { + await FSExtra.remove(FULL_PATH); + } + } + }; + + await CLEANUP_DIR(dirToCleanup); +} diff --git a/src/tools/quickexecution.ts b/src/tools/quickexecution.ts index c87aa16..b56d735 100644 --- a/src/tools/quickexecution.ts +++ b/src/tools/quickexecution.ts @@ -16,7 +16,7 @@ */ -/** + /** * Quick execution of JavaScript code. * * @param {any} extension The extension context. @@ -189,6 +189,24 @@ export async function _1b87f2ee_b636_45b6_807c_0e2d25384b02_1409614337( return Path.resolve(p); }; + const $asc = async (str) => { + str = await $unwrap(str); + + if (_.isNil(str)) { + return str; + } + + str = $h.toStringSafe(str); + + const CODES: number[] = []; + for (let i = 0; i < str.length; i++) { + CODES.push(str.charCodeAt(i)); + } + + return 1 === CODES.length ? CODES[0] + : CODES; + }; + // executeCommand() const $c = async (id: string, ...cmdArgs: any[]) => { id = $h.toStringSafe( @@ -269,6 +287,30 @@ export async function _1b87f2ee_b636_45b6_807c_0e2d25384b02_1409614337( '[vscode-deploy-reloaded] Visual Studio Code commands'); }; + const $emoji = async (key: string) => { + key = $h.toStringSafe( + await $unwrap(key) + ); + + return require('node-emoji').get(key); + }; + + const $emoji_list = () => { + return $linq.from( require('node-emoji').search('') ).orderBy(e => { + return $h.normalizeString(e.key); + }).select(e => { + return `'${e.key}': ${e.emoji}`; + }).toArray(); + }; + + const $emoji_name = async (e: string) => { + e = $h.toStringSafe( + await $unwrap(e) + ); + + return require('node-emoji').which(e); + }; + // showErrorMessage const $err = async function() { const ARGS = await $unwrapArgs(arguments); @@ -726,6 +768,14 @@ function _27adf674_b653_4ee0_a33d_4f60be7859d2() { help += "## Functions\n"; + // $asc + help += "### $asc\n"; + help += "Returns the character codes of a string.\n"; + help += "```javascript\n"; + help += "$asc('a') // 97\n"; + help += "$asc('ab') // [ 97, 98 ]\n"; + help += "```\n"; + help += "\n"; // $c help += "### $c\n"; help += "Executes a Visual Studio Code command.\n"; @@ -756,6 +806,27 @@ function _27adf674_b653_4ee0_a33d_4f60be7859d2() { help += "$e(\"require('vscode').window.showWarningMessage('Test')\")\n"; help += "```\n"; help += "\n"; + // $emoji + help += "### $emoji\n"; + help += "Returns the emoji by a key (s. [node-emoji](https://github.com/omnidan/node-emoji)).\n"; + help += "```javascript\n"; + help += "$emoji('coffee') // ☕️\n"; + help += "```\n"; + help += "\n"; + // $emoji_list + help += "### $emoji_list\n"; + help += "Opens a new tab with a list of all known emojis.\n"; + help += "```javascript\n"; + help += "$emoji_list\n"; + help += "```\n"; + help += "\n"; + // $emoji_name + help += "### $emoji_name\n"; + help += "Returns the name of an emoji.\n"; + help += "```javascript\n"; + help += "$emoji_name('☕️') // coffee\n"; + help += "```\n"; + help += "\n"; // $err help += "### $err\n"; help += "Shows an error popup.\n"; diff --git a/src/workspaces.ts b/src/workspaces.ts index c27b1b3..8d823ea 100644 --- a/src/workspaces.ts +++ b/src/workspaces.ts @@ -2095,8 +2095,16 @@ export class Workspace extends deploy_objects.DisposableBase implements deploy_c return true; // not from settings folder } - if (this.isInGitFolder(file)) { - return true; // not from Git folder + if (deploy_helpers.toBooleanSafe(this.config.ignoreGitFolder, true)) { + if (this.isInGitFolder(file)) { + return true; // not from Git folder + } + } + + if (deploy_helpers.toBooleanSafe(this.config.ignoreSvnFolder, true)) { + if (this.isInSvnFolder(file)) { + return true; // not from SVN folder + } } const RELATIVE_PATH = this.toRelativePath(file); @@ -2174,6 +2182,30 @@ export class Workspace extends deploy_objects.DisposableBase implements deploy_c return path.startsWith(SETTINGS_DIR); } + /** + * Checks if a path is inside the Git folder. + * + * @param {string} path The path to check. + * + * @return {boolean} Is in Git folder or not. + */ + public isInSvnFolder(path: string) { + const SVN_DIR = Path.resolve( + Path.join( + this.rootPath, + '.svn' + ) + ); + + path = deploy_helpers.toStringSafe(path); + if (!Path.isAbsolute(path)) { + return true; + } + path = Path.resolve(path); + + return path.startsWith(SVN_DIR); + } + /** * Checks if a path is part of that workspace. *