2015-10-07 10:51:59 +02:00
|
|
|
# VSCode Extension Manager
|
2015-09-28 19:34:49 +02:00
|
|
|
|
2015-10-07 11:59:27 +02:00
|
|
|
This tool assists in publishing Visual Studio Code extensions.
|
2015-09-28 19:34:49 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
## Get Started
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
First, install using npm:
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
```
|
|
|
|
npm install -g vsce
|
2015-10-07 11:59:27 +02:00
|
|
|
```
|
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
Then, `cd` to your extension's directory.
|
|
|
|
It is good practice to list the files that will be included in your extension's
|
|
|
|
package, before you actually publish:
|
2015-10-07 11:59:27 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
$ vsce ls
|
|
|
|
hello.js
|
|
|
|
package.json
|
|
|
|
```
|
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
Publish away:
|
2015-09-28 19:34:49 +02:00
|
|
|
|
|
|
|
```
|
2015-10-07 11:59:27 +02:00
|
|
|
$ vsce publish
|
|
|
|
Publishing uuid@0.0.1...
|
|
|
|
Successfully published uuid@0.0.1!
|
2015-09-28 19:34:49 +02:00
|
|
|
```
|
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
**Note:** Before you can publish an extension to the gallery, you'll first need
|
|
|
|
to [create a **publisher**](docs/publishers.md).
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
## Help Topics
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
* [About the Manifest](docs/manifest.md)
|
|
|
|
* [About Publishers](docs/publishers.md)
|
|
|
|
* [Advanced Usage](docs/advanced.md)
|