mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
124 lines
2.9 KiB
JSON
124 lines
2.9 KiB
JSON
{
|
|
"name": "vscode-terminal-api-example",
|
|
"displayName": "vscode-terminal-api-example",
|
|
"description": "abc",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onTerminalProfile:terminalTest.terminal-profile"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "terminalTest.createAndSend",
|
|
"title": "Terminal API: Create Terminal and Immediately Send"
|
|
},
|
|
{
|
|
"command": "terminalTest.createTerminal",
|
|
"title": "Terminal API: Create Terminal"
|
|
},
|
|
{
|
|
"command": "terminalTest.createTerminalHideFromUser",
|
|
"title": "Terminal API: Create Terminal (hideFromUser)"
|
|
},
|
|
{
|
|
"command": "terminalTest.createZshLoginShell",
|
|
"title": "Terminal API: Create Terminal (zsh login shell)"
|
|
},
|
|
{
|
|
"command": "terminalTest.dimensions",
|
|
"title": "Terminal API: Set dimensions"
|
|
},
|
|
{
|
|
"command": "terminalTest.dispose",
|
|
"title": "Terminal API: Dispose"
|
|
},
|
|
{
|
|
"command": "terminalTest.hide",
|
|
"title": "Terminal API: Hide"
|
|
},
|
|
{
|
|
"command": "terminalTest.onDidWriteTerminalData",
|
|
"title": "Terminal API: Attach data listener"
|
|
},
|
|
{
|
|
"command": "terminalTest.onDidChangeTerminalDimensions",
|
|
"title": "Terminal API: Attach dimensions listener"
|
|
},
|
|
{
|
|
"command": "terminalTest.processId",
|
|
"title": "Terminal API: Get process ID"
|
|
},
|
|
{
|
|
"command": "terminalTest.sendText",
|
|
"title": "Terminal API: Send Text"
|
|
},
|
|
{
|
|
"command": "terminalTest.sendTextNoNewLine",
|
|
"title": "Terminal API: Send Text (no implied \\n)"
|
|
},
|
|
{
|
|
"command": "terminalTest.show",
|
|
"title": "Terminal API: Show"
|
|
},
|
|
{
|
|
"command": "terminalTest.showPreserveFocus",
|
|
"title": "Terminal API: Show (preserving focus)"
|
|
},
|
|
{
|
|
"command": "terminalTest.terminals",
|
|
"title": "Terminal API: View terminals"
|
|
},
|
|
{
|
|
"command": "terminalTest.updateEnvironment",
|
|
"title": "Terminal API: Update environment"
|
|
},
|
|
{
|
|
"command": "terminalTest.clearEnvironment",
|
|
"title": "Terminal API: Clear environment"
|
|
},
|
|
{
|
|
"command": "terminalTest.registerTerminalLinkProvider",
|
|
"title": "Terminal API: Register link provider"
|
|
}
|
|
],
|
|
"terminal": {
|
|
"profiles": [
|
|
{
|
|
"id": "terminalTest.terminal-profile",
|
|
"icon": "terminal",
|
|
"title": "Terminal API Profile"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^20",
|
|
"@types/vscode": "^1.73.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
}
|
|
}
|