Files
vscode/extensions/vscode-api-tests/package.json
Robo 8748be1f1a feat: update to Electron v42 (#316661)
* feat: update to Electron v42

* chore: drop support for arm 32-bit server

* chore: update types/node to v24.x

* chore: temporarily lock the target version for build/

* chore: update v8-source-location.patch

* chore: fix clippy

* chore: cleanup armhf server ci config

* fix: broken lock file

* fix: c++ version requirement for sysroot builds

* fix: msvc compilation of native modules

* fix: handle rejections for fire-and-forget loadurl

* fix: windows build

* ci: fix teardown of daemon process on windows

```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```

* chore: update deb and rpm dependencies

* chore: update version info

* spec: improve reliablity of offscreencanvas tests

* spec: retry EPERM failures on teardown

* chore: update x86_64 rpm deps

* ci: exclude server binskim for armhf

* temp: bump distro

* test: ignore deprecation warnings treated as errors

* chore: update lockfile

* fix: externalize electron from auth extension bundles

 Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
     at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
     at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
     at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
     at Module._load (node:internal/modules/cjs/loader:1262:25)
     at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
     at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
     at node:internal/main/run_main_module:33:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

 Node.js v24.15.0

* test: make wsl sanity tests reliable

* chore: bump electron@42.1.0

* temp: bump distro

* chore: bump electron@42.2.0

* chore: bump distro

* chore: update debian dependencies

* Revert "test: make wsl sanity tests reliable"

This reverts commit b3f2b63e83.

* test: do not fail for deprecation warnings

* chore: patch node24 server binary for wsl1

* chore: address review feedback

* chore: revert global navigation error handler in browserview

* chore: bump distro
2026-05-27 14:57:41 +02:00

298 lines
7.0 KiB
JSON

{
"name": "vscode-api-tests",
"description": "API tests for VS Code",
"version": "0.0.1",
"publisher": "vscode",
"license": "MIT",
"enabledApiProposals": [
"activeComment",
"authSession",
"browser",
"environmentPower",
"chatParticipantPrivate",
"chatPromptFiles",
"chatProvider",
"contribStatusBarItems",
"contribViewsRemote",
"customEditorMove",
"defaultChatParticipant",
"diffCommand",
"documentFiltersExclusive",
"editorInsets",
"embeddings",
"envIsConnectionMetered",
"extensionRuntime",
"extensionsAny",
"externalUriOpener",
"fileSearchProvider",
"findFiles2",
"findTextInFiles",
"fsChunks",
"interactive",
"languageStatusText",
"mcpServerDefinitions",
"nativeWindowHandle",
"notebookDeprecated",
"notebookLiveShare",
"notebookMessaging",
"notebookMime",
"portsAttributes",
"quickPickSortByLabel",
"resolvers",
"scmActionButton",
"scmSelectedProvider",
"scmTextDocument",
"scmValidation",
"taskPresentationGroup",
"telemetry",
"terminalDataWriteEvent",
"terminalDimensions",
"testObserver",
"textSearchProvider",
"timeline",
"tokenInformation",
"treeViewActiveItem",
"treeViewReveal",
"tunnels",
"workspaceTrust",
"inlineCompletionsAdditions",
"devDeviceId",
"languageModelProxy",
"agentSessionsWorkspace"
],
"private": true,
"activationEvents": [],
"main": "./out/extension",
"engines": {
"vscode": "^1.55.0"
},
"icon": "media/icon.png",
"contributes": {
"languageModelChatProviders": [
{
"vendor": "test-lm-vendor",
"displayName": "Test LM Vendor"
},
{
"vendor": "copilot",
"displayName": "Test Copilot LM Vendor"
}
],
"chatParticipants": [
{
"id": "api-test.participant",
"name": "participant",
"description": "test",
"isDefault": true,
"commands": [
{
"name": "hello",
"description": "Hello"
}
],
"modes": [
"agent",
"ask",
"edit"
]
},
{
"id": "api-test.participant2",
"name": "participant2",
"description": "test",
"commands": []
}
],
"languageModelTools": [
{
"name": "requires_confirmation_tool",
"toolReferenceName": "requires_confirmation_tool",
"displayName": "Requires Confirmation Tool",
"modelDescription": "A noop tool to trigger confirmation.",
"canBeReferencedInPrompt": true,
"icon": "$(files)",
"inputSchema": {}
}
],
"configuration": {
"type": "object",
"title": "Test Config",
"properties": {
"farboo.config0": {
"type": "boolean",
"default": true
},
"farboo.nested.config1": {
"type": "number",
"default": 42
},
"farboo.nested.config2": {
"type": "string",
"default": "Das Pferd frisst kein Reis."
},
"farboo.config4": {
"type": "string"
},
"farboo.get": {
"type": "string",
"default": "get-prop"
},
"integration-test.http.proxy": {
"type": "string"
},
"integration-test.http.proxyAuth": {
"type": "string",
"default": "get-prop"
}
}
},
"views": {
"remote": [
{
"id": "test.treeId",
"name": "test-tree",
"when": "never"
},
{
"id": "test.treeSwitchUpdate",
"name": "test-tree-switch-update",
"when": "never"
}
]
},
"configurationDefaults": {
"[abcLang]": {
"editor.lineNumbers": "off",
"editor.tabSize": 2
}
},
"taskDefinitions": [
{
"type": "custombuildscript",
"required": [
"flavor"
],
"properties": {
"flavor": {
"type": "string",
"description": "The build flavor. Should be either '32' or '64'."
},
"flags": {
"type": "array",
"description": "Additional build flags."
}
}
}
],
"breakpoints": [
{
"language": "markdown"
}
],
"debuggers": [
{
"type": "mock",
"label": "Mock Debug",
"languages": [
"markdown"
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a text file.",
"default": "${workspaceFolder}/file.md"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"trace": {
"type": "boolean",
"description": "Enable logging of the Debug Adapter Protocol.",
"default": true
}
}
}
},
"initialConfigurations": [
{
"type": "mock",
"request": "launch",
"name": "Debug file.md",
"program": "${workspaceFolder}/file.md"
}
]
}
],
"interactiveSession": [
{
"id": "provider",
"label": "Provider"
}
],
"notebooks": [
{
"type": "notebookCoreTest",
"displayName": "Notebook Core Test",
"selector": [
{
"filenamePattern": "*.vsctestnb",
"excludeFileNamePattern": ""
}
]
},
{
"type": "notebook.nbdtest",
"displayName": "notebook.nbdtest",
"selector": [
{
"filenamePattern": "**/*.nbdtest"
}
]
},
{
"type": "notebook.nbdserializer",
"displayName": "notebook.nbdserializer",
"selector": [
{
"filenamePattern": "**/*.nbdserializer"
}
]
}
],
"statusBarItems": {
"id": "myStaticItem",
"alignment": "right",
"priority": 17,
"name": "My Static Item",
"text": "Hello $(globe)",
"tooltip": "Hover World",
"accessibilityInformation": {
"label": "Hello World",
"role": "button"
}
}
},
"scripts": {
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.mjs compile-extension:vscode-api-tests ./tsconfig.json"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"@types/node-forge": "^1.3.11",
"node-forge": "^1.4.0",
"straightforward": "^4.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}