{"id":13998417,"url":"https://github.com/microsoft/vscode-vsce","last_synced_at":"2026-04-18T01:11:55.464Z","repository":{"id":37502712,"uuid":"42926209","full_name":"microsoft/vscode-vsce","owner":"microsoft","description":"VS Code Extension Manager","archived":false,"fork":false,"pushed_at":"2025-03-31T15:01:36.000Z","size":3251,"stargazers_count":873,"open_issues_count":26,"forks_count":215,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-04-06T08:04:14.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://code.visualstudio.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-22T10:04:25.000Z","updated_at":"2025-04-04T20:08:08.000Z","dependencies_parsed_at":"2023-02-15T07:21:00.164Z","dependency_job_id":"fddff79d-cbf4-4821-8cb8-6c0340e6f55d","html_url":"https://github.com/microsoft/vscode-vsce","commit_stats":{"total_commits":1104,"total_committers":118,"mean_commits":9.35593220338983,"dds":0.713768115942029,"last_synced_commit":"f1fc6d255d634849db9a7f28e59a031c49cd4918"},"previous_names":["microsoft/vsce"],"tags_count":294,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-vsce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-vsce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-vsce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-vsce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/vscode-vsce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856541,"owners_count":21007620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T19:01:39.182Z","updated_at":"2026-01-23T03:59:03.862Z","avatar_url":"https://github.com/microsoft.png","language":"TypeScript","readme":"# @vscode/vsce\n\n\u003e _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\u0026branchName=main)](https://dev.azure.com/monacotools/Monaco/_build/latest?definitionId=446\u0026repoName=microsoft%2Fvscode-vsce\u0026branchName=main)\n[![Version](https://img.shields.io/npm/v/@vscode/vsce.svg)](https://npmjs.org/package/@vscode/vsce)\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\n## Requirements\n\n[Node.js](https://nodejs.org/en/) at least `20.x.x`.\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\n```console\n$ npx @vscode/vsce --version\n```\n\n`@vscode/vsce` is meant to be mainly used as a command-line tool. It can also be used as a library since it exposes a small [API](https://github.com/microsoft/vscode-vsce/blob/main/src/api.ts). When using `@vscode/vsce` as a library, be sure to sanitize any user input used in API calls to prevent security issues.\n\nSupported package managers:\n\n- `npm \u003e=6`\n- `yarn \u003e=1 \u003c2`\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\n$ npx @vscode/vsce 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$ 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\n$ node vsce\n```\n\nTests can be executed with:\n\n```console\n$ npm test\n```\n\n\u003e **Note:** [Yarn](https://www.npmjs.com/package/yarn) is required to run the tests.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fvscode-vsce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fvscode-vsce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fvscode-vsce/lists"}