@auto-it/vscode
v11.3.0
Published
Publish an vscode extension
Downloads
624
Maintainers
Readme
Vscode Plugin
Publish a vscode extension.
Installation
This plugin is not included with the auto
CLI installed via NPM. To install:
npm i --save-dev @auto-it/vscode
# or
yarn add -D @auto-it/vscode
Usage
{
"plugins": [
"vscode"
// other plugins
]
}
Setup
- Create an organization for your extension
- Create a personal access token and store the token in your
.env
file asVSCE_TOKEN
and add the same variable to your CI - Create a publisher for your extension and set the
publisher
in yourpackage.json
That's it!
Learn more about creating a great looking extension.
Options
baseContentUrl
Prepend all relative links in README.md with this url.
{
"plugins": [
[
"vscode",
{ "baseContentUrl": "https://github.com/my-username/my-repo/tree/main" }
]
// other plugins
]
}
baseImagesUrl
Prepend all relative image links in README.md with this url.
{
"plugins": [
// other plugins
[
"vscode",
{
"baseContentUrl": "https://raw.githubusercontent.com/my-username/my-repo/main/"
}
]
]
}