Skip to content

Make Marketplace publication turnkey (closes the blocker on #1)#8

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/publish-project-online-5nHtj
May 15, 2026
Merged

Make Marketplace publication turnkey (closes the blocker on #1)#8
hyperpolymath merged 1 commit into
mainfrom
claude/publish-project-online-5nHtj

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Why #1 has been stuck

Publishing to the VS Code Marketplace requires an Azure DevOps Personal Access Token bound to the hyperpolymath publisher. That token can only be generated interactively by a human signed into the owning Microsoft/Azure account — no automation can create it. That single human step is the real blocker, not the code.

This PR removes every other obstacle so publishing becomes "add one secret, push one tag."

Changes

  • icons/a2ml-icon.pngpackage.json already pointed icon at a PNG that did not exist (only an SVG did). The Marketplace rejects SVG icons, so vsce package failed regardless of credentials. Generated a 128×128 PNG from the existing SVG.
  • .vscodeignore — without it, vsce bundled the entire repo (351 files: CI configs, docs, verification dirs). Now ships a clean 12 files / 18 KB of runtime assets only.
  • .github/workflows/marketplace-publish.yml — tag-triggered (v*) + manual dispatch. Packages a .vsix, verifies the tag matches package.json, uploads the artifact, and publishes to the VS Code Marketplace (VSCE_PAT) and Open VSX (OVSX_PAT). Each publish is gated on its secret, so a missing token skips rather than fails. Uses Deno (curl-installed, matching release.yml) to respect the repo's npm/bun blocker.
  • docs/PUBLISHING.adoc — exact runbook: how to create the PAT, the automated path, the manual fallback, and how to verify it is live.
  • ROADMAP.adoc — v0.1.1 milestone updated.

Verified locally

vsce package now succeeds cleanly (12 files, 18 KB). No npm/bun lockfiles introduced.

Remaining human step (cannot be automated)

  1. Create the Azure DevOps PAT (steps in docs/PUBLISHING.adoc).
  2. Add it as the VSCE_PAT repository secret.
  3. Push a v0.1.0 tag — CI publishes automatically.

https://claude.ai/code/session_0111iLmV7VFMTFGigST1M1cb


Generated by Claude Code

Removes every non-human blocker for publishing vscode-a2ml:

- Add icons/a2ml-icon.png (Marketplace rejects SVG icons; package.json
  already referenced the PNG, so vsce package previously failed)
- Add .vscodeignore so the .vsix ships only runtime assets
  (12 files / 18 KB instead of the entire repo / 351 files)
- Add Marketplace Publish workflow: tag-triggered, packages a .vsix and
  publishes to the VS Code Marketplace and Open VSX, each gated on its
  secret so a missing token skips rather than fails
- Document the one remaining human step (Azure DevOps PAT) and the full
  runbook in docs/PUBLISHING.adoc; update ROADMAP

https://claude.ai/code/session_0111iLmV7VFMTFGigST1M1cb
@hyperpolymath hyperpolymath marked this pull request as ready for review May 15, 2026 11:32
@hyperpolymath hyperpolymath merged commit e608603 into main May 15, 2026
17 of 19 checks passed
@hyperpolymath hyperpolymath deleted the claude/publish-project-online-5nHtj branch May 15, 2026 11:32
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.

2 participants