Skip to content

Working installs: self-syncing Homebrew tap, trusted publishing for npm and PyPI - #23

Merged
moderniselife merged 3 commits into
mainfrom
packaging
Nov 16, 2026
Merged

moderniselife merged 3 commits into
mainfrom
packaging

Conversation

@moderniselife

Copy link
Copy Markdown
Owner

The site and README listed brew, npm, pipx and winget installs, but none of them worked: every publish step was gated on a secret that was never set, so v1.5.0 "succeeded" without publishing anything, and the tap repo was empty.

Homebrew

  • moderniselife/homebrew-prism now has both casks plus an hourly sync workflow that reads the latest release and renders packaging/homebrew-cask/*.rb. No tap token needed, so the tap jobs are gone from release.yml.
  • Templates: current description, prism.mojolayers.com homepage, quarantine cleared for the app (the site already promised this), auto_updates, macOS 14 floor, zap.
  • Tested on macOS (Homebrew 7.0.11): both casks install and run, brew audit --online passes.

PyPI: trusted publishing (pending publisher, now live). 1.5.0 is published with all five wheels; the Windows wheel was never uploaded before because it was written outside the workspace.

npm: trusted publishing in release.yml. The first publish has to come from the account (npm can't trust a workflow for a package that doesn't exist yet). The launcher now downloads the binary on first run if install scripts were skipped (npm 11.19 warns it will start blocking them), with a per-user cache fallback.

Re-running: workflow_dispatch with a tag republishes just the packages for an existing release.

Website and READMEs: website link at the top of the README, prebuilt installs in Quick start, winget removed until it's set up.


Generated by Claude Code

…ng for npm and PyPI

- Cask templates: current description, prism.mojolayers.com homepage,
  quarantine cleared for the app too, auto_updates, macOS 14 floor, zap.
- release.yml: npm and PyPI publish with OIDC trusted publishing (no
  stored tokens); run it by hand with a tag to republish packages for an
  existing release. Tap jobs removed: the tap's own sync workflow keeps
  the casks current.
- npm launcher downloads the binary on first run when install scripts
  were skipped, falling back to a per-user cache if the package folder
  isn't writable.
- README: website link, prebuilt install options, current release notes.
  Website and READMEs drop winget until it's set up.
@moderniselife
moderniselife merged commit 0270958 into main Nov 16, 2026
5 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