/vscode-vsce

VS Code Extension Manager

Primary LanguageTypeScriptOtherNOASSERTION

vsce

The Visual Studio Code Extension Manager

Build Status npm version

Requirements

Usage

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.

Warning: When using vsce as a library be sure to sanitize any user input used in API calls, as a security measurement.

via Node.js

To install vsce globally, you can use the following command:

npm install -g vsce

via Docker

To build your own Docker image, first clone this repository and then run the following commands:

docker build -t vsce .
docker run -it -v /host/path/extension:/usr/share/vsce vsce # change /host/path/extension to your actual vsce extension path

Development

First clone this repository, then:

yarn
yarn watch # or `watch-test` to also run tests

Once the watcher is up and running, you can run out of sources with:

yarn vsce

Publish to NPM

Simply push a new tag and the CI will automatically publish to NPM. The usual flow is:

npm version [minor|patch]
git push --follow-tags

About

This tool assists in packaging and publishing Visual Studio Code extensions.

Read the Documentation on the VS Code website.