Skip to content

chore(vscode-extension): reconcile publishers + bump to 0.4.1 (Open VSX → morrieinmaas) - #14

Merged
morrieinmaas merged 1 commit into
mainfrom
chore/vscode-ext-publisher-reconcile
May 19, 2026
Merged

chore(vscode-extension): reconcile publishers + bump to 0.4.1 (Open VSX → morrieinmaas)#14
morrieinmaas merged 1 commit into
mainfrom
chore/vscode-ext-publisher-reconcile

Conversation

@morrieinmaas

Copy link
Copy Markdown
Owner

Why

Open VSX already has a `morrieinmaas.zettelgeist` listing with 88 downloads from earlier releases. The previous `vscode-v0.4.0` tag created a parallel `morriearty-zg.zettelgeist` namespace on Open VSX (0 downloads), splitting users across two listings.

Going forward:

  • Open VSX → `morrieinmaas` (Cursor, Windsurf — keep the listing that already has users)
  • MS Marketplace → `morriearty-zg` (manual upload, separate flow, has reasons unrelated to this PR)

What changes

  • `package.json`:
    • publisher: `morriearty-zg → morrieinmaas` (the canonical committed value, targeted at Open VSX)
    • version: `0.4.0 → 0.4.1` (clean new version for the relisting)
    • new `package:msm` script
  • `.github/workflows/vscode-release.yml`: reads `publisher` from `package.json` (was hardcoded). No more two-publisher drift.
  • New `scripts/package-msm.mjs`: temporarily swaps the publisher field, runs `vsce package`, restores the original. Produces `zettelgeist-msm-.vsix` for the MS Marketplace manual upload flow. `try/finally` keeps the working tree clean even on vsce failure.

How to use

Locally:
```bash

Open VSX flavor (CI builds this; produced for completeness)

pnpm --filter zettelgeist build
cd packages/vscode-extension && pnpm dlx @vscode/vsce package --no-dependencies

→ zettelgeist-0.4.1.vsix (publisher: morrieinmaas)

MS Marketplace flavor

pnpm --filter zettelgeist package:msm

→ zettelgeist-msm-0.4.1.vsix (publisher: morriearty-zg)

```

Both VSIXes built locally during testing; `*.vsix` is gitignored.

After merge

Push tag `vscode-v0.4.1` → workflow:

  1. `ovsx create-namespace morrieinmaas` (idempotent, 409s harmlessly)
  2. `ovsx publish morrieinmaas.zettelgeist@0.4.1` → Cursor/Windsurf get the update
  3. Attaches the .vsix to a GitHub Release

Then manually delete `morriearty-zg.zettelgeist` from Open VSX via https://open-vsx.org/extension/morriearty-zg/zettelgeist (the ovsx CLI doesn't expose a delete verb — web UI only).

And drag-drop `zettelgeist-msm-0.4.1.vsix` to MS Marketplace (https://marketplace.visualstudio.com/manage/publishers/morriearty-zg) for that surface.

Test plan

  • Both VSIXes build cleanly locally
  • `package.json` restored after `package:msm` (try/finally works)
  • CI green on this PR
  • After merge: workflow publishes to Open VSX as `morrieinmaas.zettelgeist@0.4.1`
  • (manual) Delete orphan `morriearty-zg.zettelgeist` on Open VSX
  • (manual) Upload `-msm` VSIX to MS Marketplace

## Why

The Open VSX listing already exists under publisher `morrieinmaas` with
88 downloads from earlier releases. The previous tag run created a
parallel `morriearty-zg.zettelgeist` namespace on Open VSX (0
downloads), splitting the user base across two listings.

The user's preference, going forward:
- **Open VSX → `morrieinmaas`** (Cursor, Windsurf — keep the listing
  that already has users)
- **MS Marketplace → `morriearty-zg`** (manual upload, separate flow,
  has reasons orthogonal to this PR)

## What changes

- `packages/vscode-extension/package.json`:
  - publisher: `morriearty-zg` → `morrieinmaas` (Open VSX target, the
    canonical committed value)
  - version: `0.4.0` → `0.4.1` (clean new version for the relisting on
    Open VSX; avoids any "already published" weirdness)
  - new `package:msm` script

- `.github/workflows/vscode-release.yml`:
  - Reads `publisher` from `package.json` (was hardcoded `morriearty-zg`)
  - `ovsx create-namespace` and the GitHub Release notes now use that
    publisher value — no two-publisher drift possible.

- `packages/vscode-extension/scripts/package-msm.mjs` (new):
  - Builds a `morriearty-zg`-flavored VSIX (`zettelgeist-msm-<v>.vsix`)
    by temporarily swapping the publisher field in `package.json`,
    running `vsce package`, and restoring the original on completion
    (try/finally guarantees the working tree stays clean even on
    vsce failure).
  - Invoked via `pnpm --filter zettelgeist package:msm`.

## Follow-up on Open VSX cleanup

After this lands and `morrieinmaas.zettelgeist@0.4.1` is live, the orphan
`morriearty-zg.zettelgeist@0.4.0` listing on Open VSX should be deleted
via the web UI at https://open-vsx.org/extension/morriearty-zg/zettelgeist
(ovsx CLI doesn't expose an unpublish/delete verb today).
@morrieinmaas
morrieinmaas merged commit d4613fb into main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant