SuperAPI AI Directory

vscode-deploy-package

Deployment & operations

View repository

Updated 10-16 03:35

About this skill

When to use this skill

Use this skill when the development is complete and the user wants to install the extension or share it.

How to use this skill

  1. Install vsce: Ensure the packaging tool is installed.
    npm install -g vsce
    
  2. Package: Run the package command in the project root.
    vsce package
    
  3. Result: This generates a .vsix file (e.g., my-extension-0.0.1.vsix).

Pre-flight Checklist

Before packaging, ensure:

  • package.json has a valid publisher field. (If not, user can use any string for local testing, e.g., "local").
  • README.md is updated.
  • CHANGELOG.md is updated.
  • No strict linting errors prevent compilation.

Installation

To install the .vsix file:

  • GUI: Open VS Code Extensions view -> "..." menu -> "Install from VSIX..."
  • CLI: code --install-extension my-extension-0.0.1.vsix