vscode/.vscode/extensions/vscode-selfhost-test-provider/package.json

91 lines
2.3 KiB
JSON
Raw Permalink Normal View History

{
"name": "vscode-selfhost-test-provider",
"displayName": "VS Code Selfhost Test Provider",
"description": "Test provider for the VS Code project",
"enabledApiProposals": [
2024-05-10 02:31:51 +08:00
"testObserver",
"testRelatedCode",
2024-05-10 02:31:51 +08:00
"attributableCoverage"
],
"engines": {
"vscode": "^1.88.0"
},
"contributes": {
"commands": [
{
"command": "selfhost-test-provider.updateSnapshot",
"title": "Update Snapshot",
"category": "Testing",
"icon": "$(merge)"
},
{
"command": "selfhost-test-provider.openFailureLog",
"title": "Open Selfhost Failure Logs",
"category": "Testing",
"icon": "$(merge)"
}
],
"menus": {
"commandPalette": [
{
"command": "selfhost-test-provider.updateSnapshot",
"when": "false"
}
],
"testing/message/context": [
{
"command": "selfhost-test-provider.updateSnapshot",
"group": "inline@1",
"when": "testMessage == isSelfhostSnapshotMessage && !testResultOutdated"
}
],
"testing/message/content": [
{
"command": "selfhost-test-provider.updateSnapshot",
"when": "testMessage == isSelfhostSnapshotMessage && !testResultOutdated"
}
]
}
},
"icon": "icon.png",
"version": "0.4.0",
"publisher": "ms-vscode",
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:src/vs/loader.js"
],
"workspaceTrust": {
"request": "onDemand",
"description": "Trust is required to execute tests in the workspace."
},
"main": "./out/extension.js",
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 2,
"arrowParens": "avoid"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
},
"license": "MIT",
"scripts": {
"compile": "gulp compile-extension:vscode-selfhost-test-provider",
2024-05-09 06:01:23 +08:00
"watch": "gulp watch-extension:vscode-selfhost-test-provider",
"test": "npx mocha --ui tdd 'out/*.test.js'"
},
"devDependencies": {
2024-05-09 07:29:55 +08:00
"@types/mocha": "^10.0.6",
chore: update to electron 29 (#209818) * chore: update electron@29.1.0 * chore: update typings to 20.x * chore: bump electron@29.1.5 * ci: fix crash in compiling extensions-ci * chore: disable .d.ts check for build/ $ ../node_modules/.bin/tsc -p tsconfig.build.json node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'. Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref 21 export class FSWatcher extends EventEmitter implements fs.FSWatcher { ~~~~~~~~~ node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'. Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref 8 export class FSWatcher extends EventEmitter implements fs.FSWatcher { ~~~~~~~~~ Found 2 errors in 2 files. Errors Files 1 node_modules/@types/chokidar/index.d.ts:21 1 node_modules/chokidar/types/index.d.ts:8 Refs https://github.com/paulmillr/chokidar/commit/a0f9e09f64ce7ae70cc6ae1f5615f65cb35f532f * chore: update core types * temp: fix layer validation * chore: update nodejs checksums * ci: use latest v20 LTS for missing node-gyp Refs https://github.com/npm/cli/commit/eacec5f49060d3dfcdc3c7043115619e4bb22864 * ci: define LIBCPP_HARDENING_MODE * ci: fix crash in vscode-web-min-ci * chore: update rpm deps-list * chore: bump tree-sitter-typescript@0.20.5 * chore: bump electron@29.3.0 * chore: bump electron@29.3.1 * chore: update rpm deps-list for x86_64 * ci: disable io_uring UV backend on linux * ci: disable io_uring backend for oss as well * chore: update typings to 20.x * ci: add TODO for io_uring workaround * chore: bump distro * chore: update preinstall node version checks * chore: update @types/gulp Refs https://github.com/microsoft/vscode/issues/212442 * ci: disable io_uring in more test suites
2024-05-11 00:20:28 +08:00
"@types/node": "20.x"
},
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.25",
"ansi-styles": "^5.2.0",
"cockatiel": "^3.1.3",
2024-05-09 07:29:55 +08:00
"istanbul-to-vscode": "^2.0.1"
}
}