diff --git a/package.json b/package.json index 91a26e3..6d803e7 100644 --- a/package.json +++ b/package.json @@ -1,29997 +1,29997 @@ -{ - "name": "vs-deploy", - "displayName": "Deploy", - "description": "Commands for deploying files of your workspace to a destination.", - "version": "9.13.0", - "publisher": "mkloubert", - "engines": { - "vscode": "^1.6.0" - }, - "license": "MIT", - "categories": [ - "Other" - ], - "keywords": [ - "Deploy", - "Workspace", - "Files", - "SFTP", - "Cloud" - ], - "activationEvents": [ - "*" - ], - "main": "./out/src/extension", - "contributes": { - "menus": { - "editor/title": [ - { - "command": "extension.deploy.compareFiles", - "group": "deploy" - }, - { - "command": "extension.deploy.file", - "group": "deploy" - }, - { - "command": "extension.deploy.pullFile", - "group": "deploy" - } - ], - "editor/context": [ - { - "command": "extension.deploy.compareFiles", - "group": "deploy" - }, - { - "command": "extension.deploy.file", - "group": "deploy" - }, - { - "command": "extension.deploy.pullFile", - "group": "deploy" - } - ], - "explorer/context": [ - { - "command": "extension.deploy.compareFiles", - "group": "deploy" - }, - { - "command": "extension.deploy.file", - "group": "deploy" - }, - { - "command": "extension.deploy.pullFile", - "group": "deploy" - } - ] - }, - "commands": [ - { - "command": "extension.deploy", - "title": "Deploy workspace", - "category": "Deploy" - }, - { - "command": "extension.deploy.compareFiles", - "title": "Compare files", - "category": "Deploy" - }, - { - "command": "extension.deploy.file", - "title": "Deploy current file / folder", - "category": "Deploy" - }, - { - "command": "extension.deploy.listen", - "title": "Start/stop listening for remote files", - "category": "Deploy" - }, - { - "command": "extension.deploy.openTemplate", - "title": "Open example / template", - "category": "Deploy" - }, - { - "command": "extension.deploy.pullFile", - "title": "Pull current file / folder", - "category": "Deploy" - }, - { - "command": "extension.deploy.pullWorkspace", - "title": "Pull workspace", - "category": "Deploy" - } - ], - "keybindings": [ - { - "command": "extension.deploy", - "key": "ctrl+alt+w", - "mac": "cmd+alt+w" - }, - { - "command": "extension.deploy.compareFiles", - "key": "ctrl+alt+p c", - "mac": "cmd+alt+p c" - }, - { - "command": "extension.deploy.file", - "key": "ctrl+alt+f", - "mac": "cmd+alt+f" - }, - { - "command": "extension.deploy.listen", - "key": "ctrl+alt+l", - "mac": "cmd+alt+l" - }, - { - "command": "extension.deploy.pullFile", - "key": "ctrl+alt+p f", - "mac": "cmd+alt+p f" - }, - { - "command": "extension.deploy.pullWorkspace", - "key": "ctrl+alt+p w", - "mac": "cmd+alt+p w" - } - ], - "configuration": { - "properties": { - "deploy": { - "type": "object", - "properties": { - "alwaysShowPackageList": { - "type": "boolean", - "description": "Indicates if package list is shown, even if there is only one entry.", - "default": false - }, - "alwaysShowTargetList": { - "type": "boolean", - "description": "Indicates if target list is shown, even if there is only one entry.", - "default": false - }, - "button": { - "type": "object", - "description": "Settings for the 'quick deploy button' in the status bar.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Inidciates if button should be enabled / visible or not.", - "default": false - }, - "packages": { - "description": "A list of one or more packages to deploy.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "text": { - "type": "string", - "description": "A custom text for the button.", - "default": "Quick deploy!" - } - } - }, - "clearOutputOnStartup": { - "type": "boolean", - "description": "Clear output on startup or not.", - "default": false - }, - "commands": { - "description": "A list of one or more script based commands to register.", - "oneOf": [ - { - "type": "object", - "description": "The command to register.", - "properties": { - "button": { - "type": "object", - "description": "Settings for optional button in the status bar.", - "properties": { - "color": { - "type": "string", - "description": "The custom (text) color for the button.", - "default": "#ffffff" - }, - "isRight": { - "type": "boolean", - "description": "Set button on the right side or not.", - "default": false - }, - "priority": { - "type": "number", - "description": "The custom priority.", - "default": 0 - }, - "show": { - "type": "boolean", - "description": "Show button on startup or not.", - "default": true - }, - "text": { - "type": "string", - "description": "The caption for the button." - }, - "tooltip": { - "type": "string", - "description": "The tooltip for the button." - } - } - }, - "command": { - "type": "string", - "description": "The ID of the command." - }, - "options": { - "description": "Optional data for the execution." - }, - "script": { - "type": "string", - "description": "The path to the script that is run when command is executed.", - "default": "./my-command.js" - }, - "commandState": { - "description": "The initial value for 'commandState' property.", - "default": {} - } - }, - "required": [ - "command", - "script" - ] - }, - { - "type": "array", - "description": "The list of commands to register.", - "items": { - "type": "object", - "description": "The command to register.", - "properties": { - "button": { - "type": "object", - "properties": { - "color": { - "type": "string", - "description": "The custom (text) color for the button.", - "default": "#ffffff" - }, - "isRight": { - "type": "boolean", - "description": "Set button on the right side or not.", - "default": false - }, - "priority": { - "type": "number", - "description": "The custom priority.", - "default": 0 - }, - "show": { - "type": "boolean", - "description": "Show button on startup or not.", - "default": true - }, - "text": { - "type": "string", - "description": "The caption for the button." - }, - "tooltip": { - "type": "string", - "description": "The tooltip for the button." - } - } - }, - "command": { - "type": "string", - "description": "The ID of the command." - }, - "options": { - "description": "Optional data for the execution." - }, - "script": { - "type": "string", - "description": "The path to the script that is run when command is executed.", - "default": "./my-command.js" - } - } - } - } - ] - }, - "deployOnChange": { - "type": "boolean", - "description": "Activate or deactivate 'deploy on change' for all packages.", - "default": true - }, - "deployOnSave": { - "type": "boolean", - "description": "Activate or deactivate 'deploy on save' for all packages.", - "default": true - }, - "disableNewVersionPopups": { - "type": "boolean", - "description": "Clear output on startup or not.", - "default": false - }, - "displayLoadedPlugins": { - "type": "boolean", - "description": "Display loaded plugins in output window or not.", - "default": true - }, - "displayNetworkInfo": { - "type": "boolean", - "description": "Display network information in output window or not.", - "default": true - }, - "env": { - "description": "Settings for the environment of the current process.", - "type": "object", - "properties": { - "importVarsAsPlaceholders": { - "description": "Automatically import environment variables as placesholders / values or not.", - "type": "boolean", - "default": false - }, - "noPlaceholdersForTheseVars": { - "description": "A list of variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL variables or not.", - "type": "boolean" - } - ] - }, - "vars": { - "description": "One or more variable for the process to define.", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - } - } - }, - "events": { - "description": "One or more global events.", - "type": "array", - "items": { - "description": "An event entry.", - "type": "object", - "properties": { - "description": { - "description": "A description for that event.", - "type": "string" - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if entry is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that entry is available for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "name": { - "description": "The name of the event.", - "type": "string" - }, - "once": { - "description": "Execute once or not.", - "type": "boolean", - "default": false - }, - "options": { - "description": "Options / data for the execution." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the entry is for." - }, - { - "type": "array", - "description": "One or more platform names the entry is for.", - "items": { - "type": "string", - "description": "The name of platform the entry is for." - } - } - ] - }, - "script": { - "description": "The path to the underlying script.", - "type": "string", - "default": "./my-event.js" - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "state": { - "description": "The initial value for the state." - } - }, - "required": [ - "name", - "script" - ] - } - }, - "fastCheckForIgnores": { - "type": "boolean", - "description": "Indicates if a 'fast' file check should be used for the list of ignored files.", - "default": true - }, - "fastCheckOnChange": { - "type": "boolean", - "description": "Indicates if a 'fast' file check should be used for 'deploy on change' for packages by default or not.", - "default": false - }, - "fastCheckOnSave": { - "type": "boolean", - "description": "Indicates if a 'fast' file check should be used for 'deploy on save' for packages by default or not.", - "default": false - }, - "globals": { - "type": "object", - "description": "A list of variables that can be accessed globally (from scripts, e.g.)." - }, - "hideDeployResultInStatusBarAfter": { - "type": "number", - "description": "The time in seconds the result item in the status bar should disapear." - }, - "host": { - "type": "object", - "description": "Options for 'host mode'.", - "properties": { - "autoStart": { - "type": "boolean", - "description": "Run on startup or not.", - "default": false - }, - "dir": { - "type": "string", - "description": "The directory where incoming files should be stored.", - "default": "./" - }, - "maxMessageSize": { - "type": "integer", - "description": "Maximum size of one remote file message.", - "default": 16777215, - "minimum": 1 - }, - "messageTransformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of a whole message AFTER it has been received.", - "default": "./my-remote-transformer.js" - }, - "messageTransformerOptions": { - "description": "The data for the 'message data transformation', if needed." - }, - "password": { - "type": "string", - "description": "An optional password to use." - }, - "passwordAlgorithm": { - "type": "string", - "description": "The algorithm for the password to use.", - "default": "aes-256-ctr" - }, - "port": { - "type": "integer", - "description": "The TCP port the host should be listen on.", - "default": 23979, - "minimum": 0, - "maximum": 65535 - }, - "showPopupOnSuccess": { - "type": "boolean", - "description": "Show popup if host has been started or stopped successfully.", - "default": true - }, - "transformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of a file AFTER it has been received.", - "default": "./my-remote-transformer.js" - }, - "transformerOptions": { - "description": "The data for the 'file data transformation', if needed." - }, - "validator": { - "type": "string", - "description": "The optional path to the script that validates received files.", - "default": "./my-remote-file-validator.js" - }, - "validatorOptions": { - "description": "The data for the 'validator', if needed." - } - } - }, - "ignore": { - "oneOf": [ - { - "description": "The pattern of files that should be ignored even if a deploy is started for them.", - "type": "string" - }, - { - "description": "One or more pattern of files that should be ignored even if a deploy is started for them.", - "type": "array", - "items": { - "description": "The pattern of files that should be ignored even if a deploy is started for them.", - "type": "string" - } - } - ] - }, - "imports": { - "description": "One or more settings to import.", - "oneOf": [ - { - "description": "The path to the import file.", - "type": "string" - }, - { - "description": "One or more import entries.", - "type": "array", - "items": { - "oneOf": [ - { - "description": "The path to the import file.", - "type": "string" - }, - { - "description": "The import file / entry.", - "type": "object", - "properties": { - "description": { - "description": "An optional description for the entry.", - "type": "string" - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if entry is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that entry is available for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "merge": { - "type": "boolean", - "description": "Merge with parent settings or not.", - "default": true - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the entry is for." - }, - { - "type": "array", - "description": "One or more platform names the entry is for.", - "items": { - "type": "string", - "description": "The name of platform the entry is for." - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - } - } - } - ] - } - } - ] - }, - "language": { - "type": "string", - "description": "The ID of the (display) language to use.", - "default": "en" - }, - "name": { - "type": "string", - "description": "A custom machine name." - }, - "open": { - "description": "A list of files to open on startup.", - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "closeOthers": { - "type": "boolean", - "description": "Close other opened files or not.", - "default": false - }, - "exclude": { - "description": "A list of one or more glob patterns of files that should be execluded from opening.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "files": { - "description": "A list of one or more glob patterns of files that should be opened.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if file(s) should be opened or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that filter is for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "useGitIgnoreStylePatterns": { - "type": "boolean", - "description": "Also check directory patterns, like in '.gitignore' files, or not.", - "default": true - } - } - } - } - ] - }, - "openOutputOnDeploy": { - "type": "boolean", - "description": "Open the output window before deploying starts or not.", - "default": true - }, - "openOutputOnStartup": { - "type": "boolean", - "description": "Open the output window on after settings have been (re)loaded or not.", - "default": false - }, - "packages": { - "type": "array", - "description": "One or more packages that describe what files of the workspace should be deployed.", - "items": { - "type": "object", - "properties": { - "button": { - "description": "Defines a button that should be shown in the status bar for that package.", - "oneOf": [ - { - "description": "Enable a button or not.", - "type": "boolean" - }, - { - "description": "The button that should be shown in the status bar.", - "type": "object", - "properties": { - "command": { - "description": "The custom ID for the underlying command.", - "type": "string" - }, - "enabled": { - "description": "Enable button or not.", - "type": "boolean", - "default": true - }, - "isRight": { - "description": "Put button on the right side or not.", - "type": "boolean", - "default": false - }, - "priority": { - "description": "The priority.", - "type": "number" - }, - "targets": { - "description": "The targets to deploy to.", - "oneOf": [ - { - "description": "The name of the target to deploy to.", - "type": "string" - }, - { - "description": "The names of the targets to deploy to.", - "type": "array", - "items": { - "description": "The name of the target to deploy to.", - "type": "string" - } - } - ] - }, - "text": { - "description": "A custom text for the button.", - "type": "string" - }, - "tooltip": { - "description": "A custom tooltip for the button.", - "type": "string" - } - } - } - ] - }, - "deployOnChange": { - "description": "One or more files to deploy if they change. (true) indicates to deploy to the targets of 'deployOnSave'.", - "default": false, - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "object", - "properties": { - "exclude": { - "description": "A list of one or more glob patterns of files that should be execluded from deployment.", - "type": "array", - "items": { - "type": "string" - } - }, - "files": { - "description": "A list of one or more glob patterns of files that should be deployed. By default ALL files will be deployed.", - "type": "array", - "items": { - "type": "string" - } - }, - "useTargetList": { - "type": "boolean", - "description": "Use 'targets' property of this package instead, otherwise use the settings 'deployOnSave'.", - "default": false - }, - "useGitIgnoreStylePatterns": { - "type": "boolean", - "description": "Also check directory patterns, like in '.gitignore' files, or not.", - "default": true - } - } - } - ] - }, - "deployOnSave": { - "description": "One or more name of targets to deploy to. (true) indicates to deploy to ALL targets.", - "default": false, - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "description": { - "type": "string", - "description": "A description for the package." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "exclude": { - "description": "A list of one or more glob patterns of files that should be execluded from deployment.", - "type": "array", - "items": { - "type": "string" - } - }, - "files": { - "description": "A list of one or more glob patterns of files that should be deployed. By default ALL files will be deployed.", - "type": "array", - "items": { - "type": "string" - } - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if package is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "name": { - "type": "string", - "description": "The name of the package." - }, - "noNodeModules": { - "type": "boolean", - "description": "Exclude 'node_modules' directory by default or not.", - "default": false - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the package is for." - }, - { - "type": "array", - "description": "One or more platform names the package is for.", - "items": { - "type": "string", - "description": "The name of platform the package is for." - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "isFor": { - "description": "A list of one or more (host)names that package is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide package in GUI or not.", - "default": false - }, - "targets": { - "description": "One or more explicit targets to deploy to.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "useTargetListForDeployOnSave": { - "type": "boolean", - "description": "Use 'targets' property of this package instead, if its 'deployOnSave' property is set to (true).", - "default": false - }, - "fastCheckOnChange": { - "type": "boolean", - "description": "Indicates if a 'fast' file check should be used for 'deploy on change' for this packages or not.", - "default": false - }, - "fastCheckOnSave": { - "type": "boolean", - "description": "Indicates if a 'fast' file check should be used for 'deploy on save' for this package or not.", - "default": false - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that package.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "useGitIgnoreStylePatterns": { - "type": "boolean", - "description": "Also check directory patterns, like in '.gitignore' files, in that package or not.", - "default": true - }, - "showForDeploy": { - "type": "boolean", - "description": "Show this package for deploying in GUI or not.", - "default": true - }, - "showForPull": { - "type": "boolean", - "description": "Show this package for pulling in GUI or not.", - "default": true - }, - "inheritFrom": { - "description": "One or more package name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The package name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A package name from where to inherit settings from." - } - } - ] - } - } - } - }, - "runBuildTaskOnStartup": { - "description": "Indicates if build task should be run on startup or not.", - "oneOf": [ - { - "type": "boolean", - "description": "Indicates if build task should be run on startup or not.", - "default": false - }, - { - "type": "integer", - "description": "Defines the number of milliseconds to wait before the build task is run.", - "minimum": 0 - } - ] - }, - "runGitPullOnStartup": { - "description": "Indicates if Git pull should be run on startup or not.", - "oneOf": [ - { - "type": "boolean", - "description": "Indicates if Git pull should be run on startup or not.", - "default": false - }, - { - "type": "integer", - "description": "Defines the number of milliseconds to wait before the Git sync is run.", - "minimum": 0 - } - ] - }, - "showDeployResultInStatusBar": { - "type": "boolean", - "description": "Show an item in the status bar after deployment or not.", - "default": false - }, - "showPopupOnSuccess": { - "type": "boolean", - "description": "Indicates if an info popup / notification should be displayed after a successful deployment or not.", - "default": true - }, - "showWarningIfIgnored": { - "type": "boolean", - "description": "Show a warning message if a (single) file has been ignored.", - "default": true - }, - "showWarningsForNonExistingTargets": { - "type": "boolean", - "description": "Indicates if a warning popup / notification should be displayed if targets do not exist.", - "default": false - }, - "startApi": { - "type": "boolean", - "description": "Starts the REST API or not (s. https://github.com/mkloubert/vs-rest-api).", - "default": false - }, - "startCronJobs": { - "type": "boolean", - "description": "Starts the cron jobs or not (s. https://github.com/mkloubert/vs-cron).", - "default": false - }, - "startupCommands": { - "description": "A list of one or more Visual Studio Commands that should be run on startup.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "arguments": { - "type": "array", - "description": "Arguments for the execution." - }, - "command": { - "type": "string", - "description": "The ID of the command." - } - }, - "required": [ - "command" - ] - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "arguments": { - "type": "array", - "description": "Arguments for the execution." - }, - "command": { - "type": "string", - "description": "The ID of the command." - } - }, - "required": [ - "command" - ] - } - ] - } - } - ] - }, - "targets": { - "type": "array", - "description": "One or more targets that describe where files can be deployed to.", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "api" - ], - "type": "string", - "description": "Deploys to a REST API that is compatible to 'vs-rest-api'." - }, - "host": { - "type": "string", - "description": "The host to deploy to.", - "default": "127.0.0.1" - }, - "isSecure": { - "type": "boolean", - "description": "Use secure HTTP or not.", - "default": false - }, - "port": { - "type": "number", - "description": "The TCP of the API host.", - "default": 1781, - "minimum": 0, - "maximum": 65535 - }, - "user": { - "type": "string", - "description": "The username for basic authentication." - }, - "password": { - "type": "string", - "description": "The password for basic authentication." - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send / after it has been downloaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "app" - ], - "type": "string", - "description": "Deploys to an app, like a script or executable, on the local machine." - }, - "app": { - "type": "string", - "description": "The path to the app.", - "default": "/the/path/to/my/app.sh" - }, - "arguments": { - "description": "One or more argument for the execution.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "submitFileList": { - "type": "boolean", - "description": "Indicates if file list should be submitted to the app as arguments or not.", - "default": true - }, - "wait": { - "type": "boolean", - "description": "Wait for app has been executed or not.", - "default": false - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "azureblob" - ], - "type": "string", - "description": "Deploys to a container of an Azure blob storage." - }, - "accessKey": { - "type": "string", - "description": "The access key." - }, - "account": { - "type": "string", - "description": "The name of the storage account." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "container": { - "type": "string", - "description": "The name of the container inside the storage." - }, - "contentType": { - "type": "string", - "description": "Defines the content type for files explicit." - }, - "detectMime": { - "type": "boolean", - "description": "Detect the MIME type for a file automatically or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The target directory.", - "default": "/" - }, - "host": { - "type": "string", - "description": "The optional host address." - }, - "publicAccessLevel": { - "type": "string", - "description": "The publib access level of the container.", - "default": "blob" - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send / after it has been downloaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "batch" - ], - "type": "string", - "description": "Deploys to one or more other target." - }, - "targets": { - "description": "One or more names of other targets to deploy to.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "dropbox" - ], - "type": "string", - "description": "Deploys to a DropBox folder." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The target directory.", - "default": "" - }, - "empty": { - "type": "boolean", - "description": "Empty target directory BEFORE upload file or not.", - "default": false - }, - "token": { - "type": "string", - "description": "The access token." - }, - "transformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of a file BEFORE it is send.", - "default": "./my-dropbox-transformer.js" - }, - "transformerOptions": { - "description": "The data for the 'file data transformation', if needed." - }, - "password": { - "type": "string", - "description": "An optional password for encrypting/decrypting the file(s)." - }, - "passwordAlgorithm": { - "type": "string", - "description": "The algorithm for the password to use.", - "default": "aes-256-ctr" - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "each" - ], - "type": "string", - "description": "A loop that writes a list of values to the properties of existing targets." - }, - "from": { - "oneOf": [ - { - "description": "The path or URL to the JSON file that contains the array with data.", - "type": "string" - }, - { - "description": "The list of values.", - "type": "array" - } - ] - }, - "to": { - "oneOf": [ - { - "description": "The property to write the value(s) to.", - "type": "string" - }, - { - "description": "The list of properties to write the value(s) to.", - "type": "array", - "items": { - "description": "The property to write the value(s) to.", - "type": "string" - } - } - ] - }, - "targets": { - "oneOf": [ - { - "description": "The target name to deploy to / pull from.", - "type": "string" - }, - { - "description": "One or more target name to deploy to / pull from.", - "type": "array", - "items": { - "description": "The target name to deploy to / pull from.", - "type": "string" - } - } - ] - }, - "usePlaceholders": { - "type": "boolean", - "description": "Process placeholders in input values or not.", - "default": false - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - }, - "required": [ - "from", - "to", - "targets" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "ftp" - ], - "type": "string", - "description": "Deploys to a FTP server." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The remote directory on the server.", - "default": "/" - }, - "host": { - "type": "string", - "description": "The host address of the server.", - "default": "127.0.0.1" - }, - "password": { - "type": "string", - "description": "The password to use." - }, - "port": { - "type": "integer", - "description": "The TCP port of the server.", - "default": 21, - "maximum": 65535, - "minimum": 0 - }, - "secure": { - "type": "boolean", - "description": "Use secure connection or not.", - "default": false - }, - "user": { - "type": "string", - "description": "The username for the authentication.", - "default": "anonymous" - }, - "connTimeout": { - "type": "integer", - "description": "How long (in milliseconds) to wait for the control connection to be established.", - "default": 10000, - "minimum": 0 - }, - "pasvTimeout": { - "type": "integer", - "description": "How long (in milliseconds) to wait for a PASV data connection to be established.", - "default": 10000, - "minimum": 0 - }, - "keepalive": { - "type": "integer", - "description": "How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive.", - "default": 10000, - "minimum": 0 - }, - "engine": { - "type": "string", - "description": "The engine to use.", - "default": "ftp", - "enum": [ - "", - "ftp", - "jsftp" - ] - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send / after it has been downloaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "beforeUpload": { - "description": "One or more command that should be executed on the server BEFORE a file is uploaded.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "uploaded": { - "description": "One or more command that should be executed on the server AFTER a file has been uploaded.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "connected": { - "description": "One or more command that should be executed on the server AFTER a connection has been established.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "closing": { - "description": "One or more command that should be executed on the server BEFORE a connection will be closed.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Deploys to a HTTP server/service." - }, - "headers": { - "type": "object", - "description": "The optional list of additional request headers to send.", - "default": { - "X-My-Request-Header": "The value for the header." - } - }, - "method": { - "type": "string", - "description": "The HTTP method to use.", - "default": "PUT" - }, - "password": { - "type": "string", - "description": "The optional password for basic authentication to use." - }, - "submitContentType": { - "type": "boolean", - "description": "Submit the 'Content-type' request header or not.", - "default": true - }, - "submitDate": { - "type": "boolean", - "description": "Submit the 'Date' request header or not.", - "default": true - }, - "submitFileHeader": { - "type": "boolean", - "description": "Submit the 'X-vsdeploy-file' request header that contains the path of the file that is submitted.", - "default": false - }, - "transformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of the file BEFORE it is send.", - "default": "./my-http-transformer.js" - }, - "transformerOptions": { - "description": "The data for the 'data transformation', if needed." - }, - "url": { - "type": "string", - "description": "The request URL.", - "format": "uri", - "default": "http://localhost/webdav/?file=${VSDeploy-File}" - }, - "user": { - "type": "string", - "description": "The optional username for basic authentication." - }, - "encodeUrlValues": { - "type": "boolean", - "description": "Encode URL values with 'encodeURIComponent' or not.", - "default": true - }, - "submitFile": { - "type": "boolean", - "description": "Submit the content of a file or not.", - "default": true - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "local" - ], - "type": "string", - "description": "Deploys to a local folder or a shared folder (like SMB) inside your LAN." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The target directory.", - "default": "./out" - }, - "empty": { - "type": "boolean", - "description": "Empty target directory BEFORE deploy or not.", - "default": false - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is saved / after it has been loaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "list" - ], - "type": "string", - "description": "Lets the user select an entry with settings for one or more targets." - }, - "placeholder": { - "description": "The placeholder for the GUI.", - "type": "string" - }, - "entries": { - "oneOf": [ - { - "description": "The entry.", - "type": "object", - "properties": { - "description": { - "description": "A description for the GUI.", - "type": "string" - }, - "detail": { - "description": "Details for the GUI.", - "type": "string" - }, - "name": { - "description": "The (display) name for the GUI.", - "type": "string" - }, - "settings": { - "type": "object", - "description": "Settings for the target(s).", - "patternProperties": { - ".*": { - "description": "The setting for the target(s)." - } - } - } - } - }, - { - "description": "One or more entry.", - "type": "array", - "items": { - "description": "The entry.", - "type": "object", - "properties": { - "description": { - "description": "A description for the GUI.", - "type": "string" - }, - "detail": { - "description": "Details for the GUI.", - "type": "string" - }, - "name": { - "description": "The (display) name for the GUI.", - "type": "string" - }, - "settings": { - "type": "object", - "description": "Settings for the target(s).", - "patternProperties": { - ".*": { - "description": "The setting for the target(s)." - } - } - } - } - } - } - ] - }, - "targets": { - "oneOf": [ - { - "description": "The target name to deploy to / pull from.", - "type": "string" - }, - { - "description": "One or more target name to deploy to / pull from.", - "type": "array", - "items": { - "description": "The target name to deploy to / pull from.", - "type": "string" - } - } - ] - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "mail" - ], - "type": "string", - "description": "Deploys to a ZIP file and sends it as attachment by mail via SMTP." - }, - "from": { - "type": "string", - "description": "The optional email address of the sender." - }, - "host": { - "type": "string", - "description": "The host address of the SMTP server.", - "default": "127.0.0.1" - }, - "ignoreTLS": { - "type": "boolean", - "description": "Ignore TLS or not.", - "default": false - }, - "password": { - "type": "string", - "description": "The password to use." - }, - "port": { - "type": "integer", - "description": "The TCP port of the SMTP server.", - "minimum": 0, - "maximum": 65535, - "default": 465 - }, - "rejectUnauthorized": { - "type": "boolean", - "description": "Specify whether a connection should be automatically rejected on invalid server certificates.", - "default": true - }, - "requireTLS": { - "type": "boolean", - "description": "Server requires TLS or not.", - "default": false - }, - "secure": { - "type": "boolean", - "description": "Use secure connection or not.", - "default": true - }, - "to": { - "type": "string", - "description": "The optional initial list of target email addresses." - }, - "user": { - "type": "string", - "description": "The username." - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "map" - ], - "type": "string", - "description": "Iterates over a list of objects that contain properties (and their values) and deploys for each of them." - }, - "from": { - "description": "The objects (and/or sources -as path or URL- to them) that contain the properties and their values for the 'real' targets." - }, - "targets": { - "oneOf": [ - { - "description": "The target name to deploy to / pull from.", - "type": "string" - }, - { - "description": "One or more target name to deploy to / pull from.", - "type": "array", - "items": { - "description": "The target name to deploy to / pull from.", - "type": "string" - } - } - ] - }, - "usePlaceholders": { - "type": "boolean", - "description": "Process placeholders in input values or not.", - "default": false - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - }, - "required": [ - "from", - "targets" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "pipeline" - ], - "type": "string", - "description": "Pipes a list of sources files to a new destination, by using a script and sends the new file list to a target." - }, - "options": { - "description": "Optional value or object for the execution." - }, - "script": { - "type": "string", - "description": "The script file to exeute.", - "default": "./pipeline.js" - }, - "target": { - "type": "string", - "description": "The target to deploy to." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - }, - "required": [ - "script" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "remote" - ], - "type": "string", - "description": "Deploys to a remote machine over a TCP connection like another VS Code instance." - }, - "hosts": { - "description": "One or more host to deploy to.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "messageTransformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of a whole message BEFORE it is send.", - "default": "./my-remote-transformer.js" - }, - "messageTransformerOptions": { - "description": "The data for the 'message data transformation', if needed." - }, - "tag": { - "description": "An optional value that also should be submitted with each JSON file message." - }, - "transformer": { - "type": "string", - "description": "The optional path to the script that transforms the data of a file BEFORE it is send.", - "default": "./my-remote-transformer.js" - }, - "transformerOptions": { - "description": "The data for the 'data transformation', if needed." - }, - "password": { - "type": "string", - "description": "An optional password to use." - }, - "passwordAlgorithm": { - "type": "string", - "description": "The algorithm for the password to use.", - "default": "aes-256-ctr" - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "s3bucket" - ], - "type": "string", - "description": "Deploys to an Amazon AWS S3 bucket." - }, - "bucket": { - "type": "string", - "description": "The name of the target bucket." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "contentType": { - "type": "string", - "description": "Defines the content type for files explicit." - }, - "credentials": { - "type": "object", - "description": "The credentials to use.", - "properties": { - "config": { - "description": "The configuration data for the credential provider.", - "type": "object" - }, - "type": { - "description": "The credential provider to use.", - "oneOf": [ - { - "type": "string", - "description": "Represents credentials loaded from shared credentials file.", - "enum": [ - "" - ] - }, - { - "type": "string", - "description": "Represents credentials retrieved from STS Web Identity Federation using the Amazon Cognito Identity service.", - "enum": [ - "cognito" - ] - }, - { - "type": "string", - "description": "Represents credentials received from relative URI specified in the ECS container.", - "enum": [ - "ec2" - ] - }, - { - "type": "string", - "description": "Represents credentials received from the metadata service on an EC2 instance.", - "enum": [ - "ec2meta" - ] - }, - { - "type": "string", - "description": "Represents credentials from the environment.", - "enum": [ - "environment" - ] - }, - { - "type": "string", - "description": "Represents credentials from a JSON file on disk.", - "enum": [ - "file" - ] - }, - { - "type": "string", - "description": "Represents credentials retrieved from STS SAML support.", - "enum": [ - "saml" - ] - }, - { - "type": "string", - "description": "Represents credentials loaded from shared credentials file.", - "enum": [ - "shared" - ] - }, - { - "type": "string", - "description": "Represents temporary credentials retrieved from 'AWS.STS'.", - "enum": [ - "temp" - ] - }, - { - "type": "string", - "description": "Represents credentials retrieved from STS Web Identity Federation support.", - "enum": [ - "web" - ] - } - ] - } - } - }, - "detectMime": { - "type": "boolean", - "description": "Detect the MIME type for a file automatically or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The directory inside the bucket where to deploy to.", - "default": "/" - }, - "acl": { - "type": "string", - "description": "The ACL for the target files.", - "default": "public-read" - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send / after it has been downloaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sftp" - ], - "type": "string", - "description": "Deploys to a SFTP server." - }, - "agent": { - "type": "string", - "description": "Name or path to ssh-agent for ssh-agent-based user authentication." - }, - "agentForward": { - "type": "boolean", - "description": "Set to (true) to use OpenSSH agent forwarding (auth-agent@openssh.com) for the life of the connection. 'agent' property must also be set to use this feature.", - "default": false - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "dir": { - "type": "string", - "description": "The remote directory on the server.", - "default": "/" - }, - "hashAlgorithm": { - "type": "string", - "description": "The algorithm to use to verify the fingerprint of a host.", - "default": "md5" - }, - "hashes": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "host": { - "type": "string", - "description": "The host address of the server.", - "default": "127.0.0.1" - }, - "password": { - "type": "string", - "description": "The password." - }, - "port": { - "type": "integer", - "description": "The TCP port of the server.", - "minimum": 0, - "maximum": 65535, - "default": 22 - }, - "privateKey": { - "type": "string", - "description": "The path to the private key file, if authentification should be done via SSH key.", - "default": "./my-private-file.key" - }, - "privateKeyPassphrase": { - "type": "string", - "description": "The passphrase for the key file, if needed." - }, - "readyTimeout": { - "type": "integer", - "description": "How long (in milliseconds) to wait for the SSH handshake to complete.", - "minimum": 0, - "default": 20000 - }, - "tryKeyboard": { - "type": "boolean", - "description": "Try keyboard-interactive user authentication if primary user authentication method fails.", - "default": false - }, - "user": { - "type": "string", - "description": "The username.", - "default": "anonymous" - }, - "unix": { - "type": "object", - "description": "Settings for Linux/UNIX based targets.", - "properties": { - "convertCRLF": { - "type": "boolean", - "description": "Convert CR+LF to LF in text files or not.", - "default": false - }, - "encoding": { - "type": "string", - "description": "The encoding (like 'ascii' or 'utf8') for the conversion to use.", - "default": "ascii" - } - } - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is send / after it has been downloaded." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "modes": { - "oneOf": [ - { - "description": "The (octal) 'chmod' access permission value for all files.", - "type": "number", - "minimum": 0, - "maximum": 777 - }, - { - "type": "object", - "description": "One or more regular expressions with their 'chmod' access permission values.", - "patternProperties": { - ".*": { - "description": "The (octal) 'chmod' access permission value for the maching files files.", - "type": "number", - "minimum": 0, - "maximum": 777 - } - } - } - ] - }, - "beforeUpload": { - "description": "One or more command that should be executed on the server BEFORE a file is uploaded.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "uploaded": { - "description": "One or more command that should be executed on the server AFTER a file has been uploaded.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "connected": { - "description": "One or more command that should be executed on the server AFTER a connection has been established.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "closing": { - "description": "One or more command that should be executed on the server BEFORE a connection will be closed.", - "oneOf": [ - { - "type": "string", - "description": "The command to execute." - }, - { - "description": "The commands to execute.", - "type": "array", - "items": { - "type": "string", - "description": "The command to execute." - } - } - ] - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Deploys via a JS script." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "options": { - "description": "Optional value or object for the execution." - }, - "script": { - "type": "string", - "description": "The script file to exeute.", - "default": "./deploy.js" - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - }, - "required": [ - "script" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "encoding": { - "type": "string", - "description": "The text encoding of the SQL files.", - "default": "utf8" - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "sqlFilesOnly": { - "type": "boolean", - "description": "Use 'sql' files only or not.", - "default": true - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is executed." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "test" - ], - "type": "string", - "description": "A mock deployer that only checks what files will be deployed." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is handled." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "zip" - ], - "type": "string", - "description": "Deploys to a ZIP file." - }, - "checkBeforeDeploy": { - "type": "boolean", - "description": "Check for newer files before a deployment starts or not.", - "default": true - }, - "fileName": { - "type": "string", - "description": "The custom filename to use. Otherwise an automatic filename is generated." - }, - "open": { - "type": "boolean", - "description": "Open file after is been created or not.", - "default": true - }, - "target": { - "type": "string", - "description": "The target directory of the new ZIP file.", - "default": "./" - }, - "transformer": { - "type": "string", - "description": "The path to the script that transforms data before it is saved / after it has been extracted." - }, - "transformerOptions": { - "description": "Optional data for the transformer script." - }, - "description": { - "type": "string", - "description": "A description for the target." - }, - "detail": { - "type": "string", - "description": "Additional information that should be shown in the GUI, e.g." - }, - "diffBeforeDeploy": { - "type": "boolean", - "description": "Start a diff before deploy file(s) or not.", - "default": false - }, - "hideIf": { - "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "if": { - "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isFor": { - "description": "A list of one or more (host)names that target is visible for.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "isHidden": { - "type": "boolean", - "description": "Hide target in GUI or not.", - "default": false - }, - "mappings": { - "description": "One or more folder mapping to add.", - "type": "array", - "items": { - "type": "object", - "properties": { - "source": { - "type": "string", - "description": "The directory that should be mapped." - }, - "target": { - "type": "string", - "description": "The target directory to map the files of source directory to." - } - } - } - }, - "name": { - "type": "string", - "description": "The name of the target." - }, - "platforms": { - "oneOf": [ - { - "type": "string", - "description": "The name of the platform the target is for." - }, - { - "type": "array", - "description": "One or more platform names the target is for.", - "items": { - "type": "string", - "description": "The name of platform the target is for." - } - } - ] - }, - "showIf": { - "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "sortOrder": { - "description": "The sort order(s).", - "oneOf": [ - { - "type": "number" - }, - { - "type": "object" - } - ], - "default": 0 - }, - "applyValuesTo": { - "description": "A list of property names and their values that should be applied to that target.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The value (with optional placeholders) that should be applied to the property.", - "type": "string" - } - } - }, - "inheritFrom": { - "description": "One or more target name from where to inherit settings from.", - "oneOf": [ - { - "type": "string", - "description": "The target name from where to inherit settings from." - }, - { - "type": "array", - "items": { - "type": "string", - "description": "A target name from where to inherit settings from." - } - } - ] - }, - "loadFrom": { - "type": "string", - "description": "The path to the JSON file from where to import data." - }, - "deployed": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run after deploy." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run after deploy." - }, - "beforeDeploy": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "enum": [ - "compile" - ], - "type": "string", - "description": "A local command to be run before deploy action." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "compiler": { - "description": "The compiler to use.", - "oneOf": [ - { - "type": "string", - "enum": [ - "coffeeccript" - ], - "description": "CoffeeScript" - }, - { - "type": "string", - "enum": [ - "htmlminifier" - ], - "description": "html-minifier" - }, - { - "type": "string", - "enum": [ - "less" - ], - "description": "LESS compiler" - }, - { - "type": "string", - "enum": [ - "pug" - ], - "description": "Pug compiler" - }, - { - "type": "string", - "enum": [ - "script" - ], - "description": "Script based compiler" - }, - { - "type": "string", - "enum": [ - "typescript" - ], - "description": "TypeScript compiler" - }, - { - "type": "string", - "enum": [ - "uglifyjs" - ], - "description": "UglifyJS compiler" - } - ] - }, - "options": { - "description": "The options for compiler." - }, - "useFilesOfDeployment": { - "description": "Use files that will be deployed / have been deployed as source or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "compiler" - ] - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "http" - ], - "type": "string", - "description": "Does a HTTP request." - }, - "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": { - ".*": { - "description": "The header to define." - } - } - }, - "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" - }, - "options": { - "description": "The options for the script that returns the body to send." - }, - "url": { - "type": "string", - "description": "The URL.", - "default": "http://localhost/" - }, - "noPlaceholdersForTheseHeaders": { - "description": "A list of headers that should NOT use placeholders / values.", - "oneOf": [ - { - "description": "The name of the header that should NOT use placeholders / values.", - "type": "string" - }, - { - "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" - } - ] - }, - "username": { - "type": "string", - "description": "The username for basic auth." - }, - "password": { - "type": "string", - "description": "The password for basic auth." - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "open" - ], - "type": "string", - "description": "One or more local command to be run before deploy action" - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "target": { - "type": "string", - "description": "Target command/executable" - }, - "arguments": { - "type": "array", - "description": "A list of one or more optional arguments for the execution.", - "items": { - "type": "string" - } - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "script" - ], - "type": "string", - "description": "Runs a script from a file." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "options": { - "description": "Additional options for the script execution." - }, - "script": { - "type": "string", - "description": "The path to the script file.", - "default": "./my_deployOperation_script.js" - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "sql" - ], - "type": "string", - "description": "Executes SQL scripts." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "engine": { - "default": "mysql", - "oneOf": [ - { - "enum": [ - "mysql" - ], - "type": "string", - "description": "MySQL" - }, - { - "enum": [ - "sql" - ], - "type": "string", - "description": "Microsoft SQL" - } - ] - }, - "options": { - "description": "The options for the connection." - }, - "queries": { - "description": "One or more query to invoke.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "vscommand" - ], - "type": "string", - "description": "Executes a Visual Studio Code command." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "command": { - "type": "string", - "description": "The ID of the command to execute." - }, - "arguments": { - "type": "array", - "description": "One or more optional argument for the execution." - }, - "contextOptions": { - "description": "Options for the operation context." - }, - "submitContext": { - "type": "boolean", - "description": "Submit an operation context object as first argument or not.", - "default": false - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "wait" - ], - "type": "string", - "description": "Waits a number of milliseconds, before the next operation is executed." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "time": { - "type": "number", - "description": "The number of milliseconds to wait before next operation is invoked.", - "minimum": 0, - "default": 1000 - } - } - }, - { - "type": "object", - "properties": { - "type": { - "enum": [ - "webdeploy" - ], - "type": "string", - "description": "Executes Microsoft's Web Deploy tool (msdeploy)." - }, - "name": { - "type": "string", - "description": "The name of the operation." - }, - "description": { - "type": "string", - "description": "The description for the operation." - }, - "allowUntrusted": { - "type": "boolean", - "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", - "default": false - }, - "appHostConfigDir": { - "type": "string", - "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." - }, - "args": { - "type": "array", - "description": "One or more additional arguments for the execution.", - "items": { - "type": "string" - } - }, - "declareParam": { - "type": "string", - "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." - }, - "declareParamFile": { - "type": "string", - "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." - }, - "dest": { - "type": "string", - "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." - }, - "dir": { - "type": "string", - "description": "The custom working directory for the execution.", - "default": "./" - }, - "disableAppStore": { - "type": "boolean", - "default": false - }, - "disableLink": { - "type": "string", - "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "disableRule": { - "type": "string", - "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "disableSkipDirective": { - "type": "string", - "description": "Disables the specified skip directive." - }, - "enableLink": { - "type": "string", - "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." - }, - "enableRule": { - "type": "string", - "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." - }, - "exec": { - "type": "string", - "description": "The path of the executable.", - "default": "msdeploy.exe" - }, - "postSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination after a synchronization completes." - }, - "preSync": { - "type": "string", - "description": "Runs the specified command or batch file on the destination before a synchronization starts." - }, - "removeParam": { - "type": "string", - "description": "Removes a parameter definition from the list of declared parameters." - }, - "replace": { - "type": "string", - "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." - }, - "retryAttempts": { - "type": "number", - "description": "Specifies the number of times the provider will retry after a failure.", - "minimum": 0 - }, - "retryInterval": { - "type": "number", - "description": "Specifies, in milliseconds, the interval between provider retry attempts.", - "minimum": 0 - }, - "runInTerminal": { - "type": "boolean", - "description": "Run in integrated terminal or not.", - "default": false - }, - "setParam": { - "type": "string", - "description": "Specifies values during a sync operation for the parameters that you specify." - }, - "setParamFile": { - "type": "string", - "description": "Applies parameter settings from an XML 'answer' file during a sync operation." - }, - "showSecure": { - "type": "boolean", - "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", - "default": false - }, - "skip": { - "type": "string", - "description": "Specifies an action or object to be excluded during a synchronization operation." - }, - "source": { - "type": "string", - "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." - }, - "unicode": { - "type": "boolean", - "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", - "default": false - }, - "useCheckSum": { - "type": "boolean", - "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", - "default": false - }, - "verb": { - "type": "string", - "description": "Specifies the action that the operation will perform." - }, - "verbose": { - "type": "boolean", - "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", - "default": false - }, - "wait": { - "type": "boolean", - "description": "Wait until execution has been finished or not.", - "default": true - }, - "webServerDir": { - "type": "string", - "description": "Specifies the path of the program files for the current instance of IIS Express." - }, - "whatif": { - "type": "boolean", - "description": "Specifies that the command will be run without actually making any changes.", - "default": false - }, - "xml": { - "type": "boolean", - "description": "Specifies that the output should be returned in XML format.", - "default": false - }, - "xpath": { - "type": "string", - "description": "Specifies an XPath expression to apply to XML output." - }, - "noPlaceholdersForTheseVars": { - "description": "A list of environment variables that should NOT use placeholders.", - "oneOf": [ - { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - }, - { - "type": "array", - "description": "The list of environment variables that should NOT use placeholders / values.", - "items": { - "description": "The name of the environment variable that should NOT use placeholders / values.", - "type": "string" - } - }, - { - "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", - "type": "boolean" - } - ] - }, - "envVars": { - "description": "An object that defines environment variables for the new process by properties.", - "type": "object", - "patternProperties": { - ".*": { - "description": "The variable to define." - } - } - }, - "useEnvVarsOfWorkspace": { - "description": "Also use environment variables of the process of current workspace or not.", - "type": "boolean", - "default": false - } - } - } - ] - }, - "description": "One or more operations to be run before deploy action." - } - } - } - ] - } - }, - "templates": { - "description": "Defines one or more source for templates.", - "type": "object", - "properties": { - "allowUnparsedDocuments": { - "description": "Allow unparsed (HTML) documents in internal web browser or not.", - "type": "boolean", - "default": false - }, - "footer": { - "description": "Path or URL to a HTML footer that should be inserted at the beginning inside the BODY tag of each (default) HTML document.", - "type": "string" - }, - "header": { - "description": "Path or URL to a HTML header that should be inserted at the beginning inside the BODY tag of each (default) HTML document.", - "type": "string" - }, - "showDefaults": { - "description": "Show default sources or not.", - "type": "boolean", - "default": true - }, - "sources": { - "description": "One or more source.", - "type": "array", - "items": { - "oneOf": [ - { - "description": "The source path. This can be a local or web path.", - "type": "string" - }, - { - "description": "Information about the source.", - "type": "object", - "properties": { - "source": { - "description": "The source path. This can be a local or web path.", - "type": "string" - } - }, - "required": [ - "source" - ] - } - ] - } - } - } - }, - "useGitIgnoreStylePatterns": { - "type": "boolean", - "description": "Also check directory patterns, like in '.gitignore' files, in all packages by default or not.", - "default": true - }, - "useTargetListForDeployOnSave": { - "type": "boolean", - "description": "Use 'targets' property of a package instead, if its 'deployOnSave' property is set to (true).", - "default": false - }, - "values": { - "description": "A list of one or more values that can be used in placeholders, e.g.", - "type": "array", - "items": { - "oneOf": [ - { - "description": "A static value.", - "type": "object", - "properties": { - "name": { - "description": "The name of the value.", - "type": "string" - }, - "type": { - "description": "The type of the value.", - "type": "string", - "enum": [ - "", - "static" - ] - }, - "description": { - "description": "An optional description for the value.", - "type": "string" - }, - "value": { - "description": "The value." - } - }, - "required": [ - "name" - ] - }, - { - "description": "A value that is generated by code.", - "type": "object", - "properties": { - "name": { - "description": "The name of the value.", - "type": "string" - }, - "type": { - "description": "The type of the value.", - "type": "string", - "enum": [ - "code" - ] - }, - "description": { - "description": "An optional description for the value.", - "type": "string" - }, - "code": { - "description": "The (JavaScript) code to execute." - } - }, - "required": [ - "name", - "type", - "code" - ] - }, - { - "description": "A value that accesses an environment variable.", - "type": "object", - "properties": { - "name": { - "description": "The name of the environment value.", - "type": "string" - }, - "type": { - "description": "The type of the value.", - "type": "string", - "enum": [ - "env", - "environment" - ] - }, - "description": { - "description": "An optional description for the value.", - "type": "string" - }, - "alias": { - "description": "The alias to use.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - { - "description": "A value from a file.", - "type": "object", - "properties": { - "name": { - "description": "The name of the value.", - "type": "string" - }, - "type": { - "description": "The type of the value.", - "type": "string", - "enum": [ - "file" - ] - }, - "description": { - "description": "An optional description for the value.", - "type": "string" - }, - "asBinary": { - "description": "Returns as binary / buffer or not.", - "type": "boolean", - "default": false - }, - "encoding": { - "description": "The text encoding to use.", - "type": "string", - "default": "utf8" - }, - "file": { - "description": "The path to the file.", - "type": "string" - }, - "usePlaceholders": { - "description": "Also use placeholders for the (string) content or not.", - "type": "boolean", - "default": false - } - }, - "required": [ - "name", - "type", - "file" - ] - }, - { - "description": "A value from a script.", - "type": "object", - "properties": { - "name": { - "description": "The name of the value.", - "type": "string" - }, - "type": { - "description": "The type of the value.", - "type": "string", - "enum": [ - "script" - ] - }, - "description": { - "description": "An optional description for the value.", - "type": "string" - }, - "script": { - "description": "The path to the script.", - "type": "string", - "default": "./my-value.js" - }, - "options": { - "description": "Data for the underlying script." - } - }, - "required": [ - "name", - "type", - "script" - ] - } - ] - } - } - } - } - } - } - }, - "scripts": { - "vscode:prepublish": "tsc -p ./", - "compile": "tsc -watch -p ./", - "postinstall": "node ./node_modules/vscode/bin/install" - }, - "devDependencies": { - "@types/file-type": "0.0.2", - "@types/fs-extra": "^2.1.0", - "@types/ftp": "^0.3.29", - "@types/glob": "^5.0.30", - "@types/html-entities": "^1.2.15", - "@types/html-minifier": "^1.1.30", - "@types/i18next": "^2.3.38", - "@types/marked": "0.0.28", - "@types/mime": "0.0.29", - "@types/minimatch": "^2.0.29", - "@types/mocha": "^2.2.32", - "@types/node": "^6.0.40", - "@types/ssh2-sftp-client": "^1.0.5", - "@types/tmp": "0.0.32", - "@types/uuid": "^2.0.29", - "mocha": "^2.3.3", - "typescript": "^2.0.3", - "vscode": "^1.0.0" - }, - "icon": "icon.png", - "author": { - "name": "Marcel Joachim Kloubert" - }, - "repository": { - "type": "git", - "url": "https://github.com/mkloubert/vs-deploy" - }, - "bugs": { - "url": "https://github.com/mkloubert/vs-deploy/issues" - }, - "readmeFilename": "README.md", - "dependencies": { - "aws-sdk": "^2.49.0", - "azure-storage": "^1.4.0", - "coffeescript": "^1.12.6", - "compare-versions": "^3.0.1", - "file-type": "^4.3.0", - "fs-extra": "^1.0.0", - "ftp": "^0.3.10", - "glob": "^7.1.1", - "html-entities": "^1.2.1", - "html-minifier": "^3.4.4", - "i18next": "^4.2.0", - "isbinaryfile": "^3.0.2", - "jsftp": "^1.5.5", - "less": "^2.7.2", - "marked": "^0.3.6", - "merge-deep": "^3.0.0", - "mime": "^1.3.5", - "minimatch": "^3.0.4", - "moment": "^2.18.1", - "mssql": "^3.3.0", - "mysql": "^2.13.0", - "node-workflows": "^1.3.1", - "node-zip": "^1.1.1", - "nodemailer": "^2.7.2", - "parse-listing": "^1.1.3", - "pug": "^2.0.0-rc.1", - "ssh2-sftp-client": "^1.0.5", - "tmp": "0.0.31", - "typescript": "^2.3.2", - "uglify-js": "^2.8.23", - "uuid": "^3.0.1" - } +{ + "name": "vs-deploy", + "displayName": "Deploy", + "description": "Commands for deploying files of your workspace to a destination.", + "version": "9.13.0", + "publisher": "mkloubert", + "engines": { + "vscode": "^1.6.0" + }, + "license": "MIT", + "categories": [ + "Other" + ], + "keywords": [ + "Deploy", + "Workspace", + "Files", + "SFTP", + "Cloud" + ], + "activationEvents": [ + "*" + ], + "main": "./out/src/extension", + "contributes": { + "menus": { + "editor/title": [ + { + "command": "extension.deploy.compareFiles", + "group": "deploy" + }, + { + "command": "extension.deploy.file", + "group": "deploy" + }, + { + "command": "extension.deploy.pullFile", + "group": "deploy" + } + ], + "editor/context": [ + { + "command": "extension.deploy.compareFiles", + "group": "deploy" + }, + { + "command": "extension.deploy.file", + "group": "deploy" + }, + { + "command": "extension.deploy.pullFile", + "group": "deploy" + } + ], + "explorer/context": [ + { + "command": "extension.deploy.compareFiles", + "group": "deploy" + }, + { + "command": "extension.deploy.file", + "group": "deploy" + }, + { + "command": "extension.deploy.pullFile", + "group": "deploy" + } + ] + }, + "commands": [ + { + "command": "extension.deploy", + "title": "Deploy workspace", + "category": "Deploy" + }, + { + "command": "extension.deploy.compareFiles", + "title": "Compare files", + "category": "Deploy" + }, + { + "command": "extension.deploy.file", + "title": "Deploy current file / folder", + "category": "Deploy" + }, + { + "command": "extension.deploy.listen", + "title": "Start/stop listening for remote files", + "category": "Deploy" + }, + { + "command": "extension.deploy.openTemplate", + "title": "Open example / template", + "category": "Deploy" + }, + { + "command": "extension.deploy.pullFile", + "title": "Pull current file / folder", + "category": "Deploy" + }, + { + "command": "extension.deploy.pullWorkspace", + "title": "Pull workspace", + "category": "Deploy" + } + ], + "keybindings": [ + { + "command": "extension.deploy", + "key": "ctrl+alt+w", + "mac": "cmd+alt+w" + }, + { + "command": "extension.deploy.compareFiles", + "key": "ctrl+alt+p c", + "mac": "cmd+alt+p c" + }, + { + "command": "extension.deploy.file", + "key": "ctrl+alt+f", + "mac": "cmd+alt+f" + }, + { + "command": "extension.deploy.listen", + "key": "ctrl+alt+l", + "mac": "cmd+alt+l" + }, + { + "command": "extension.deploy.pullFile", + "key": "ctrl+alt+p f", + "mac": "cmd+alt+p f" + }, + { + "command": "extension.deploy.pullWorkspace", + "key": "ctrl+alt+p w", + "mac": "cmd+alt+p w" + } + ], + "configuration": { + "properties": { + "deploy": { + "type": "object", + "properties": { + "alwaysShowPackageList": { + "type": "boolean", + "description": "Indicates if package list is shown, even if there is only one entry.", + "default": false + }, + "alwaysShowTargetList": { + "type": "boolean", + "description": "Indicates if target list is shown, even if there is only one entry.", + "default": false + }, + "button": { + "type": "object", + "description": "Settings for the 'quick deploy button' in the status bar.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Inidciates if button should be enabled / visible or not.", + "default": false + }, + "packages": { + "description": "A list of one or more packages to deploy.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "text": { + "type": "string", + "description": "A custom text for the button.", + "default": "Quick deploy!" + } + } + }, + "clearOutputOnStartup": { + "type": "boolean", + "description": "Clear output on startup or not.", + "default": false + }, + "commands": { + "description": "A list of one or more script based commands to register.", + "oneOf": [ + { + "type": "object", + "description": "The command to register.", + "properties": { + "button": { + "type": "object", + "description": "Settings for optional button in the status bar.", + "properties": { + "color": { + "type": "string", + "description": "The custom (text) color for the button.", + "default": "#ffffff" + }, + "isRight": { + "type": "boolean", + "description": "Set button on the right side or not.", + "default": false + }, + "priority": { + "type": "number", + "description": "The custom priority.", + "default": 0 + }, + "show": { + "type": "boolean", + "description": "Show button on startup or not.", + "default": true + }, + "text": { + "type": "string", + "description": "The caption for the button." + }, + "tooltip": { + "type": "string", + "description": "The tooltip for the button." + } + } + }, + "command": { + "type": "string", + "description": "The ID of the command." + }, + "options": { + "description": "Optional data for the execution." + }, + "script": { + "type": "string", + "description": "The path to the script that is run when command is executed.", + "default": "./my-command.js" + }, + "commandState": { + "description": "The initial value for 'commandState' property.", + "default": {} + } + }, + "required": [ + "command", + "script" + ] + }, + { + "type": "array", + "description": "The list of commands to register.", + "items": { + "type": "object", + "description": "The command to register.", + "properties": { + "button": { + "type": "object", + "properties": { + "color": { + "type": "string", + "description": "The custom (text) color for the button.", + "default": "#ffffff" + }, + "isRight": { + "type": "boolean", + "description": "Set button on the right side or not.", + "default": false + }, + "priority": { + "type": "number", + "description": "The custom priority.", + "default": 0 + }, + "show": { + "type": "boolean", + "description": "Show button on startup or not.", + "default": true + }, + "text": { + "type": "string", + "description": "The caption for the button." + }, + "tooltip": { + "type": "string", + "description": "The tooltip for the button." + } + } + }, + "command": { + "type": "string", + "description": "The ID of the command." + }, + "options": { + "description": "Optional data for the execution." + }, + "script": { + "type": "string", + "description": "The path to the script that is run when command is executed.", + "default": "./my-command.js" + } + } + } + } + ] + }, + "deployOnChange": { + "type": "boolean", + "description": "Activate or deactivate 'deploy on change' for all packages.", + "default": true + }, + "deployOnSave": { + "type": "boolean", + "description": "Activate or deactivate 'deploy on save' for all packages.", + "default": true + }, + "disableNewVersionPopups": { + "type": "boolean", + "description": "Clear output on startup or not.", + "default": false + }, + "displayLoadedPlugins": { + "type": "boolean", + "description": "Display loaded plugins in output window or not.", + "default": true + }, + "displayNetworkInfo": { + "type": "boolean", + "description": "Display network information in output window or not.", + "default": true + }, + "env": { + "description": "Settings for the environment of the current process.", + "type": "object", + "properties": { + "importVarsAsPlaceholders": { + "description": "Automatically import environment variables as placesholders / values or not.", + "type": "boolean", + "default": false + }, + "noPlaceholdersForTheseVars": { + "description": "A list of variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL variables or not.", + "type": "boolean" + } + ] + }, + "vars": { + "description": "One or more variable for the process to define.", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + } + } + }, + "events": { + "description": "One or more global events.", + "type": "array", + "items": { + "description": "An event entry.", + "type": "object", + "properties": { + "description": { + "description": "A description for that event.", + "type": "string" + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if entry is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that entry is available for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "name": { + "description": "The name of the event.", + "type": "string" + }, + "once": { + "description": "Execute once or not.", + "type": "boolean", + "default": false + }, + "options": { + "description": "Options / data for the execution." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the entry is for." + }, + { + "type": "array", + "description": "One or more platform names the entry is for.", + "items": { + "type": "string", + "description": "The name of platform the entry is for." + } + } + ] + }, + "script": { + "description": "The path to the underlying script.", + "type": "string", + "default": "./my-event.js" + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "state": { + "description": "The initial value for the state." + } + }, + "required": [ + "name", + "script" + ] + } + }, + "fastCheckForIgnores": { + "type": "boolean", + "description": "Indicates if a 'fast' file check should be used for the list of ignored files.", + "default": true + }, + "fastCheckOnChange": { + "type": "boolean", + "description": "Indicates if a 'fast' file check should be used for 'deploy on change' for packages by default or not.", + "default": false + }, + "fastCheckOnSave": { + "type": "boolean", + "description": "Indicates if a 'fast' file check should be used for 'deploy on save' for packages by default or not.", + "default": false + }, + "globals": { + "type": "object", + "description": "A list of variables that can be accessed globally (from scripts, e.g.)." + }, + "hideDeployResultInStatusBarAfter": { + "type": "number", + "description": "The time in seconds the result item in the status bar should disapear." + }, + "host": { + "type": "object", + "description": "Options for 'host mode'.", + "properties": { + "autoStart": { + "type": "boolean", + "description": "Run on startup or not.", + "default": false + }, + "dir": { + "type": "string", + "description": "The directory where incoming files should be stored.", + "default": "./" + }, + "maxMessageSize": { + "type": "integer", + "description": "Maximum size of one remote file message.", + "default": 16777215, + "minimum": 1 + }, + "messageTransformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of a whole message AFTER it has been received.", + "default": "./my-remote-transformer.js" + }, + "messageTransformerOptions": { + "description": "The data for the 'message data transformation', if needed." + }, + "password": { + "type": "string", + "description": "An optional password to use." + }, + "passwordAlgorithm": { + "type": "string", + "description": "The algorithm for the password to use.", + "default": "aes-256-ctr" + }, + "port": { + "type": "integer", + "description": "The TCP port the host should be listen on.", + "default": 23979, + "minimum": 0, + "maximum": 65535 + }, + "showPopupOnSuccess": { + "type": "boolean", + "description": "Show popup if host has been started or stopped successfully.", + "default": true + }, + "transformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of a file AFTER it has been received.", + "default": "./my-remote-transformer.js" + }, + "transformerOptions": { + "description": "The data for the 'file data transformation', if needed." + }, + "validator": { + "type": "string", + "description": "The optional path to the script that validates received files.", + "default": "./my-remote-file-validator.js" + }, + "validatorOptions": { + "description": "The data for the 'validator', if needed." + } + } + }, + "ignore": { + "oneOf": [ + { + "description": "The pattern of files that should be ignored even if a deploy is started for them.", + "type": "string" + }, + { + "description": "One or more pattern of files that should be ignored even if a deploy is started for them.", + "type": "array", + "items": { + "description": "The pattern of files that should be ignored even if a deploy is started for them.", + "type": "string" + } + } + ] + }, + "imports": { + "description": "One or more settings to import.", + "oneOf": [ + { + "description": "The path to the import file.", + "type": "string" + }, + { + "description": "One or more import entries.", + "type": "array", + "items": { + "oneOf": [ + { + "description": "The path to the import file.", + "type": "string" + }, + { + "description": "The import file / entry.", + "type": "object", + "properties": { + "description": { + "description": "An optional description for the entry.", + "type": "string" + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if entry is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that entry is available for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "merge": { + "type": "boolean", + "description": "Merge with parent settings or not.", + "default": true + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the entry is for." + }, + { + "type": "array", + "description": "One or more platform names the entry is for.", + "items": { + "type": "string", + "description": "The name of platform the entry is for." + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + } + } + } + ] + } + } + ] + }, + "language": { + "type": "string", + "description": "The ID of the (display) language to use.", + "default": "en" + }, + "name": { + "type": "string", + "description": "A custom machine name." + }, + "open": { + "description": "A list of files to open on startup.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "closeOthers": { + "type": "boolean", + "description": "Close other opened files or not.", + "default": false + }, + "exclude": { + "description": "A list of one or more glob patterns of files that should be execluded from opening.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "files": { + "description": "A list of one or more glob patterns of files that should be opened.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if file(s) should be opened or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that filter is for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "useGitIgnoreStylePatterns": { + "type": "boolean", + "description": "Also check directory patterns, like in '.gitignore' files, or not.", + "default": true + } + } + } + } + ] + }, + "openOutputOnDeploy": { + "type": "boolean", + "description": "Open the output window before deploying starts or not.", + "default": true + }, + "openOutputOnStartup": { + "type": "boolean", + "description": "Open the output window on after settings have been (re)loaded or not.", + "default": false + }, + "packages": { + "type": "array", + "description": "One or more packages that describe what files of the workspace should be deployed.", + "items": { + "type": "object", + "properties": { + "button": { + "description": "Defines a button that should be shown in the status bar for that package.", + "oneOf": [ + { + "description": "Enable a button or not.", + "type": "boolean" + }, + { + "description": "The button that should be shown in the status bar.", + "type": "object", + "properties": { + "command": { + "description": "The custom ID for the underlying command.", + "type": "string" + }, + "enabled": { + "description": "Enable button or not.", + "type": "boolean", + "default": true + }, + "isRight": { + "description": "Put button on the right side or not.", + "type": "boolean", + "default": false + }, + "priority": { + "description": "The priority.", + "type": "number" + }, + "targets": { + "description": "The targets to deploy to.", + "oneOf": [ + { + "description": "The name of the target to deploy to.", + "type": "string" + }, + { + "description": "The names of the targets to deploy to.", + "type": "array", + "items": { + "description": "The name of the target to deploy to.", + "type": "string" + } + } + ] + }, + "text": { + "description": "A custom text for the button.", + "type": "string" + }, + "tooltip": { + "description": "A custom tooltip for the button.", + "type": "string" + } + } + } + ] + }, + "deployOnChange": { + "description": "One or more files to deploy if they change. (true) indicates to deploy to the targets of 'deployOnSave'.", + "default": false, + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "exclude": { + "description": "A list of one or more glob patterns of files that should be execluded from deployment.", + "type": "array", + "items": { + "type": "string" + } + }, + "files": { + "description": "A list of one or more glob patterns of files that should be deployed. By default ALL files will be deployed.", + "type": "array", + "items": { + "type": "string" + } + }, + "useTargetList": { + "type": "boolean", + "description": "Use 'targets' property of this package instead, otherwise use the settings 'deployOnSave'.", + "default": false + }, + "useGitIgnoreStylePatterns": { + "type": "boolean", + "description": "Also check directory patterns, like in '.gitignore' files, or not.", + "default": true + } + } + } + ] + }, + "deployOnSave": { + "description": "One or more name of targets to deploy to. (true) indicates to deploy to ALL targets.", + "default": false, + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "description": { + "type": "string", + "description": "A description for the package." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "exclude": { + "description": "A list of one or more glob patterns of files that should be execluded from deployment.", + "type": "array", + "items": { + "type": "string" + } + }, + "files": { + "description": "A list of one or more glob patterns of files that should be deployed. By default ALL files will be deployed.", + "type": "array", + "items": { + "type": "string" + } + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if package is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "name": { + "type": "string", + "description": "The name of the package." + }, + "noNodeModules": { + "type": "boolean", + "description": "Exclude 'node_modules' directory by default or not.", + "default": false + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the package is for." + }, + { + "type": "array", + "description": "One or more platform names the package is for.", + "items": { + "type": "string", + "description": "The name of platform the package is for." + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "isFor": { + "description": "A list of one or more (host)names that package is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide package in GUI or not.", + "default": false + }, + "targets": { + "description": "One or more explicit targets to deploy to.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "useTargetListForDeployOnSave": { + "type": "boolean", + "description": "Use 'targets' property of this package instead, if its 'deployOnSave' property is set to (true).", + "default": false + }, + "fastCheckOnChange": { + "type": "boolean", + "description": "Indicates if a 'fast' file check should be used for 'deploy on change' for this packages or not.", + "default": false + }, + "fastCheckOnSave": { + "type": "boolean", + "description": "Indicates if a 'fast' file check should be used for 'deploy on save' for this package or not.", + "default": false + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that package.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "useGitIgnoreStylePatterns": { + "type": "boolean", + "description": "Also check directory patterns, like in '.gitignore' files, in that package or not.", + "default": true + }, + "showForDeploy": { + "type": "boolean", + "description": "Show this package for deploying in GUI or not.", + "default": true + }, + "showForPull": { + "type": "boolean", + "description": "Show this package for pulling in GUI or not.", + "default": true + }, + "inheritFrom": { + "description": "One or more package name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The package name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A package name from where to inherit settings from." + } + } + ] + } + } + } + }, + "runBuildTaskOnStartup": { + "description": "Indicates if build task should be run on startup or not.", + "oneOf": [ + { + "type": "boolean", + "description": "Indicates if build task should be run on startup or not.", + "default": false + }, + { + "type": "integer", + "description": "Defines the number of milliseconds to wait before the build task is run.", + "minimum": 0 + } + ] + }, + "runGitPullOnStartup": { + "description": "Indicates if Git pull should be run on startup or not.", + "oneOf": [ + { + "type": "boolean", + "description": "Indicates if Git pull should be run on startup or not.", + "default": false + }, + { + "type": "integer", + "description": "Defines the number of milliseconds to wait before the Git sync is run.", + "minimum": 0 + } + ] + }, + "showDeployResultInStatusBar": { + "type": "boolean", + "description": "Show an item in the status bar after deployment or not.", + "default": false + }, + "showPopupOnSuccess": { + "type": "boolean", + "description": "Indicates if an info popup / notification should be displayed after a successful deployment or not.", + "default": true + }, + "showWarningIfIgnored": { + "type": "boolean", + "description": "Show a warning message if a (single) file has been ignored.", + "default": true + }, + "showWarningsForNonExistingTargets": { + "type": "boolean", + "description": "Indicates if a warning popup / notification should be displayed if targets do not exist.", + "default": false + }, + "startApi": { + "type": "boolean", + "description": "Starts the REST API or not (s. https://github.com/mkloubert/vs-rest-api).", + "default": false + }, + "startCronJobs": { + "type": "boolean", + "description": "Starts the cron jobs or not (s. https://github.com/mkloubert/vs-cron).", + "default": false + }, + "startupCommands": { + "description": "A list of one or more Visual Studio Commands that should be run on startup.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "arguments": { + "type": "array", + "description": "Arguments for the execution." + }, + "command": { + "type": "string", + "description": "The ID of the command." + } + }, + "required": [ + "command" + ] + }, + { + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "arguments": { + "type": "array", + "description": "Arguments for the execution." + }, + "command": { + "type": "string", + "description": "The ID of the command." + } + }, + "required": [ + "command" + ] + } + ] + } + } + ] + }, + "targets": { + "type": "array", + "description": "One or more targets that describe where files can be deployed to.", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "api" + ], + "type": "string", + "description": "Deploys to a REST API that is compatible to 'vs-rest-api'." + }, + "host": { + "type": "string", + "description": "The host to deploy to.", + "default": "127.0.0.1" + }, + "isSecure": { + "type": "boolean", + "description": "Use secure HTTP or not.", + "default": false + }, + "port": { + "type": "number", + "description": "The TCP of the API host.", + "default": 1781, + "minimum": 0, + "maximum": 65535 + }, + "user": { + "type": "string", + "description": "The username for basic authentication." + }, + "password": { + "type": "string", + "description": "The password for basic authentication." + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send / after it has been downloaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "app" + ], + "type": "string", + "description": "Deploys to an app, like a script or executable, on the local machine." + }, + "app": { + "type": "string", + "description": "The path to the app.", + "default": "/the/path/to/my/app.sh" + }, + "arguments": { + "description": "One or more argument for the execution.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "submitFileList": { + "type": "boolean", + "description": "Indicates if file list should be submitted to the app as arguments or not.", + "default": true + }, + "wait": { + "type": "boolean", + "description": "Wait for app has been executed or not.", + "default": false + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "azureblob" + ], + "type": "string", + "description": "Deploys to a container of an Azure blob storage." + }, + "accessKey": { + "type": "string", + "description": "The access key." + }, + "account": { + "type": "string", + "description": "The name of the storage account." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "container": { + "type": "string", + "description": "The name of the container inside the storage." + }, + "contentType": { + "type": "string", + "description": "Defines the content type for files explicit." + }, + "detectMime": { + "type": "boolean", + "description": "Detect the MIME type for a file automatically or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The target directory.", + "default": "/" + }, + "host": { + "type": "string", + "description": "The optional host address." + }, + "publicAccessLevel": { + "type": "string", + "description": "The publib access level of the container.", + "default": "blob" + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send / after it has been downloaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "batch" + ], + "type": "string", + "description": "Deploys to one or more other target." + }, + "targets": { + "description": "One or more names of other targets to deploy to.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "dropbox" + ], + "type": "string", + "description": "Deploys to a DropBox folder." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The target directory.", + "default": "" + }, + "empty": { + "type": "boolean", + "description": "Empty target directory BEFORE upload file or not.", + "default": false + }, + "token": { + "type": "string", + "description": "The access token." + }, + "transformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of a file BEFORE it is send.", + "default": "./my-dropbox-transformer.js" + }, + "transformerOptions": { + "description": "The data for the 'file data transformation', if needed." + }, + "password": { + "type": "string", + "description": "An optional password for encrypting/decrypting the file(s)." + }, + "passwordAlgorithm": { + "type": "string", + "description": "The algorithm for the password to use.", + "default": "aes-256-ctr" + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "each" + ], + "type": "string", + "description": "A loop that writes a list of values to the properties of existing targets." + }, + "from": { + "oneOf": [ + { + "description": "The path or URL to the JSON file that contains the array with data.", + "type": "string" + }, + { + "description": "The list of values.", + "type": "array" + } + ] + }, + "to": { + "oneOf": [ + { + "description": "The property to write the value(s) to.", + "type": "string" + }, + { + "description": "The list of properties to write the value(s) to.", + "type": "array", + "items": { + "description": "The property to write the value(s) to.", + "type": "string" + } + } + ] + }, + "targets": { + "oneOf": [ + { + "description": "The target name to deploy to / pull from.", + "type": "string" + }, + { + "description": "One or more target name to deploy to / pull from.", + "type": "array", + "items": { + "description": "The target name to deploy to / pull from.", + "type": "string" + } + } + ] + }, + "usePlaceholders": { + "type": "boolean", + "description": "Process placeholders in input values or not.", + "default": false + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + }, + "required": [ + "from", + "to", + "targets" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "ftp" + ], + "type": "string", + "description": "Deploys to a FTP server." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The remote directory on the server.", + "default": "/" + }, + "host": { + "type": "string", + "description": "The host address of the server.", + "default": "127.0.0.1" + }, + "password": { + "type": "string", + "description": "The password to use." + }, + "port": { + "type": "integer", + "description": "The TCP port of the server.", + "default": 21, + "maximum": 65535, + "minimum": 0 + }, + "secure": { + "type": "boolean", + "description": "Use secure connection or not.", + "default": false + }, + "user": { + "type": "string", + "description": "The username for the authentication.", + "default": "anonymous" + }, + "connTimeout": { + "type": "integer", + "description": "How long (in milliseconds) to wait for the control connection to be established.", + "default": 10000, + "minimum": 0 + }, + "pasvTimeout": { + "type": "integer", + "description": "How long (in milliseconds) to wait for a PASV data connection to be established.", + "default": 10000, + "minimum": 0 + }, + "keepalive": { + "type": "integer", + "description": "How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive.", + "default": 10000, + "minimum": 0 + }, + "engine": { + "type": "string", + "description": "The engine to use.", + "default": "ftp", + "enum": [ + "", + "ftp", + "jsftp" + ] + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send / after it has been downloaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "beforeUpload": { + "description": "One or more command that should be executed on the server BEFORE a file is uploaded.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "uploaded": { + "description": "One or more command that should be executed on the server AFTER a file has been uploaded.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "connected": { + "description": "One or more command that should be executed on the server AFTER a connection has been established.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "closing": { + "description": "One or more command that should be executed on the server BEFORE a connection will be closed.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Deploys to a HTTP server/service." + }, + "headers": { + "type": "object", + "description": "The optional list of additional request headers to send.", + "default": { + "X-My-Request-Header": "The value for the header." + } + }, + "method": { + "type": "string", + "description": "The HTTP method to use.", + "default": "PUT" + }, + "password": { + "type": "string", + "description": "The optional password for basic authentication to use." + }, + "submitContentType": { + "type": "boolean", + "description": "Submit the 'Content-type' request header or not.", + "default": true + }, + "submitDate": { + "type": "boolean", + "description": "Submit the 'Date' request header or not.", + "default": true + }, + "submitFileHeader": { + "type": "boolean", + "description": "Submit the 'X-vsdeploy-file' request header that contains the path of the file that is submitted.", + "default": false + }, + "transformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of the file BEFORE it is send.", + "default": "./my-http-transformer.js" + }, + "transformerOptions": { + "description": "The data for the 'data transformation', if needed." + }, + "url": { + "type": "string", + "description": "The request URL.", + "format": "uri", + "default": "http://localhost/webdav/?file=${VSDeploy-File}" + }, + "user": { + "type": "string", + "description": "The optional username for basic authentication." + }, + "encodeUrlValues": { + "type": "boolean", + "description": "Encode URL values with 'encodeURIComponent' or not.", + "default": true + }, + "submitFile": { + "type": "boolean", + "description": "Submit the content of a file or not.", + "default": true + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "local" + ], + "type": "string", + "description": "Deploys to a local folder or a shared folder (like SMB) inside your LAN." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The target directory.", + "default": "./out" + }, + "empty": { + "type": "boolean", + "description": "Empty target directory BEFORE deploy or not.", + "default": false + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is saved / after it has been loaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "list" + ], + "type": "string", + "description": "Lets the user select an entry with settings for one or more targets." + }, + "placeholder": { + "description": "The placeholder for the GUI.", + "type": "string" + }, + "entries": { + "oneOf": [ + { + "description": "The entry.", + "type": "object", + "properties": { + "description": { + "description": "A description for the GUI.", + "type": "string" + }, + "detail": { + "description": "Details for the GUI.", + "type": "string" + }, + "name": { + "description": "The (display) name for the GUI.", + "type": "string" + }, + "settings": { + "type": "object", + "description": "Settings for the target(s).", + "patternProperties": { + ".*": { + "description": "The setting for the target(s)." + } + } + } + } + }, + { + "description": "One or more entry.", + "type": "array", + "items": { + "description": "The entry.", + "type": "object", + "properties": { + "description": { + "description": "A description for the GUI.", + "type": "string" + }, + "detail": { + "description": "Details for the GUI.", + "type": "string" + }, + "name": { + "description": "The (display) name for the GUI.", + "type": "string" + }, + "settings": { + "type": "object", + "description": "Settings for the target(s).", + "patternProperties": { + ".*": { + "description": "The setting for the target(s)." + } + } + } + } + } + } + ] + }, + "targets": { + "oneOf": [ + { + "description": "The target name to deploy to / pull from.", + "type": "string" + }, + { + "description": "One or more target name to deploy to / pull from.", + "type": "array", + "items": { + "description": "The target name to deploy to / pull from.", + "type": "string" + } + } + ] + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "mail" + ], + "type": "string", + "description": "Deploys to a ZIP file and sends it as attachment by mail via SMTP." + }, + "from": { + "type": "string", + "description": "The optional email address of the sender." + }, + "host": { + "type": "string", + "description": "The host address of the SMTP server.", + "default": "127.0.0.1" + }, + "ignoreTLS": { + "type": "boolean", + "description": "Ignore TLS or not.", + "default": false + }, + "password": { + "type": "string", + "description": "The password to use." + }, + "port": { + "type": "integer", + "description": "The TCP port of the SMTP server.", + "minimum": 0, + "maximum": 65535, + "default": 465 + }, + "rejectUnauthorized": { + "type": "boolean", + "description": "Specify whether a connection should be automatically rejected on invalid server certificates.", + "default": true + }, + "requireTLS": { + "type": "boolean", + "description": "Server requires TLS or not.", + "default": false + }, + "secure": { + "type": "boolean", + "description": "Use secure connection or not.", + "default": true + }, + "to": { + "type": "string", + "description": "The optional initial list of target email addresses." + }, + "user": { + "type": "string", + "description": "The username." + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "map" + ], + "type": "string", + "description": "Iterates over a list of objects that contain properties (and their values) and deploys for each of them." + }, + "from": { + "description": "The objects (and/or sources -as path or URL- to them) that contain the properties and their values for the 'real' targets." + }, + "targets": { + "oneOf": [ + { + "description": "The target name to deploy to / pull from.", + "type": "string" + }, + { + "description": "One or more target name to deploy to / pull from.", + "type": "array", + "items": { + "description": "The target name to deploy to / pull from.", + "type": "string" + } + } + ] + }, + "usePlaceholders": { + "type": "boolean", + "description": "Process placeholders in input values or not.", + "default": false + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + }, + "required": [ + "from", + "targets" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "pipeline" + ], + "type": "string", + "description": "Pipes a list of sources files to a new destination, by using a script and sends the new file list to a target." + }, + "options": { + "description": "Optional value or object for the execution." + }, + "script": { + "type": "string", + "description": "The script file to exeute.", + "default": "./pipeline.js" + }, + "target": { + "type": "string", + "description": "The target to deploy to." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + }, + "required": [ + "script" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "remote" + ], + "type": "string", + "description": "Deploys to a remote machine over a TCP connection like another VS Code instance." + }, + "hosts": { + "description": "One or more host to deploy to.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "messageTransformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of a whole message BEFORE it is send.", + "default": "./my-remote-transformer.js" + }, + "messageTransformerOptions": { + "description": "The data for the 'message data transformation', if needed." + }, + "tag": { + "description": "An optional value that also should be submitted with each JSON file message." + }, + "transformer": { + "type": "string", + "description": "The optional path to the script that transforms the data of a file BEFORE it is send.", + "default": "./my-remote-transformer.js" + }, + "transformerOptions": { + "description": "The data for the 'data transformation', if needed." + }, + "password": { + "type": "string", + "description": "An optional password to use." + }, + "passwordAlgorithm": { + "type": "string", + "description": "The algorithm for the password to use.", + "default": "aes-256-ctr" + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "s3bucket" + ], + "type": "string", + "description": "Deploys to an Amazon AWS S3 bucket." + }, + "bucket": { + "type": "string", + "description": "The name of the target bucket." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "contentType": { + "type": "string", + "description": "Defines the content type for files explicit." + }, + "credentials": { + "type": "object", + "description": "The credentials to use.", + "properties": { + "config": { + "description": "The configuration data for the credential provider.", + "type": "object" + }, + "type": { + "description": "The credential provider to use.", + "oneOf": [ + { + "type": "string", + "description": "Represents credentials loaded from shared credentials file.", + "enum": [ + "" + ] + }, + { + "type": "string", + "description": "Represents credentials retrieved from STS Web Identity Federation using the Amazon Cognito Identity service.", + "enum": [ + "cognito" + ] + }, + { + "type": "string", + "description": "Represents credentials received from relative URI specified in the ECS container.", + "enum": [ + "ec2" + ] + }, + { + "type": "string", + "description": "Represents credentials received from the metadata service on an EC2 instance.", + "enum": [ + "ec2meta" + ] + }, + { + "type": "string", + "description": "Represents credentials from the environment.", + "enum": [ + "environment" + ] + }, + { + "type": "string", + "description": "Represents credentials from a JSON file on disk.", + "enum": [ + "file" + ] + }, + { + "type": "string", + "description": "Represents credentials retrieved from STS SAML support.", + "enum": [ + "saml" + ] + }, + { + "type": "string", + "description": "Represents credentials loaded from shared credentials file.", + "enum": [ + "shared" + ] + }, + { + "type": "string", + "description": "Represents temporary credentials retrieved from 'AWS.STS'.", + "enum": [ + "temp" + ] + }, + { + "type": "string", + "description": "Represents credentials retrieved from STS Web Identity Federation support.", + "enum": [ + "web" + ] + } + ] + } + } + }, + "detectMime": { + "type": "boolean", + "description": "Detect the MIME type for a file automatically or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The directory inside the bucket where to deploy to.", + "default": "/" + }, + "acl": { + "type": "string", + "description": "The ACL for the target files.", + "default": "public-read" + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send / after it has been downloaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sftp" + ], + "type": "string", + "description": "Deploys to a SFTP server." + }, + "agent": { + "type": "string", + "description": "Name or path to ssh-agent for ssh-agent-based user authentication." + }, + "agentForward": { + "type": "boolean", + "description": "Set to (true) to use OpenSSH agent forwarding (auth-agent@openssh.com) for the life of the connection. 'agent' property must also be set to use this feature.", + "default": false + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "dir": { + "type": "string", + "description": "The remote directory on the server.", + "default": "/" + }, + "hashAlgorithm": { + "type": "string", + "description": "The algorithm to use to verify the fingerprint of a host.", + "default": "md5" + }, + "hashes": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "host": { + "type": "string", + "description": "The host address of the server.", + "default": "127.0.0.1" + }, + "password": { + "type": "string", + "description": "The password." + }, + "port": { + "type": "integer", + "description": "The TCP port of the server.", + "minimum": 0, + "maximum": 65535, + "default": 22 + }, + "privateKey": { + "type": "string", + "description": "The path to the private key file, if authentification should be done via SSH key.", + "default": "./my-private-file.key" + }, + "privateKeyPassphrase": { + "type": "string", + "description": "The passphrase for the key file, if needed." + }, + "readyTimeout": { + "type": "integer", + "description": "How long (in milliseconds) to wait for the SSH handshake to complete.", + "minimum": 0, + "default": 20000 + }, + "tryKeyboard": { + "type": "boolean", + "description": "Try keyboard-interactive user authentication if primary user authentication method fails.", + "default": false + }, + "user": { + "type": "string", + "description": "The username.", + "default": "anonymous" + }, + "unix": { + "type": "object", + "description": "Settings for Linux/UNIX based targets.", + "properties": { + "convertCRLF": { + "type": "boolean", + "description": "Convert CR+LF to LF in text files or not.", + "default": false + }, + "encoding": { + "type": "string", + "description": "The encoding (like 'ascii' or 'utf8') for the conversion to use.", + "default": "ascii" + } + } + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is send / after it has been downloaded." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "modes": { + "oneOf": [ + { + "description": "The (octal) 'chmod' access permission value for all files.", + "type": "number", + "minimum": 0, + "maximum": 777 + }, + { + "type": "object", + "description": "One or more regular expressions with their 'chmod' access permission values.", + "patternProperties": { + ".*": { + "description": "The (octal) 'chmod' access permission value for the maching files files.", + "type": "number", + "minimum": 0, + "maximum": 777 + } + } + } + ] + }, + "beforeUpload": { + "description": "One or more command that should be executed on the server BEFORE a file is uploaded.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "uploaded": { + "description": "One or more command that should be executed on the server AFTER a file has been uploaded.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "connected": { + "description": "One or more command that should be executed on the server AFTER a connection has been established.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "closing": { + "description": "One or more command that should be executed on the server BEFORE a connection will be closed.", + "oneOf": [ + { + "type": "string", + "description": "The command to execute." + }, + { + "description": "The commands to execute.", + "type": "array", + "items": { + "type": "string", + "description": "The command to execute." + } + } + ] + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Deploys via a JS script." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "options": { + "description": "Optional value or object for the execution." + }, + "script": { + "type": "string", + "description": "The script file to exeute.", + "default": "./deploy.js" + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + }, + "required": [ + "script" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "encoding": { + "type": "string", + "description": "The text encoding of the SQL files.", + "default": "utf8" + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "sqlFilesOnly": { + "type": "boolean", + "description": "Use 'sql' files only or not.", + "default": true + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is executed." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "test" + ], + "type": "string", + "description": "A mock deployer that only checks what files will be deployed." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is handled." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "zip" + ], + "type": "string", + "description": "Deploys to a ZIP file." + }, + "checkBeforeDeploy": { + "type": "boolean", + "description": "Check for newer files before a deployment starts or not.", + "default": true + }, + "fileName": { + "type": "string", + "description": "The custom filename to use. Otherwise an automatic filename is generated." + }, + "open": { + "type": "boolean", + "description": "Open file after is been created or not.", + "default": true + }, + "target": { + "type": "string", + "description": "The target directory of the new ZIP file.", + "default": "./" + }, + "transformer": { + "type": "string", + "description": "The path to the script that transforms data before it is saved / after it has been extracted." + }, + "transformerOptions": { + "description": "Optional data for the transformer script." + }, + "description": { + "type": "string", + "description": "A description for the target." + }, + "detail": { + "type": "string", + "description": "Additional information that should be shown in the GUI, e.g." + }, + "diffBeforeDeploy": { + "type": "boolean", + "description": "Start a diff before deploy file(s) or not.", + "default": false + }, + "hideIf": { + "description": "A list of one or more package names that indicates if that target is hidden from GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "if": { + "description": "A list of one or more conditions (as JavaScript code) that defines if target is available or not.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isFor": { + "description": "A list of one or more (host)names that target is visible for.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "isHidden": { + "type": "boolean", + "description": "Hide target in GUI or not.", + "default": false + }, + "mappings": { + "description": "One or more folder mapping to add.", + "type": "array", + "items": { + "type": "object", + "properties": { + "source": { + "type": "string", + "description": "The directory that should be mapped." + }, + "target": { + "type": "string", + "description": "The target directory to map the files of source directory to." + } + } + } + }, + "name": { + "type": "string", + "description": "The name of the target." + }, + "platforms": { + "oneOf": [ + { + "type": "string", + "description": "The name of the platform the target is for." + }, + { + "type": "array", + "description": "One or more platform names the target is for.", + "items": { + "type": "string", + "description": "The name of platform the target is for." + } + } + ] + }, + "showIf": { + "description": "A list of one or more package names that indicates if that target is only shown in GUI if one of the package(s) has been selected.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "sortOrder": { + "description": "The sort order(s).", + "oneOf": [ + { + "type": "number" + }, + { + "type": "object" + } + ], + "default": 0 + }, + "applyValuesTo": { + "description": "A list of property names and their values that should be applied to that target.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The value (with optional placeholders) that should be applied to the property.", + "type": "string" + } + } + }, + "inheritFrom": { + "description": "One or more target name from where to inherit settings from.", + "oneOf": [ + { + "type": "string", + "description": "The target name from where to inherit settings from." + }, + { + "type": "array", + "items": { + "type": "string", + "description": "A target name from where to inherit settings from." + } + } + ] + }, + "loadFrom": { + "type": "string", + "description": "The path to the JSON file from where to import data." + }, + "deployed": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run after deploy." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run after deploy." + }, + "beforeDeploy": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "enum": [ + "compile" + ], + "type": "string", + "description": "A local command to be run before deploy action." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "compiler": { + "description": "The compiler to use.", + "oneOf": [ + { + "type": "string", + "enum": [ + "coffeeccript" + ], + "description": "CoffeeScript" + }, + { + "type": "string", + "enum": [ + "htmlminifier" + ], + "description": "html-minifier" + }, + { + "type": "string", + "enum": [ + "less" + ], + "description": "LESS compiler" + }, + { + "type": "string", + "enum": [ + "pug" + ], + "description": "Pug compiler" + }, + { + "type": "string", + "enum": [ + "script" + ], + "description": "Script based compiler" + }, + { + "type": "string", + "enum": [ + "typescript" + ], + "description": "TypeScript compiler" + }, + { + "type": "string", + "enum": [ + "uglifyjs" + ], + "description": "UglifyJS compiler" + } + ] + }, + "options": { + "description": "The options for compiler." + }, + "useFilesOfDeployment": { + "description": "Use files that will be deployed / have been deployed as source or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "compiler" + ] + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "http" + ], + "type": "string", + "description": "Does a HTTP request." + }, + "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": { + ".*": { + "description": "The header to define." + } + } + }, + "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" + }, + "options": { + "description": "The options for the script that returns the body to send." + }, + "url": { + "type": "string", + "description": "The URL.", + "default": "http://localhost/" + }, + "noPlaceholdersForTheseHeaders": { + "description": "A list of headers that should NOT use placeholders / values.", + "oneOf": [ + { + "description": "The name of the header that should NOT use placeholders / values.", + "type": "string" + }, + { + "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" + } + ] + }, + "username": { + "type": "string", + "description": "The username for basic auth." + }, + "password": { + "type": "string", + "description": "The password for basic auth." + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "open" + ], + "type": "string", + "description": "One or more local command to be run before deploy action" + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "target": { + "type": "string", + "description": "Target command/executable" + }, + "arguments": { + "type": "array", + "description": "A list of one or more optional arguments for the execution.", + "items": { + "type": "string" + } + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "script" + ], + "type": "string", + "description": "Runs a script from a file." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "options": { + "description": "Additional options for the script execution." + }, + "script": { + "type": "string", + "description": "The path to the script file.", + "default": "./my_deployOperation_script.js" + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "sql" + ], + "type": "string", + "description": "Executes SQL scripts." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "engine": { + "default": "mysql", + "oneOf": [ + { + "enum": [ + "mysql" + ], + "type": "string", + "description": "MySQL" + }, + { + "enum": [ + "sql" + ], + "type": "string", + "description": "Microsoft SQL" + } + ] + }, + "options": { + "description": "The options for the connection." + }, + "queries": { + "description": "One or more query to invoke.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "vscommand" + ], + "type": "string", + "description": "Executes a Visual Studio Code command." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "command": { + "type": "string", + "description": "The ID of the command to execute." + }, + "arguments": { + "type": "array", + "description": "One or more optional argument for the execution." + }, + "contextOptions": { + "description": "Options for the operation context." + }, + "submitContext": { + "type": "boolean", + "description": "Submit an operation context object as first argument or not.", + "default": false + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "wait" + ], + "type": "string", + "description": "Waits a number of milliseconds, before the next operation is executed." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "time": { + "type": "number", + "description": "The number of milliseconds to wait before next operation is invoked.", + "minimum": 0, + "default": 1000 + } + } + }, + { + "type": "object", + "properties": { + "type": { + "enum": [ + "webdeploy" + ], + "type": "string", + "description": "Executes Microsoft's Web Deploy tool (msdeploy)." + }, + "name": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "The description for the operation." + }, + "allowUntrusted": { + "type": "boolean", + "description": "When specified, untrusted SSL connections are allowed; otherwise, untrusted SSL Connections are not allowed.", + "default": false + }, + "appHostConfigDir": { + "type": "string", + "description": "Specifies the path of the ApplicationHost.config file for the current instance of IIS Express." + }, + "args": { + "type": "array", + "description": "One or more additional arguments for the execution.", + "items": { + "type": "string" + } + }, + "declareParam": { + "type": "string", + "description": "Creates a user-specified parameter for a package or archive. When the package or archive is later synchronized, the value of the declared parameter is specified by using 'setParam'." + }, + "declareParamFile": { + "type": "string", + "description": "Specifies an XML file that contains declarations of parameters that will be used in an operation. The XML format of the declared parameters matches that of the parameters that are found in the archive or package." + }, + "dest": { + "type": "string", + "description": "Specifies the destination (the target object) of the operation that the 'verb' argument specifies. The and its associated settings more narrowly define the destination object or how it will be processed." + }, + "dir": { + "type": "string", + "description": "The custom working directory for the execution.", + "default": "./" + }, + "disableAppStore": { + "type": "boolean", + "default": false + }, + "disableLink": { + "type": "string", + "description": "Disables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'disableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "disableRule": { + "type": "string", + "description": "Disables the specified synchronization rule or rules during a synchronization operation. The rules are specified after 'disableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "disableSkipDirective": { + "type": "string", + "description": "Disables the specified skip directive." + }, + "enableLink": { + "type": "string", + "description": "Enables one or more specified link extensions during a synchronization operation. The link extensions are specified after 'enableLink' in a comma-delimited list. You can specify the link extension names directly, or use regular expressions that resolve to valid Web Deploy link extension names." + }, + "enableRule": { + "type": "string", + "description": "Enables one or more synchronization rules during a synchronization operation. The rules are specified after 'enableRule' in a comma-delimited list. You can specify the rule names directly, or use a regular expression that resolves to valid Web Deploy rules. The specified rule name can also be followed by an asterisk wildcard character." + }, + "exec": { + "type": "string", + "description": "The path of the executable.", + "default": "msdeploy.exe" + }, + "postSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination after a synchronization completes." + }, + "preSync": { + "type": "string", + "description": "Runs the specified command or batch file on the destination before a synchronization starts." + }, + "removeParam": { + "type": "string", + "description": "Removes a parameter definition from the list of declared parameters." + }, + "replace": { + "type": "string", + "description": "Specifies items to replace during a synchronization operation. More than one 'replace' argument can appear on the same command line." + }, + "retryAttempts": { + "type": "number", + "description": "Specifies the number of times the provider will retry after a failure.", + "minimum": 0 + }, + "retryInterval": { + "type": "number", + "description": "Specifies, in milliseconds, the interval between provider retry attempts.", + "minimum": 0 + }, + "runInTerminal": { + "type": "boolean", + "description": "Run in integrated terminal or not.", + "default": false + }, + "setParam": { + "type": "string", + "description": "Specifies values during a sync operation for the parameters that you specify." + }, + "setParamFile": { + "type": "string", + "description": "Applies parameter settings from an XML 'answer' file during a sync operation." + }, + "showSecure": { + "type": "boolean", + "description": "When specified, displays encrypted configuration properties (such as passwords) in clear text when the output format is XML.", + "default": false + }, + "skip": { + "type": "string", + "description": "Specifies an action or object to be excluded during a synchronization operation." + }, + "source": { + "type": "string", + "description": "Specifies the source of the data for the operation that the 'verb' argument specifies." + }, + "unicode": { + "type": "boolean", + "description": "Specifies that the string values for the username and password provider settings will be encoded in UTF-8.", + "default": false + }, + "useCheckSum": { + "type": "boolean", + "description": "Specifies that files will be compared by using their CRC (Cyclic Redundancy Check) checksum and ignoring their last write time.", + "default": false + }, + "verb": { + "type": "string", + "description": "Specifies the action that the operation will perform." + }, + "verbose": { + "type": "boolean", + "description": "Specifies that the Informational verbosity level will be included in the output of the operation.", + "default": false + }, + "wait": { + "type": "boolean", + "description": "Wait until execution has been finished or not.", + "default": true + }, + "webServerDir": { + "type": "string", + "description": "Specifies the path of the program files for the current instance of IIS Express." + }, + "whatif": { + "type": "boolean", + "description": "Specifies that the command will be run without actually making any changes.", + "default": false + }, + "xml": { + "type": "boolean", + "description": "Specifies that the output should be returned in XML format.", + "default": false + }, + "xpath": { + "type": "string", + "description": "Specifies an XPath expression to apply to XML output." + }, + "noPlaceholdersForTheseVars": { + "description": "A list of environment variables that should NOT use placeholders.", + "oneOf": [ + { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + }, + { + "type": "array", + "description": "The list of environment variables that should NOT use placeholders / values.", + "items": { + "description": "The name of the environment variable that should NOT use placeholders / values.", + "type": "string" + } + }, + { + "description": "Defines if placeholders should be DEactivated for ALL environment variables or not.", + "type": "boolean" + } + ] + }, + "envVars": { + "description": "An object that defines environment variables for the new process by properties.", + "type": "object", + "patternProperties": { + ".*": { + "description": "The variable to define." + } + } + }, + "useEnvVarsOfWorkspace": { + "description": "Also use environment variables of the process of current workspace or not.", + "type": "boolean", + "default": false + } + } + } + ] + }, + "description": "One or more operations to be run before deploy action." + } + } + } + ] + } + }, + "templates": { + "description": "Defines one or more source for templates.", + "type": "object", + "properties": { + "allowUnparsedDocuments": { + "description": "Allow unparsed (HTML) documents in internal web browser or not.", + "type": "boolean", + "default": false + }, + "footer": { + "description": "Path or URL to a HTML footer that should be inserted at the beginning inside the BODY tag of each (default) HTML document.", + "type": "string" + }, + "header": { + "description": "Path or URL to a HTML header that should be inserted at the beginning inside the BODY tag of each (default) HTML document.", + "type": "string" + }, + "showDefaults": { + "description": "Show default sources or not.", + "type": "boolean", + "default": true + }, + "sources": { + "description": "One or more source.", + "type": "array", + "items": { + "oneOf": [ + { + "description": "The source path. This can be a local or web path.", + "type": "string" + }, + { + "description": "Information about the source.", + "type": "object", + "properties": { + "source": { + "description": "The source path. This can be a local or web path.", + "type": "string" + } + }, + "required": [ + "source" + ] + } + ] + } + } + } + }, + "useGitIgnoreStylePatterns": { + "type": "boolean", + "description": "Also check directory patterns, like in '.gitignore' files, in all packages by default or not.", + "default": true + }, + "useTargetListForDeployOnSave": { + "type": "boolean", + "description": "Use 'targets' property of a package instead, if its 'deployOnSave' property is set to (true).", + "default": false + }, + "values": { + "description": "A list of one or more values that can be used in placeholders, e.g.", + "type": "array", + "items": { + "oneOf": [ + { + "description": "A static value.", + "type": "object", + "properties": { + "name": { + "description": "The name of the value.", + "type": "string" + }, + "type": { + "description": "The type of the value.", + "type": "string", + "enum": [ + "", + "static" + ] + }, + "description": { + "description": "An optional description for the value.", + "type": "string" + }, + "value": { + "description": "The value." + } + }, + "required": [ + "name" + ] + }, + { + "description": "A value that is generated by code.", + "type": "object", + "properties": { + "name": { + "description": "The name of the value.", + "type": "string" + }, + "type": { + "description": "The type of the value.", + "type": "string", + "enum": [ + "code" + ] + }, + "description": { + "description": "An optional description for the value.", + "type": "string" + }, + "code": { + "description": "The (JavaScript) code to execute." + } + }, + "required": [ + "name", + "type", + "code" + ] + }, + { + "description": "A value that accesses an environment variable.", + "type": "object", + "properties": { + "name": { + "description": "The name of the environment value.", + "type": "string" + }, + "type": { + "description": "The type of the value.", + "type": "string", + "enum": [ + "env", + "environment" + ] + }, + "description": { + "description": "An optional description for the value.", + "type": "string" + }, + "alias": { + "description": "The alias to use.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + { + "description": "A value from a file.", + "type": "object", + "properties": { + "name": { + "description": "The name of the value.", + "type": "string" + }, + "type": { + "description": "The type of the value.", + "type": "string", + "enum": [ + "file" + ] + }, + "description": { + "description": "An optional description for the value.", + "type": "string" + }, + "asBinary": { + "description": "Returns as binary / buffer or not.", + "type": "boolean", + "default": false + }, + "encoding": { + "description": "The text encoding to use.", + "type": "string", + "default": "utf8" + }, + "file": { + "description": "The path to the file.", + "type": "string" + }, + "usePlaceholders": { + "description": "Also use placeholders for the (string) content or not.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "type", + "file" + ] + }, + { + "description": "A value from a script.", + "type": "object", + "properties": { + "name": { + "description": "The name of the value.", + "type": "string" + }, + "type": { + "description": "The type of the value.", + "type": "string", + "enum": [ + "script" + ] + }, + "description": { + "description": "An optional description for the value.", + "type": "string" + }, + "script": { + "description": "The path to the script.", + "type": "string", + "default": "./my-value.js" + }, + "options": { + "description": "Data for the underlying script." + } + }, + "required": [ + "name", + "type", + "script" + ] + } + ] + } + } + } + } + } + } + }, + "scripts": { + "vscode:prepublish": "tsc -p ./", + "compile": "tsc -watch -p ./", + "postinstall": "node ./node_modules/vscode/bin/install" + }, + "devDependencies": { + "@types/file-type": "0.0.2", + "@types/fs-extra": "^2.1.0", + "@types/ftp": "^0.3.29", + "@types/glob": "^5.0.30", + "@types/html-entities": "^1.2.15", + "@types/html-minifier": "^1.1.30", + "@types/i18next": "^2.3.38", + "@types/marked": "0.0.28", + "@types/mime": "0.0.29", + "@types/minimatch": "^2.0.29", + "@types/mocha": "^2.2.32", + "@types/node": "^6.0.40", + "@types/ssh2-sftp-client": "^1.0.5", + "@types/tmp": "0.0.32", + "@types/uuid": "^2.0.29", + "mocha": "^2.3.3", + "typescript": "^2.0.3", + "vscode": "^1.0.0" + }, + "icon": "icon.png", + "author": { + "name": "Marcel Joachim Kloubert" + }, + "repository": { + "type": "git", + "url": "https://github.com/mkloubert/vs-deploy" + }, + "bugs": { + "url": "https://github.com/mkloubert/vs-deploy/issues" + }, + "readmeFilename": "README.md", + "dependencies": { + "aws-sdk": "^2.49.0", + "azure-storage": "^1.4.0", + "coffeescript": "^1.12.6", + "compare-versions": "^3.0.1", + "file-type": "^4.3.0", + "fs-extra": "^1.0.0", + "ftp": "^0.3.10", + "glob": "^7.1.1", + "html-entities": "^1.2.1", + "html-minifier": "^3.4.4", + "i18next": "^4.2.0", + "isbinaryfile": "^3.0.2", + "jsftp": "^1.5.5", + "less": "^2.7.2", + "marked": "^0.3.6", + "merge-deep": "^3.0.0", + "mime": "^1.3.5", + "minimatch": "^3.0.4", + "moment": "^2.18.1", + "mssql": "^3.3.0", + "mysql": "^2.13.0", + "node-workflows": "^1.3.1", + "node-zip": "^1.1.1", + "nodemailer": "^2.7.2", + "parse-listing": "^1.1.3", + "pug": "^2.0.0-rc.1", + "ssh2-sftp-client": "^1.0.5", + "tmp": "0.0.31", + "typescript": "^2.3.2", + "uglify-js": "^2.8.23", + "uuid": "^3.0.1" + } } \ No newline at end of file