kiota/vscode/microsoft-kiota/package.json

510 строки
18 KiB
JSON

{
"name": "kiota",
"displayName": "Microsoft Kiota",
"publisher": "ms-graph",
"description": "Client generator for HTTP REST APIs described by OpenAPI which helps eliminate the need to take a dependency on a different API client for every API that you need to call, as well as limiting the generation to the exact API surface area you're interested in, thanks to a filtering capability.",
"version": "1.17.100000001",
"kiotaVersion": "1.17.0",
"telemetryInstrumentationKey": "4c6357e0-daf9-42b5-bdfb-67878f8957b5",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Other"
],
"repository": {
"url": "https://github.com/microsoft/kiota.git",
"type": "git"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"configuration": {
"title": "Kiota",
"properties": {
"kiota.generate.includeAdditionalData.enabled": {
"type": "boolean",
"default": true,
"description": "%kiota.generate.includeAdditionalData.description%"
},
"kiota.generate.backingStore.enabled": {
"type": "boolean",
"default": false,
"description": "%kiota.generate.backingStore.description%"
},
"kiota.generate.excludeBackwardCompatible.enabled": {
"type": "boolean",
"default": false,
"description": "%kiota.generate.excludeBackwardCompatible.description%"
},
"kiota.cleanOutput.enabled": {
"type": "boolean",
"default": false,
"description": "%kiota.cleanOutput.description%"
},
"kiota.generate.disabledValidationRules": {
"type": "array",
"default": [],
"description": "%kiota.generate.disabledValidationRules.description%"
},
"kiota.clearCache.enabled": {
"type": "boolean",
"default": false,
"description": "%kiota.clearCache.description%"
},
"kiota.generate.serializer.CSharp": {
"type": "array",
"default": [
"Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Form.FormSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Multipart.MultipartSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.CSharp": {
"type": "array",
"default": [
"Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory",
"Microsoft.Kiota.Serialization.Text.TextParseNodeFactory",
"Microsoft.Kiota.Serialization.Form.FormParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.Go": {
"type": "array",
"default": [
"github.com/microsoft/kiota-serialization-form-go/FormSerializationWriterFactory",
"github.com/microsoft/kiota-serialization-json-go/JsonSerializationWriterFactory",
"github.com/microsoft/kiota-serialization-text-go/TextSerializationWriterFactory",
"github.com/microsoft/kiota-serialization-multipart-go/MultipartSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.Go": {
"type": "array",
"default": [
"github.com/microsoft/kiota-serialization-form-go/FormParseNodeFactory",
"github.com/microsoft/kiota-serialization-json-go/JsonParseNodeFactory",
"github.com/microsoft/kiota-serialization-text-go/TextParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.Java": {
"type": "array",
"default": [
"com.microsoft.kiota.serialization.FormSerializationWriterFactory",
"com.microsoft.kiota.serialization.JsonSerializationWriterFactory",
"com.microsoft.kiota.serialization.TextSerializationWriterFactory",
"com.microsoft.kiota.serialization.MultipartSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.Java": {
"type": "array",
"default": [
"com.microsoft.kiota.serialization.TextParseNodeFactory",
"com.microsoft.kiota.serialization.JsonParseNodeFactory",
"com.microsoft.kiota.serialization.TextParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.PHP": {
"type": "array",
"default": [
"Microsoft\\Kiota\\Serialization\\Json\\JsonSerializationWriterFactory",
"Microsoft\\Kiota\\Serialization\\Text\\TextSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.PHP": {
"type": "array",
"default": [
"Microsoft\\Kiota\\Serialization\\Json\\JsonParseNodeFactory",
"Microsoft\\Kiota\\Serialization\\Text\\TextParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.Python": {
"type": "array",
"default": [
"kiota_serialization_json.json_serialization_writer_factory.JsonSerializationWriterFactory",
"kiota_serialization_text.text_serialization_writer_factory.TextSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.Python": {
"type": "array",
"default": [
"kiota_serialization_json.json_parse_node_factory.JsonParseNodeFactory",
"kiota_serialization_text.text_parse_node_factory.TextParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.Ruby": {
"type": "array",
"default": [
"microsoft_kiota_serialization/json_serialization_writer_factory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.Ruby": {
"type": "array",
"default": [
"microsoft_kiota_serialization/json_parse_node_factory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.serializer.TypeScript": {
"type": "array",
"default": [
"@microsoft/kiota-serialization-form.FormSerializationWriterFactory",
"@microsoft/kiota-serialization-json.JsonSerializationWriterFactory",
"@microsoft/kiota-serialization-text.TextSerializationWriterFactory",
"@microsoft/kiota-serialization-multipart.MultipartSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.TypeScript": {
"type": "array",
"default": [
"@microsoft/kiota-serialization-form.FormParseNodeFactory",
"@microsoft/kiota-serialization-json.JsonParseNodeFactory",
"@microsoft/kiota-serialization-text.TextParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.structuredMimeTypes": {
"type": "array",
"default": [
"application/json;q=1",
"application/x-www-form-urlencoded;q=0.2",
"multipart/form-data;q=0.1",
"text/plain;q=0.9"
],
"description": "%kiota.generate.structuredMimeTypes.description%"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "kiota-openapi-explorer",
"title": "%kiota-openapi-explorer.activitybar.title%",
"icon": "media/logo.svg"
}
],
"panel": [
{
"id": "kiota-dependencies-info",
"title": "%kiota-dependencies-info.panel.title%",
"icon": "media/dependencies.svg"
}
]
},
"views": {
"kiota-openapi-explorer": [
{
"id": "kiota.openApiExplorer",
"name": "%kiota.openApiExplorer.name%"
},
{
"id": "kiota.workspace",
"name": "%kiota.workspace.name%"
}
],
"kiota-dependencies-info": [
{
"id": "kiota.dependenciesInfo",
"name": "%kiota.dependenciesInfo.name%",
"icon": "media/dependencies.svg",
"contextualTitle": "%kiota.dependenciesInfo.contextualTitle%",
"type": "webview",
"visibility": "visible"
}
]
},
"menus": {
"explorer/context": [
{
"command": "kiota.selectLock",
"group": "2_kiota@1",
"when": "resourceLangId == json && resourceFilename =~ /workspace\\.json$/"
},
{
"command": "kiota.migrateFromLockFile",
"when": "resourceExtname == .json && resourceFilename == kiota-lock.json",
"group": "navigation"
}
],
"view/title": [
{
"command": "kiota.openApiExplorer.searchOrOpenApiDescription",
"when": "view == kiota.openApiExplorer",
"group": "navigation@1"
},
{
"command": "kiota.openApiExplorer.filterDescription",
"when": "view == kiota.openApiExplorer",
"group": "navigation@2"
},
{
"command": "kiota.openApiExplorer.generateClient",
"when": "view == kiota.openApiExplorer",
"group": "navigation@3"
},
{
"command": "kiota.openApiExplorer.regenerateButton",
"when": "view == kiota.openApiExplorer",
"group": "navigation@4"
}
],
"view/item/context": [
{
"command": "kiota.openApiExplorer.closeDescription",
"when": "view == kiota.openApiExplorer && viewItem == apiTitle",
"group": "inline@6"
},
{
"command": "kiota.openApiExplorer.openDocumentationPage",
"when": "view == kiota.openApiExplorer && (viewItem == documentationUrl)",
"group": "inline@1"
},
{
"command": "kiota.openApiExplorer.addToSelectedEndpoints",
"when": "view == kiota.openApiExplorer && viewItem != apiTitle && viewItem != clientNameOrPluginName",
"group": "inline@2"
},
{
"command": "kiota.openApiExplorer.addAllToSelectedEndpoints",
"when": "view == kiota.openApiExplorer && viewItem != clientNameOrPluginName",
"group": "inline@4"
},
{
"command": "kiota.openApiExplorer.removeFromSelectedEndpoints",
"when": "view == kiota.openApiExplorer && viewItem != apiTitle && viewItem != clientNameOrPluginName",
"group": "inline@3"
},
{
"command": "kiota.openApiExplorer.removeAllFromSelectedEndpoints",
"when": "view == kiota.openApiExplorer && viewItem != clientNameOrPluginName",
"group": "inline@5"
}
],
"commandPalette": [
{
"command": "kiota.selectLock",
"when": "false"
},
{
"command": "kiota.openApiExplorer.openDocumentationPage",
"when": "false"
},
{
"command": "kiota.openApiExplorer.addToSelectedEndpoints",
"when": "false"
},
{
"command": "kiota.openApiExplorer.addAllToSelectedEndpoints",
"when": "false"
},
{
"command": "kiota.openApiExplorer.removeFromSelectedEndpoints",
"when": "false"
},
{
"command": "kiota.openApiExplorer.removeAllFromSelectedEndpoints",
"when": "false"
}
],
"editor/context": [
{
"command": "kiota.migrateFromLockFile",
"when": "resourceExtname == .json && resourceFilename == kiota-lock.json",
"group": "navigation"
}
]
},
"commands": [
{
"command": "kiota.selectLock",
"category": "Kiota",
"title": "%kiota.selectLock.title%",
"icon": "$(file-symlink-file)"
},
{
"command": "kiota.searchLock",
"category": "Kiota",
"title": "%kiota.searchLock.title%",
"icon": "$(file-symlink-file)"
},
{
"command": "kiota.updateClients",
"category": "Kiota",
"title": "%kiota.updateClients.title%"
},
{
"command": "kiota.openApiExplorer.generateClient",
"category": "Kiota",
"title": "%kiota.openApiExplorer.generateClient.title%",
"enablement": "kiota.openApiExplorer.showIcons",
"icon": "$(run-all)"
},
{
"command": "kiota.openApiExplorer.regenerateButton",
"category": "Kiota",
"title": "%kiota.openApiExplorer.regenerateButton.title%",
"enablement": "kiota.openApiExplorer.showRegenerateIcon",
"icon": "$(debug-rerun)"
},
{
"command": "kiota.openApiExplorer.filterDescription",
"category": "Kiota",
"title": "%kiota.openApiExplorer.filterDescription.title%",
"enablement": "kiota.openApiExplorer.showIcons",
"icon": "$(filter)"
},
{
"command": "kiota.openApiExplorer.addToSelectedEndpoints",
"category": "Kiota",
"title": "%kiota.openApiExplorer.addToSelectedEndpoints.title%",
"icon": "$(add)"
},
{
"command": "kiota.openApiExplorer.openDocumentationPage",
"category": "Kiota",
"title": "%kiota.openApiExplorer.openDocumentationPage.title%",
"icon": "$(book)"
},
{
"command": "kiota.openApiExplorer.addAllToSelectedEndpoints",
"category": "Kiota",
"title": "%kiota.openApiExplorer.addAllToSelectedEndpoints.title%",
"icon": "$(expand-all)"
},
{
"command": "kiota.openApiExplorer.removeFromSelectedEndpoints",
"category": "Kiota",
"title": "%kiota.openApiExplorer.removeFromSelectedEndpoints.title%",
"icon": "$(remove)"
},
{
"command": "kiota.openApiExplorer.removeAllFromSelectedEndpoints",
"category": "Kiota",
"title": "%kiota.openApiExplorer.removeAllFromSelectedEndpoints.title%",
"icon": "$(collapse-all)"
},
{
"command": "kiota.openApiExplorer.closeDescription",
"category": "Kiota",
"title": "%kiota.openApiExplorer.closeDescription.title%",
"icon": "$(trash)"
},
{
"command": "kiota.openApiExplorer.searchOrOpenApiDescription",
"category": "Kiota",
"title": "%kiota.openApiExplorer.openDescription.title%",
"icon": "$(new-file)"
},
{
"command": "kiota.workspace.openWorkspaceFile",
"title": "%kiota.openApiExplorer.openFile.title%"
},
{
"command": "kiota.editPaths",
"title": "%kiota.openApiExplorer.editPaths.title%"
},
{
"command": "kiota.regenerate",
"title": "%kiota.openApiExplorer.regenerateButton.title%"
},
{
"command": "kiota.workspace.refresh",
"title": "%kiota.openApiExplorer.refresh.title%"
},
{
"command": "kiota.migrateFromLockFile",
"title": "%kiota.migrateClients.title%"
}
],
"languages": [
{
"id": "json",
"extensions": [
".json"
]
}
],
"codeLensProviders": [
{
"language": "json",
"provideCodeLenses": true
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@stylistic/eslint-plugin-ts": "^2.6.2",
"@types/adm-zip": "^0.5.5",
"@types/mocha": "^10.0.7",
"@types/node": "22.x",
"@types/vscode": "^1.92.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.9.0",
"glob": "^11.0.0",
"mocha": "^10.7.3",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.9.7",
"@vscode/l10n": "^0.0.18",
"adm-zip": "^0.5.15",
"is-online": "^11.0.0",
"original-fs": "^1.2.0",
"vscode-jsonrpc": "^8.2.1"
},
"preview": true,
"runtimeDependencies": [
{
"platformId": "win-x64",
"sha256": "103A685302D9F3DC6D87B446414DDE7099F36749959AD3B31506AA306E6106B7"
},
{
"platformId": "win-x86",
"sha256": "C79D2108129C3187DE14320478AE9588DF100FF5E37270BEBACFBBDC2EF9AEED"
},
{
"platformId": "linux-x64",
"sha256": "C8F518D723B8ADFCE699E1E4E03BB3E03A300D9BA4F10558351634396EF3AA1E"
},
{
"platformId": "osx-x64",
"sha256": "8EEFB9BF46871E8830BC59F3A52B0C2F20643F0C094611539A00548C70A2223A"
},
{
"platformId": "osx-arm64",
"sha256": "5FE16C08C749ABEB286520A7A2C9E7F62BE4102765486211433CAE6E8252E44F"
}
]
}