diff --git a/package-lock.json b/package-lock.json index 4b19394..fbb9140 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "xml2js": "^0.4.23" }, "devDependencies": { - "@types/node": "^13.13.2", + "@types/node": "^22.7.4", "@types/node-fetch": "^2.5.7", "@types/vscode": "^1.44.0", "@types/xml2js": "^0.4.5", @@ -49,10 +49,13 @@ } }, "node_modules/@types/node": { - "version": "13.13.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.2.tgz", - "integrity": "sha512-LB2R1Oyhpg8gu4SON/mfforE525+Hi/M1ineICEDftqNVTyFg1aRIeGuTvXAoWHc4nbrFncWtJgMmoyRvuGh7A==", - "dev": true + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "dev": true, + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/node-fetch": { "version": "2.5.7", @@ -489,6 +492,12 @@ "node": ">=4.2.0" } }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index effe8e0..e96a8b0 100644 --- a/package.json +++ b/package.json @@ -1,162 +1,162 @@ -{ - "name": "chocolatey-vscode", - "displayName": "Chocolatey", - "publisher": "gep13", - "description": "Set of snippets and commands for helping with creating packages for Chocolatey.", - "version": "0.2.2", - "icon": "images/chocolatey.png", - "private": true, - "author": { - "name": "gep13" - }, - "bugs": { - "url": "https://github.com/chocolatey-community/chocolatey-vscode/issues" - }, - "homepage": "https://github.com/chocolatey-community/chocolatey-vscode", - "repository": { - "type": "git", - "url": "https://github.com/chocolatey-community/chocolatey-vscode" - }, - "main": "./out/extension", - "galleryBanner": { - "color": "#DCEBFC", - "theme": "light" - }, - "activationEvents": [ - "onCommand:chocolatey.new", - "onCommand:chocolatey.pack", - "onCommand:chocolatey.delete", - "onCommand:chocolatey.push", - "onCommand:chocolatey.installTemplates", - "onCommand:chocolatey.apikey", - "workspaceContains:**/*.nuspec" - ], - "engines": { - "vscode": "^1.30.0" - }, - "categories": [ - "Other" - ], - "contributes": { - "configuration": [ - { - "type": "object", - "title": "Chocolatey Configuration", - "properties": { - "chocolatey.templates": { - "type": "object", - "default": { - "names": [ - "msi.template", - "zip.template" - ], - "source": "https://chocolatey.org/api/v2/" - }, - "properties": { - "names": { - "type": "array", - "description": "The names of the Chocolatey Packages which contain templates which should be installed.", - "default": [ - "msi.template", - "zip.template" - ] - }, - "source": { - "type": "string", - "description": "The source to install the template packages from.", - "default": "https://chocolatey.org/api/v2/" - } - }, - "description": "The Chocolatey Template Packages Configuration" - }, - "chocolatey.commands": { - "properties": { - "type": "object", - "new": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "description": "A key value pair of properties to pass to Chocolatey when creating a new package.", - "uniqueItems": true, - "title": "New package properties" - } - } - } - } - } - } - } - ], - "commands": [ - { - "command": "chocolatey.new", - "title": "Chocolatey: Create new Chocolatey package" - }, - { - "command": "chocolatey.pack", - "title": "Chocolatey: Pack Chocolatey package(s)" - }, - { - "command": "chocolatey.delete", - "title": "Chocolatey: Delete Chocolatey package(s)" - }, - { - "command": "chocolatey.push", - "title": "Chocolatey: Push Chocolatey package(s)" - }, - { - "command": "chocolatey.installTemplates", - "title": "Chocolatey: Install Template package(s)" - }, - { - "command": "chocolatey.apikey", - "title": "Chocolatey: Add API Key" - } - ], - "menus": { - "explorer/context": [ - { - "when": "explorerResourceIsFolder", - "command": "chocolatey.new", - "group": "2_workspace" - } - ] - }, - "snippets": [ - { - "language": "powershell", - "path": "./snippets/powershell.json" - } - ], - "languages": [ - { - "id": "zip", - "extensions": [ - ".nupkg" - ] - } - ] - }, - "scripts": { - "vscode:prepublish": "npm run compile", - "compile": "tsc -p ./", - "watch": "tsc -watch -p ./", - "test": "npm run compile && node ./node_modules/vscode/bin/test" - }, - "devDependencies": { - "@types/node": "^13.13.2", - "@types/node-fetch": "^2.5.7", - "@types/vscode": "^1.44.0", - "@types/xml2js": "^0.4.5", - "tslint": "^6.1.1", - "typescript": "^3.8.3" - }, - "dependencies": { - "xml2js": "^0.4.23" - }, - "extensionPack": [ - "ms-vscode.PowerShell", - "slevesque.vscode-zipexplorer" - ] -} +{ + "name": "chocolatey-vscode", + "displayName": "Chocolatey", + "publisher": "gep13", + "description": "Set of snippets and commands for helping with creating packages for Chocolatey.", + "version": "0.2.2", + "icon": "images/chocolatey.png", + "private": true, + "author": { + "name": "gep13" + }, + "bugs": { + "url": "https://github.com/chocolatey-community/chocolatey-vscode/issues" + }, + "homepage": "https://github.com/chocolatey-community/chocolatey-vscode", + "repository": { + "type": "git", + "url": "https://github.com/chocolatey-community/chocolatey-vscode" + }, + "main": "./out/extension", + "galleryBanner": { + "color": "#DCEBFC", + "theme": "light" + }, + "activationEvents": [ + "onCommand:chocolatey.new", + "onCommand:chocolatey.pack", + "onCommand:chocolatey.delete", + "onCommand:chocolatey.push", + "onCommand:chocolatey.installTemplates", + "onCommand:chocolatey.apikey", + "workspaceContains:**/*.nuspec" + ], + "engines": { + "vscode": "^1.30.0" + }, + "categories": [ + "Other" + ], + "contributes": { + "configuration": [ + { + "type": "object", + "title": "Chocolatey Configuration", + "properties": { + "chocolatey.templates": { + "type": "object", + "default": { + "names": [ + "msi.template", + "zip.template" + ], + "source": "https://chocolatey.org/api/v2/" + }, + "properties": { + "names": { + "type": "array", + "description": "The names of the Chocolatey Packages which contain templates which should be installed.", + "default": [ + "msi.template", + "zip.template" + ] + }, + "source": { + "type": "string", + "description": "The source to install the template packages from.", + "default": "https://chocolatey.org/api/v2/" + } + }, + "description": "The Chocolatey Template Packages Configuration" + }, + "chocolatey.commands": { + "properties": { + "type": "object", + "new": { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "A key value pair of properties to pass to Chocolatey when creating a new package.", + "uniqueItems": true, + "title": "New package properties" + } + } + } + } + } + } + } + ], + "commands": [ + { + "command": "chocolatey.new", + "title": "Chocolatey: Create new Chocolatey package" + }, + { + "command": "chocolatey.pack", + "title": "Chocolatey: Pack Chocolatey package(s)" + }, + { + "command": "chocolatey.delete", + "title": "Chocolatey: Delete Chocolatey package(s)" + }, + { + "command": "chocolatey.push", + "title": "Chocolatey: Push Chocolatey package(s)" + }, + { + "command": "chocolatey.installTemplates", + "title": "Chocolatey: Install Template package(s)" + }, + { + "command": "chocolatey.apikey", + "title": "Chocolatey: Add API Key" + } + ], + "menus": { + "explorer/context": [ + { + "when": "explorerResourceIsFolder", + "command": "chocolatey.new", + "group": "2_workspace" + } + ] + }, + "snippets": [ + { + "language": "powershell", + "path": "./snippets/powershell.json" + } + ], + "languages": [ + { + "id": "zip", + "extensions": [ + ".nupkg" + ] + } + ] + }, + "scripts": { + "vscode:prepublish": "npm run compile", + "compile": "tsc -p ./", + "watch": "tsc -watch -p ./", + "test": "npm run compile && node ./node_modules/vscode/bin/test" + }, + "devDependencies": { + "@types/node": "^22.7.4", + "@types/node-fetch": "^2.5.7", + "@types/vscode": "^1.44.0", + "@types/xml2js": "^0.4.5", + "tslint": "^6.1.1", + "typescript": "^3.8.3" + }, + "dependencies": { + "xml2js": "^0.4.23" + }, + "extensionPack": [ + "ms-vscode.PowerShell", + "slevesque.vscode-zipexplorer" + ] +}