You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vscode-sshfs/package.json

448 lines
15 KiB

{
"name": "vscode-sshfs",
"displayName": "SSH FS",
"description": "File system, terminal and task provider using SSH",
"publisher": "Kelvin",
"version": "1.26.1",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onFileSystem:ssh",
"onFileSystemAccess:ssh",
"onView:sshfs-configs",
"onView:sshfs-connections",
"onCommand:sshfs.new",
"onCommand:sshfs.add",
"onCommand:sshfs.disconnect",
"onCommand:sshfs.disconnectAll",
"onCommand:sshfs.terminal",
"onCommand:sshfs.focusTerminal",
"onCommand:sshfs.closeTerminal",
"onCommand:sshfs.configure",
"onCommand:sshfs.reload",
"onCommand:sshfs.settings",
"onCommand:sshfs.refresh"
],
"main": "./dist/extension.js",
"homepage": "https://github.com/SchoofsKelvin/vscode-sshfs",
"author": {
"name": "Kelvin Schoofs",
"email": "schoofs.kelvin@gmail.com",
"url": "https://github.com/SchoofsKelvin"
},
"repository": {
"type": "git",
"url": "https://github.com/SchoofsKelvin/vscode-sshfs"
},
"bugs": {
"url": "https://github.com/SchoofsKelvin/vscode-sshfs/issues"
},
"license": "GPL-3.0",
"icon": "resources/Logo.png",
"keywords": [
"remote",
"ssh",
"sshfs",
"sync",
"filesystem",
"terminal",
"sftp",
"scp"
],
"badges": [
{
"url": "https://img.shields.io/github/v/release/SchoofsKelvin/vscode-sshfs?include_prereleases&label=GitHub%20version",
"href": "https://github.com/SchoofsKelvin/vscode-sshfs/releases",
"description": "Releases on GitHub"
},
{
"url": "https://img.shields.io/open-vsx/v/Kelvin/vscode-sshfs?label=Open%20VSX",
"href": "https://open-vsx.org/extension/Kelvin/vscode-sshfs",
"description": "Open VSX Registry"
},
{
"url": "https://img.shields.io/visual-studio-marketplace/v/Kelvin.vscode-sshfs?label=VS%20Marketplace&logo=sdf",
"href": "https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs",
"description": "Visual Studio Marketplace"
},
{
"url": "https://img.shields.io/visual-studio-marketplace/i/Kelvin.vscode-sshfs?label=Installs",
"href": "https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs",
"description": "Unique installs using Visual Studio Marketplace"
}
],
"sponsor": {
"url": "https://github.com/sponsors/SchoofsKelvin"
},
"contributes": {
"views": {
"sshfs": [
{
"id": "sshfs-configs",
"name": "Configurations",
"contextualTitle": "SSH FS - Configurations",
"icon": "resources/icon.svg",
"visibility": "visible"
},
{
"id": "sshfs-connections",
"name": "Connections",
"contextualTitle": "SSH FS - Connections",
"icon": "resources/icon.svg",
"visibility": "visible"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "sshfs",
"title": "SSH FS",
"icon": "resources/icon.svg"
}
]
},
"commands": [
{
"command": "sshfs.new",
"title": "Create a SSH FS configuration",
"category": "SSH FS",
"icon": "$(new-file)"
},
{
"command": "sshfs.add",
"title": "Add as Workspace folder",
"category": "SSH FS",
"icon": "$(new-folder)"
},
{
"command": "sshfs.disconnect",
"title": "Disconnect",
"category": "SSH FS",
"icon": "$(debug-disconnect)"
},
{
"command": "sshfs.disconnectAll",
"title": "Disconnect all",
"category": "SSH FS",
"icon": "$(debug-disconnect)"
},
{
"command": "sshfs.terminal",
"title": "Open remote SSH terminal",
"category": "SSH FS",
"icon": "$(terminal)"
},
{
"command": "sshfs.configure",
"title": "Edit configuration",
"category": "SSH FS",
"icon": "$(settings-gear)"
},
{
"command": "sshfs.reload",
"title": "Reload configurations",
"category": "SSH FS",
"icon": "$(refresh)"
},
{
"command": "sshfs.settings",
"title": "Open settings and edit configurations",
"category": "SSH FS",
"icon": "$(settings)"
},
{
"command": "sshfs.refresh",
"title": "Refresh",
"category": "SSH FS",
"icon": "$(refresh)"
},
{
"command": "sshfs.focusTerminal",
"title": "Focus terminal",
"category": "SSH FS",
"icon": "$(eye)"
},
{
"command": "sshfs.closeTerminal",
"title": "Close terminal",
"category": "SSH FS",
"icon": "$(close)"
}
],
"menus": {
"commandPalette": [
{
"command": "sshfs.new",
"group": "SSH FS@1"
},
{
"command": "sshfs.add",
"group": "SSH FS@2"
},
{
"command": "sshfs.disconnect",
"group": "SSH FS@3"
},
{
"command": "sshfs.terminal",
"group": "SSH FS@4"
},
{
"command": "sshfs.configure",
"group": "SSH FS@5"
},
{
"command": "sshfs.reload",
"group": "SSH FS@6"
},
{
"command": "sshfs.disconnectAll",
"group": "SSH FS@7"
},
{
"command": "sshfs.settings",
"group": "SSH FS@8"
},
{
"command": "sshfs.focusTerminal",
"when": "false"
},
{
"command": "sshfs.closeTerminal",
"when": "false"
},
{
"command": "sshfs.refresh",
"when": "false"
}
],
"view/title": [
{
"command": "sshfs.refresh",
"when": "view == 'sshfs-configs' || view == 'sshfs-connections'",
"group": "navigation@1"
},
{
"command": "sshfs.new",
"when": "view == 'sshfs-configs'",
"group": "navigation@2"
},
{
"command": "sshfs.add",
"when": "view == 'sshfs-connections'",
"group": "navigation@2"
},
{
"command": "sshfs.disconnectAll",
"when": "view == 'sshfs-connections'",
"group": "navigation@3"
},
{
"command": "sshfs.settings",
"when": "view == 'sshfs-configs' || view == 'sshfs-connections'",
"group": "navigation@100"
}
],
"view/item/context": [
{
"command": "sshfs.add",
"when": "view == 'sshfs-configs' && viewItem == config",
"group": "inline@1"
},
{
"command": "sshfs.terminal",
"when": "view == 'sshfs-configs' && viewItem == config",
"group": "inline@2"
},
{
"command": "sshfs.configure",
"when": "view == 'sshfs-configs' && viewItem == config",
"group": "inline@3"
},
{
"command": "sshfs.disconnect",
"when": "view == 'sshfs-configs' && viewItem == config",
"group": "inline@4"
},
{
"command": "sshfs.terminal",
"when": "view == 'sshfs-connections' && viewItem == connection",
"group": "inline@1"
},
{
"command": "sshfs.disconnect",
"when": "view == 'sshfs-connections' && viewItem == connection",
"group": "inline@2"
},
{
"command": "sshfs.closeTerminal",
"when": "view == 'sshfs-connections' && viewItem == terminal",
"group": "inline@1"
}
],
"explorer/context": [
{
"command": "sshfs.terminal",
"when": "explorerResourceIsFolder && resourceScheme == ssh",
"group": "navigation@30"
}
],
"statusBar/remoteIndicator": [
{
"command": "sshfs.add",
"group": "remote_11_ssh_sshfs@1"
},
{
"command": "sshfs.terminal",
"group": "remote_11_ssh_sshfs@2"
},
{
"command": "sshfs.settings",
"group": "remote_11_ssh_sshfs@3"
},
{
"command": "sshfs.disconnect",
"group": "remote_11_ssh_sshfs@4",
"when": "sshfs.openConnections > 0"
},
{
"command": "sshfs.disconnectAll",
"group": "remote_11_ssh_sshfs@5",
"when": "sshfs.openConnections > 0"
}
]
},
"configuration": {
"title": "SSH FS Configuration",
"properties": {
"sshfs.configpaths": {
"title": "A list of file locations to load SSH FS configurations from",
"description": "Location of JSON files to load configs from",
"type": "array",
"items": "string",
"default": []
},
"sshfs.configs": {
"title": "A list of SSH FS configurations",
"description": "Use the Settings UI to edit configurations (run command SSH FS: Open settings and edit configurations)",
"markdownDescription": "Use the Settings UI to edit configurations *(run command `SSH FS: Open settings and edit configurations`)*",
"type": "array",
"items": "object",
"default": [
{
"root": "/tmp",
"host": "localhost",
"port": 22,
"username": "root",
"password": "CorrectHorseBatteryStaple"
}
]
},
"sshfs.flags": {
"title": "List of special flags to enable/disable certain fixes/features",
"description": "Flags are usually used for issues or beta testing. Flags can disappear/change anytime!",
"type": "array",
"items": "string",
"default": []
}
}
},
"taskDefinitions": [
{
"type": "ssh-shell",
"properties": {
"host": {
"type": "string",
"description": "The configuration (name) to run this task on"
},
"command": {
"type": "string",
"description": "The command to run on the server"
},
"workingDirectory": {
"type": "string",
"description": "The working directory (relative to the config-defined root) to run the command in"
}
},
"required": [
"host",
"command"
]
}
],
"resourceLabelFormatters": [
{
"scheme": "ssh",
"formatting": {
"label": "${scheme}://${authority}/${path}",
"separator": "/",
"tildify": false,
"stripPathStartingSeparator": true,
"workspaceSuffix": "SSH FS"
}
}
],
"viewsWelcome": [
{
"view": "sshfs-configs",
"contents": "No configurations created yet"
},
{
"view": "sshfs-connections",
"contents": "Not connected to anything"
}
]
},
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"scripts": {
"vscode:prepublish": "yarn workspaces foreach -tvip -j 2 run build",
"build": "webpack --mode production",
"compile": "webpack --mode development",
"watch": "webpack --mode development --watch"
},
"devDependencies": {
"@types/node": "^12.7.12",
"@types/request": "^2.48.1",
"@types/semver": "^7.3.9",
"@types/vscode": "~1.49.0",
"@types/webpack": "^4.4.25",
"@types/winreg": "^1.2.30",
"@vscode/vsce": "^2.18.0",
"prettier": "^2.6.2",
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
"ts-loader": "^9.4.2",
"typescript": "~5.0.2",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"common": "workspace:*",
"event-stream": "^4.0.1",
"jsonc-parser": "^3.2.0",
"semver": "^7.3.5",
"socks": "^2.2.0",
"ssh2": "^1.11.0",
"winreg": "^1.2.4"
},
"resolutions": {
"cpu-features": "npm:@favware/skip-dependency@1.1.3",
"ssh2@^1.11.0": "patch:ssh2@npm%3A1.11.0#./.yarn/patches/ssh2-npm-1.11.0-convertSha1.patch"
},
"workspaces": [
"./common",
"./webview"
],
"packageManager": "yarn@3.5.0"
}