Build a plugin

Write and test code locally. Basehalf handles identity, review, signed distribution, and updates.

Create, test, publish

  1. Create locally

    Generate a TypeScript plugin with a Basehalf project surface and local test workspace.

    npm install --global @basehalf/plugin-cli
    bh-plugin init my-plugin \
      --publisher your-publisher \
      --name my-plugin \
      --display-name "My Plugin" \
      --repository https://github.com/your-publisher/my-plugin
  2. Run in Basehalf

    Open the generated folder in Basehalf and press F5. The development host loads your local code.

    cd my-plugin
    npm install
    npm run check
  3. Submit for review

    Publish from the project. The first run opens one browser confirmation, then continues automatically.

    npm run publish