vscode/extensions/npm/package.json
Robo 5216c04428
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 a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* 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 01:20:28 +09:00

362 lines
9 KiB
JSON

{
"name": "npm",
"publisher": "vscode",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.1",
"private": true,
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
"icon": "images/npm_icon.png",
"categories": [
"Other"
],
"enabledApiProposals": [
"terminalQuickFixProvider"
],
"scripts": {
"compile": "npx gulp compile-extension:npm",
"watch": "npx gulp watch-extension:npm"
},
"dependencies": {
"find-up": "^5.0.0",
"find-yarn-workspace-root": "^2.0.0",
"jsonc-parser": "^3.2.0",
"minimatch": "^5.1.6",
"request-light": "^0.7.0",
"which": "^4.0.0",
"which-pm": "^2.1.1",
"vscode-uri": "^3.0.8"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "20.x",
"@types/which": "^3.0.0"
},
"main": "./out/npmMain",
"browser": "./dist/browser/npmBrowserMain",
"activationEvents": [
"onTaskType:npm",
"onLanguage:json",
"workspaceContains:package.json"
],
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "%virtualWorkspaces%"
},
"untrustedWorkspaces": {
"supported": "limited",
"description": "%workspaceTrust%"
}
},
"contributes": {
"languages": [
{
"id": "ignore",
"extensions": [
".npmignore"
]
},
{
"id": "properties",
"extensions": [
".npmrc"
]
}
],
"views": {
"explorer": [
{
"id": "npm",
"name": "%view.name%",
"when": "npm:showScriptExplorer",
"icon": "$(json)",
"visibility": "hidden",
"contextualTitle": "%view.name%"
}
]
},
"commands": [
{
"command": "npm.runScript",
"title": "%command.run%",
"icon": "$(run)"
},
{
"command": "npm.debugScript",
"title": "%command.debug%",
"icon": "$(debug)"
},
{
"command": "npm.openScript",
"title": "%command.openScript%"
},
{
"command": "npm.runInstall",
"title": "%command.runInstall%"
},
{
"command": "npm.refresh",
"title": "%command.refresh%",
"icon": "$(refresh)"
},
{
"command": "npm.runSelectedScript",
"title": "%command.runSelectedScript%"
},
{
"command": "npm.runScriptFromFolder",
"title": "%command.runScriptFromFolder%"
},
{
"command": "npm.packageManager",
"title": "%command.packageManager%"
}
],
"menus": {
"commandPalette": [
{
"command": "npm.refresh",
"when": "false"
},
{
"command": "npm.runScript",
"when": "false"
},
{
"command": "npm.debugScript",
"when": "false"
},
{
"command": "npm.openScript",
"when": "false"
},
{
"command": "npm.runInstall",
"when": "false"
},
{
"command": "npm.runSelectedScript",
"when": "false"
},
{
"command": "npm.runScriptFromFolder",
"when": "false"
},
{
"command": "npm.packageManager",
"when": "false"
}
],
"editor/context": [
{
"command": "npm.runSelectedScript",
"when": "resourceFilename == 'package.json' && resourceScheme == file",
"group": "navigation@+1"
}
],
"view/title": [
{
"command": "npm.refresh",
"when": "view == npm",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "npm.openScript",
"when": "view == npm && viewItem == packageJSON",
"group": "navigation@1"
},
{
"command": "npm.runInstall",
"when": "view == npm && viewItem == packageJSON",
"group": "navigation@2"
},
{
"command": "npm.openScript",
"when": "view == npm && viewItem == script",
"group": "navigation@1"
},
{
"command": "npm.runScript",
"when": "view == npm && viewItem == script",
"group": "navigation@2"
},
{
"command": "npm.runScript",
"when": "view == npm && viewItem == script",
"group": "inline"
},
{
"command": "npm.debugScript",
"when": "view == npm && viewItem == script",
"group": "inline"
},
{
"command": "npm.debugScript",
"when": "view == npm && viewItem == script",
"group": "navigation@3"
}
],
"explorer/context": [
{
"when": "config.npm.enableRunFromFolder && explorerViewletVisible && explorerResourceIsFolder && resourceScheme == file",
"command": "npm.runScriptFromFolder",
"group": "2_workspace"
}
]
},
"configuration": {
"id": "npm",
"type": "object",
"title": "Npm",
"properties": {
"npm.autoDetect": {
"type": "string",
"enum": [
"off",
"on"
],
"default": "on",
"scope": "resource",
"description": "%config.npm.autoDetect%"
},
"npm.runSilent": {
"type": "boolean",
"default": false,
"scope": "resource",
"markdownDescription": "%config.npm.runSilent%"
},
"npm.packageManager": {
"scope": "resource",
"type": "string",
"enum": [
"auto",
"npm",
"yarn",
"pnpm",
"bun"
],
"enumDescriptions": [
"%config.npm.packageManager.auto%",
"%config.npm.packageManager.npm%",
"%config.npm.packageManager.yarn%",
"%config.npm.packageManager.pnpm%",
"%config.npm.packageManager.bun%"
],
"default": "auto",
"description": "%config.npm.packageManager%"
},
"npm.exclude": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "%config.npm.exclude%",
"scope": "resource"
},
"npm.enableScriptExplorer": {
"type": "boolean",
"default": false,
"scope": "resource",
"deprecationMessage": "The NPM Script Explorer is now available in 'Views' menu in the Explorer in all folders.",
"description": "%config.npm.enableScriptExplorer%"
},
"npm.enableRunFromFolder": {
"type": "boolean",
"default": false,
"scope": "resource",
"description": "%config.npm.enableRunFromFolder%"
},
"npm.scriptExplorerAction": {
"type": "string",
"enum": [
"open",
"run"
],
"markdownDescription": "%config.npm.scriptExplorerAction%",
"scope": "window",
"default": "open"
},
"npm.scriptExplorerExclude": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "%config.npm.scriptExplorerExclude%",
"scope": "resource",
"default": []
},
"npm.fetchOnlinePackageInfo": {
"type": "boolean",
"description": "%config.npm.fetchOnlinePackageInfo%",
"default": true,
"scope": "window",
"tags": [
"usesOnlineServices"
]
},
"npm.scriptHover": {
"type": "boolean",
"description": "%config.npm.scriptHover%",
"default": true,
"scope": "window"
}
}
},
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "https://json.schemastore.org/package"
},
{
"fileMatch": "bower.json",
"url": "https://json.schemastore.org/bower"
}
],
"taskDefinitions": [
{
"type": "npm",
"required": [
"script"
],
"properties": {
"script": {
"type": "string",
"description": "%taskdef.script%"
},
"path": {
"type": "string",
"description": "%taskdef.path%"
}
},
"when": "shellExecutionSupported"
}
],
"terminalQuickFixes": [
{
"id": "ms-vscode.npm-command",
"commandLineMatcher": "npm",
"commandExitResult": "error",
"outputMatcher": {
"anchor": "bottom",
"length": 8,
"lineMatcher": "Did you mean (?:this|one of these)\\?((?:\\n.+?npm .+ #.+)+)",
"offset": 2
}
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}