@codingame/monaco-vscode-npm-default-extension 5.1.2 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -8
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import { registerExtension } from 'vscode/extensions';
|
|
|
3
3
|
var manifest = {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"],main:undefined,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"}};
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest, undefined, {"system":true,"readmePath":"README.md"});
|
|
6
|
-
registerFileUrl('README.md', new URL('./resources/README.md', import.meta.url).toString(),
|
|
7
|
-
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(),
|
|
8
|
-
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(),
|
|
9
|
-
registerFileUrl('images/code.svg', new URL('./resources/code.svg', import.meta.url).toString(),
|
|
10
|
-
registerFileUrl('images/npm_icon.png', new URL('./resources/npm_icon.png', import.meta.url).toString(),
|
|
11
|
-
registerFileUrl('dist/browser/npmBrowserMain.js', new URL('./resources/npmBrowserMain.js', import.meta.url).toString(),
|
|
12
|
-
registerFileUrl('dist/browser/npmBrowserMain', new URL('./resources/npmBrowserMain.js', import.meta.url).toString(),
|
|
13
|
-
registerFileUrl('dist/browser/npmBrowserMain.js.map', new URL('./resources/npmBrowserMain.js.map', import.meta.url).toString(),
|
|
6
|
+
registerFileUrl('README.md', new URL('./resources/README.md', import.meta.url).toString(), {"mimeType":"text/markdown","size":2693});
|
|
7
|
+
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(), {"mimeType":"application/json","size":5439});
|
|
8
|
+
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(), {"mimeType":"application/json","size":2480});
|
|
9
|
+
registerFileUrl('images/code.svg', new URL('./resources/code.svg', import.meta.url).toString(), {"mimeType":"image/svg+xml","size":434});
|
|
10
|
+
registerFileUrl('images/npm_icon.png', new URL('./resources/npm_icon.png', import.meta.url).toString(), {"mimeType":"image/png","size":523});
|
|
11
|
+
registerFileUrl('dist/browser/npmBrowserMain.js', new URL('./resources/npmBrowserMain.js', import.meta.url).toString(), {"mimeType":"application/javascript","size":41710});
|
|
12
|
+
registerFileUrl('dist/browser/npmBrowserMain', new URL('./resources/npmBrowserMain.js', import.meta.url).toString(), {"mimeType":"application/javascript","size":41710});
|
|
13
|
+
registerFileUrl('dist/browser/npmBrowserMain.js.map', new URL('./resources/npmBrowserMain.js.map', import.meta.url).toString(), {"mimeType":"application/json","size":191457});
|
|
14
14
|
|
|
15
15
|
export { whenReady };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-npm-default-extension",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@5.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@5.3.0"
|
|
22
22
|
}
|
|
23
23
|
}
|