{"_id":"@vscode/vsce","_rev":"200189","name":"@vscode/vsce","description":"VSCode Extension Manager","dist-tags":{"latest":"2.18.0"},"maintainers":[{"name":"alexandrudima","email":""},{"name":"joaomoreno.ms","email":""},{"name":"kaimaetzel","email":""},{"name":"lszomoru","email":""},{"name":"microsoft1es","email":""},{"name":"sbatten","email":""},{"name":"vscode-bot","email":""}],"time":{"modified":"2023-03-20T08:47:39.000Z","created":"2022-12-02T15:35:28.341Z","2.18.0":"2023-02-24T12:24:15.238Z","2.17.0":"2023-01-27T10:28:34.951Z","2.16.0":"2022-12-21T16:09:34.324Z","2.15.0":"2022-12-02T15:35:28.341Z"},"users":{},"author":{"name":"Microsoft Corporation"},"repository":{"type":"git","url":"git+https://github.com/Microsoft/vsce.git"},"versions":{"2.18.0":{"name":"@vscode/vsce","version":"2.18.0","description":"VSCode Extension Manager","repository":{"type":"git","url":"git+https://github.com/Microsoft/vsce.git"},"homepage":"https://code.visualstudio.com","bugs":{"url":"https://github.com/Microsoft/vsce/issues"},"keywords":["vscode","vsce","extension"],"publishConfig":{"access":"public"},"contributors":[{"name":"Microsoft Corporation"}],"author":{"name":"Microsoft Corporation"},"license":"MIT","main":"out/api.js","typings":"dist/vsce.d.ts","bin":{"vsce":"vsce"},"scripts":{"compile":"tsc","api":"api-extractor run --local --verbose","build":"npm run compile && npm run api","watch:build":"npm run compile -- --watch","test":"mocha","watch:test":"npm run test -- --watch"},"engines":{"node":">= 14"},"dependencies":{"azure-devops-node-api":"^11.0.1","chalk":"^2.4.2","cheerio":"^1.0.0-rc.9","commander":"^6.1.0","glob":"^7.0.6","hosted-git-info":"^4.0.2","jsonc-parser":"^3.2.0","leven":"^3.1.0","markdown-it":"^12.3.2","mime":"^1.3.4","minimatch":"^3.0.3","parse-semver":"^1.1.1","read":"^1.0.7","semver":"^5.1.0","tmp":"^0.2.1","typed-rest-client":"^1.8.4","url-join":"^4.0.1","xml2js":"^0.4.23","yauzl":"^2.3.1","yazl":"^2.2.2","keytar":"^7.7.0"},"devDependencies":{"@microsoft/api-extractor":"^7.33.7","@types/cheerio":"^0.22.29","@types/glob":"^7.1.1","@types/hosted-git-info":"^3.0.2","@types/markdown-it":"^0.0.2","@types/mime":"^1","@types/minimatch":"^3.0.3","@types/mocha":"^7.0.2","@types/node":"^14.17.32","@types/read":"^0.0.28","@types/semver":"^6.0.0","@types/tmp":"^0.2.2","@types/url-join":"^4.0.1","@types/xml2js":"^0.4.4","@types/yauzl":"^2.9.2","@types/yazl":"^2.4.2","mocha":"^9.2.0","source-map-support":"^0.4.2","ts-node":"^10.9.1","typescript":"^4.3.2"},"optionalDependencies":{"keytar":"^7.7.0"},"mocha":{"require":["ts-node/register"],"watch-files":"src/**","spec":"src/test/**/*.ts"},"_id":"@vscode/vsce@2.18.0","_integrity":"sha512-tUA3XoKx5xjoi3EDcngk0VUYMhvfXLhS4s7CntpLPh1qtLYtgSCexTIMUHkCy6MqyozRW98bdW3a2yHPEADRnQ==","_resolved":"/mnt/vss/_work/1/vsce/vscode-vsce-2.18.0.tgz","_from":"file:vscode-vsce-2.18.0.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"shasum":"9f40bf8e7df084a36844b9dadf5c277265c9fbd6","size":35239,"noattachment":false,"key":"/@vscode/vsce/-/@vscode/vsce-2.18.0.tgz","tarball":"http://name.csiicloud.com:7001/@vscode/vsce/download/@vscode/vsce-2.18.0.tgz"},"_npmUser":{"name":"vscode-bot","email":"vscode-bot-npm@microsoft.com"},"directories":{},"maintainers":[{"name":"alexandrudima","email":""},{"name":"joaomoreno.ms","email":""},{"name":"kaimaetzel","email":""},{"name":"lszomoru","email":""},{"name":"microsoft1es","email":""},{"name":"sbatten","email":""},{"name":"vscode-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vsce_2.18.0_1677241455085_0.829511410605519"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-24T12:24:15.238Z","publish_time":1677241455238,"_cnpm_publish_time":1677241455238},"2.17.0":{"name":"@vscode/vsce","version":"2.17.0","description":"VSCode Extension Manager","repository":{"type":"git","url":"git+https://github.com/Microsoft/vsce.git"},"homepage":"https://code.visualstudio.com","bugs":{"url":"https://github.com/Microsoft/vsce/issues"},"keywords":["vscode","vsce","extension"],"publishConfig":{"access":"public"},"contributors":[{"name":"Microsoft Corporation"}],"author":{"name":"Microsoft Corporation"},"license":"MIT","main":"out/api.js","typings":"dist/vsce.d.ts","bin":{"vsce":"vsce"},"scripts":{"compile":"tsc","api":"api-extractor run --local --verbose","build":"npm run compile && npm run api","watch:build":"npm run compile -- --watch","test":"mocha","watch:test":"npm run test -- --watch","prepare":"husky install"},"engines":{"node":">= 14"},"dependencies":{"azure-devops-node-api":"^11.0.1","chalk":"^2.4.2","cheerio":"^1.0.0-rc.9","commander":"^6.1.0","glob":"^7.0.6","hosted-git-info":"^4.0.2","leven":"^3.1.0","markdown-it":"^12.3.2","mime":"^1.3.4","minimatch":"^3.0.3","parse-semver":"^1.1.1","read":"^1.0.7","semver":"^5.1.0","tmp":"^0.2.1","typed-rest-client":"^1.8.4","url-join":"^4.0.1","xml2js":"^0.4.23","yauzl":"^2.3.1","yazl":"^2.2.2","keytar":"^7.7.0"},"devDependencies":{"@microsoft/api-extractor":"^7.33.7","@types/cheerio":"^0.22.29","@types/glob":"^7.1.1","@types/hosted-git-info":"^3.0.2","@types/markdown-it":"^0.0.2","@types/mime":"^1","@types/minimatch":"^3.0.3","@types/mocha":"^7.0.2","@types/node":"^14.17.32","@types/read":"^0.0.28","@types/semver":"^6.0.0","@types/tmp":"^0.2.2","@types/url-join":"^4.0.1","@types/xml2js":"^0.4.4","@types/yauzl":"^2.9.2","@types/yazl":"^2.4.2","husky":"^7.0.4","mocha":"^9.2.0","prettier":"2.1.2","pretty-quick":"^3.0.2","source-map-support":"^0.4.2","ts-node":"^10.9.1","typescript":"^4.3.2"},"optionalDependencies":{"keytar":"^7.7.0"},"mocha":{"require":["ts-node/register"],"watch-files":"src/**","spec":"src/test/**/*.ts"},"prettier":{"useTabs":true,"printWidth":120,"singleQuote":true,"arrowParens":"avoid"},"_id":"@vscode/vsce@2.17.0","_integrity":"sha512-W4HN5MtTVj/mroQU1d82bUEeWM3dUykMFnMYZPtZ6jrMiHN1PUoN3RGcS896N0r2rIq8KpWDtufcQHgK8VfgpA==","_resolved":"/mnt/vss/_work/1/vsce/vscode-vsce-2.17.0.tgz","_from":"file:vscode-vsce-2.17.0.tgz","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"shasum":"64093e1e083673081ea8bd7e69745ff2f632003e","size":35186,"noattachment":false,"key":"/@vscode/vsce/-/@vscode/vsce-2.17.0.tgz","tarball":"http://name.csiicloud.com:7001/@vscode/vsce/download/@vscode/vsce-2.17.0.tgz"},"_npmUser":{"name":"vscode-bot","email":"vscode-bot-npm@microsoft.com"},"directories":{},"maintainers":[{"name":"alexandrudima","email":""},{"name":"joaomoreno.ms","email":""},{"name":"kaimaetzel","email":""},{"name":"lszomoru","email":""},{"name":"microsoft1es","email":""},{"name":"sbatten","email":""},{"name":"vscode-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vsce_2.17.0_1674815314798_0.41159502050298613"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-27T10:28:34.951Z","publish_time":1674815314951,"_cnpm_publish_time":1674815314951},"2.16.0":{"name":"@vscode/vsce","version":"2.16.0","description":"VSCode Extension Manager","repository":{"type":"git","url":"git+https://github.com/Microsoft/vsce.git"},"homepage":"https://code.visualstudio.com","bugs":{"url":"https://github.com/Microsoft/vsce/issues"},"keywords":["vscode","vsce","extension"],"publishConfig":{"access":"public"},"contributors":[{"name":"Microsoft Corporation"}],"author":{"name":"Microsoft Corporation"},"license":"MIT","main":"out/api.js","typings":"dist/vsce.d.ts","bin":{"vsce":"vsce"},"scripts":{"compile":"tsc","api":"api-extractor run --local --verbose","build":"npm run compile && npm run api","watch:build":"npm run compile -- --watch","test":"mocha","watch:test":"npm run test -- --watch","prepare":"husky install"},"engines":{"node":">= 14"},"dependencies":{"azure-devops-node-api":"^11.0.1","chalk":"^2.4.2","cheerio":"^1.0.0-rc.9","commander":"^6.1.0","glob":"^7.0.6","hosted-git-info":"^4.0.2","leven":"^3.1.0","markdown-it":"^12.3.2","mime":"^1.3.4","minimatch":"^3.0.3","parse-semver":"^1.1.1","read":"^1.0.7","semver":"^5.1.0","tmp":"^0.2.1","typed-rest-client":"^1.8.4","url-join":"^4.0.1","xml2js":"^0.4.23","yauzl":"^2.3.1","yazl":"^2.2.2","keytar":"^7.7.0"},"devDependencies":{"@microsoft/api-extractor":"^7.33.7","@types/cheerio":"^0.22.29","@types/glob":"^7.1.1","@types/hosted-git-info":"^3.0.2","@types/markdown-it":"^0.0.2","@types/mime":"^1","@types/minimatch":"^3.0.3","@types/mocha":"^7.0.2","@types/node":"^14.17.32","@types/read":"^0.0.28","@types/semver":"^6.0.0","@types/tmp":"^0.2.2","@types/url-join":"^4.0.1","@types/xml2js":"^0.4.4","@types/yauzl":"^2.9.2","@types/yazl":"^2.4.2","husky":"^7.0.4","mocha":"^9.2.0","prettier":"2.1.2","pretty-quick":"^3.0.2","source-map-support":"^0.4.2","ts-node":"^10.9.1","typescript":"^4.3.2"},"optionalDependencies":{"keytar":"^7.7.0"},"mocha":{"require":["ts-node/register"],"watch-files":"src/**","spec":"src/test/**/*.ts"},"prettier":{"useTabs":true,"printWidth":120,"singleQuote":true,"arrowParens":"avoid"},"_id":"@vscode/vsce@2.16.0","_integrity":"sha512-BhJ0zO7UxShLFBZM6jwOLt1ZVoqQ4r5Lj/kHNeYp0ICPXhz/erqBSMQnHkRgkjn2L/bh+TYFGkZyguhu/SKsjw==","_resolved":"/mnt/vss/_work/1/vsce/vscode-vsce-2.16.0.tgz","_from":"file:vscode-vsce-2.16.0.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"shasum":"a3ddcf7e84914576f35d891e236bc496c568776f","size":35016,"noattachment":false,"key":"/@vscode/vsce/-/@vscode/vsce-2.16.0.tgz","tarball":"http://name.csiicloud.com:7001/@vscode/vsce/download/@vscode/vsce-2.16.0.tgz"},"_npmUser":{"name":"vscode-bot","email":"vscode-bot-npm@microsoft.com"},"directories":{},"maintainers":[{"name":"alexandrudima","email":""},{"name":"joaomoreno.ms","email":""},{"name":"kaimaetzel","email":""},{"name":"lszomoru","email":""},{"name":"microsoft1es","email":""},{"name":"sbatten","email":""},{"name":"vscode-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vsce_2.16.0_1671638974134_0.9326263768742562"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T16:21:21.856Z","publish_time":1671638974324,"_cnpm_publish_time":1671638974324},"2.15.0":{"name":"@vscode/vsce","version":"2.15.0","description":"VSCode Extension Manager","repository":{"type":"git","url":"git+https://github.com/Microsoft/vsce.git"},"homepage":"https://code.visualstudio.com","bugs":{"url":"https://github.com/Microsoft/vsce/issues"},"keywords":["vscode","vsce","extension"],"publishConfig":{"access":"public"},"contributors":[{"name":"Microsoft Corporation"}],"author":{"name":"Microsoft Corporation"},"license":"MIT","main":"out/api.js","typings":"out/api.d.ts","bin":{"vsce":"vsce"},"scripts":{"compile":"tsc","build":"tsc","watch:build":"npm run compile -- --watch","test":"mocha","watch:test":"npm run test -- --watch","prepare":"husky install"},"engines":{"node":">= 14"},"dependencies":{"azure-devops-node-api":"^11.0.1","chalk":"^2.4.2","cheerio":"^1.0.0-rc.9","commander":"^6.1.0","glob":"^7.0.6","hosted-git-info":"^4.0.2","keytar":"^7.7.0","leven":"^3.1.0","markdown-it":"^12.3.2","mime":"^1.3.4","minimatch":"^3.0.3","parse-semver":"^1.1.1","read":"^1.0.7","semver":"^5.1.0","tmp":"^0.2.1","typed-rest-client":"^1.8.4","url-join":"^4.0.1","xml2js":"^0.4.23","yauzl":"^2.3.1","yazl":"^2.2.2"},"devDependencies":{"@types/cheerio":"^0.22.29","@types/glob":"^7.1.1","@types/hosted-git-info":"^3.0.2","@types/markdown-it":"^0.0.2","@types/mime":"^1","@types/minimatch":"^3.0.3","@types/mocha":"^7.0.2","@types/node":"^14.17.32","@types/read":"^0.0.28","@types/semver":"^6.0.0","@types/tmp":"^0.2.2","@types/url-join":"^4.0.1","@types/xml2js":"^0.4.4","@types/yauzl":"^2.9.2","@types/yazl":"^2.4.2","husky":"^7.0.4","mocha":"^9.2.0","prettier":"2.1.2","pretty-quick":"^3.0.2","source-map-support":"^0.4.2","ts-node":"^10.0.0","typescript":"^4.3.2"},"mocha":{"require":["ts-node/register"],"watch-files":"src/**","spec":"src/test/**/*.ts"},"prettier":{"useTabs":true,"printWidth":120,"singleQuote":true,"arrowParens":"avoid"},"_id":"@vscode/vsce@2.15.0","_integrity":"sha512-c+qS5KSX4jO3RuGqeNQHqci4+WrcmLxHAwiWTR3PDR6wXzV1fQJxybueUOojXcqvsJR3W2AeROrpf+302ZkTfg==","_resolved":"/mnt/vss/_work/1/vsce/vscode-vsce-2.15.0.tgz","_from":"file:vscode-vsce-2.15.0.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"shasum":"fe48873d2204dcd5912d1384a889112cb219da65","size":34342,"noattachment":false,"key":"/@vscode/vsce/-/@vscode/vsce-2.15.0.tgz","tarball":"http://name.csiicloud.com:7001/@vscode/vsce/download/@vscode/vsce-2.15.0.tgz"},"_npmUser":{"name":"vscode-bot","email":"vscode-bot-npm@microsoft.com"},"directories":{},"maintainers":[{"name":"alexandrudima","email":""},{"name":"joaomoreno.ms","email":""},{"name":"kaimaetzel","email":""},{"name":"lszomoru","email":""},{"name":"microsoft1es","email":""},{"name":"sbatten","email":""},{"name":"vscode-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vsce_2.15.0_1669995328157_0.8280367598936103"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-02T15:42:27.883Z","publish_time":1669995328341,"_cnpm_publish_time":1669995328341}},"readme":"# vsce\n\n> _The Visual Studio Code Extension Manager_\n\n[![Build Status](https://dev.azure.com/monacotools/Monaco/_apis/build/status/npm/microsoft.vscode-vsce?repoName=microsoft%2Fvscode-vsce&branchName=main)](https://dev.azure.com/monacotools/Monaco/_build/latest?definitionId=446&repoName=microsoft%2Fvscode-vsce&branchName=main)\n[![Version](https://img.shields.io/npm/v/@vscode/vsce.svg)](https://npmjs.org/package/@vscode/vsce)\n\n## Requirements\n\n- [Node.js](https://nodejs.org/en/) at least `14.x.x`\n\nOr simply [Docker](#usage-via-docker).\n\n### Linux\n\nIn order to save credentials safely, this project uses [keytar](https://www.npmjs.com/package/keytar) which uses `libsecret`, which you may need to install before publishing extensions. Setting the `VSCE_STORE=file` environment variable will revert back to the file credential store. Using the `VSCE_PAT` environment variable will also avoid using keytar.\n\nDepending on your distribution, you will need to run the following command:\n\n- Debian/Ubuntu: `sudo apt-get install libsecret-1-dev`\n- Alpine: `apk add libsecret`\n- Red Hat-based: `sudo yum install libsecret-devel`\n- Arch Linux: `sudo pacman -S libsecret`\n\n## Usage\n\nInstall vsce globally:\n\n```console\nnpm install --global @vscode/vsce\n```\n\nVerify the installation:\n\n```console\nvsce --version\n```\n\n`vsce` is meant to be mainly used as a command line tool. It can also be used a library since it exposes a small [API](https://github.com/microsoft/vscode-vsce/blob/main/src/api.ts). When using vsce as a library be sure to sanitize any user input used in API calls, as a security measurement.\n\n## Usage via Docker\n\nYou can also build a container for running vsce:\n\n```console\n$ DOCKER_BUILDKIT=1 docker build --tag vsce \"https://github.com/microsoft/vscode-vsce.git#main\"\n```\n\nValidate the container:\n\n```console\ndocker run --rm -it vsce --version\n```\n\nPublish your local extension:\n\n```console\ndocker run --rm -it -v \"$(pwd)\":/workspace vsce publish\n```\n\n## Configuration\n\nYou can configure the behavior of `vsce` by using CLI flags (run `vsce --help` to list them all). Example:\n\n```console\nvsce publish --baseImagesUrl https://my.custom/base/images/url\n```\n\nOr you can also set them in the `package.json`, so that you avoid having to retype the common options again. Example:\n\n```jsonc\n// package.json\n{\n  \"vsce\": {\n    \"baseImagesUrl\": \"https://my.custom/base/images/url\"\n    \"dependencies\": true,\n    \"yarn\": false\n  }\n}\n```\n\n## Development\n\nFirst clone this repository, then:\n\n```console\n$ npm install\n\n$ npm run watch:build # or `watch:test` to also build tests\n```\n\nOnce the watcher is up and running, you can run out of sources with:\n\n```console\nnode vsce\n```\n\nTests can be executed with:\n\n```npm\n$ npm test\n```\n\n> **Note:** [Yarn](https://www.npmjs.com/package/yarn) is required to run the tests.\n## About\n\nThis tool assists in packaging and publishing Visual Studio Code extensions.\n\nRead the [**Documentation**](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VS Code website.\n","_attachments":{},"homepage":"https://code.visualstudio.com","bugs":{"url":"https://github.com/Microsoft/vsce/issues"},"license":"MIT"}