Skip to content

Point the Homebrew formula at the npm tarball and test it on macOS - #72

Merged
aloth merged 1 commit into
mainfrom
ci/homebrew-npm-tarball
Nov 16, 2026
Merged

aloth merged 1 commit into
mainfrom
ci/homebrew-npm-tarball

Conversation

@aloth

@aloth aloth commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Fixes #69.

Homebrew's npm helper removes prepare, prepack and postpack from package.json before it packs a formula's source, and the GitHub source tarball has no dist/. The packed package therefore contained only package.json, README.md and LICENSE, and brew install linked no binary.

  • The tap formula now installs the npm registry tarball, which ships the prebuilt dist/ (already changed in aloth/homebrew-tap for 0.18.0).
  • publish.yml passes the npm tarball URL to the formula bump and waits for that URL instead of the GitHub archive.
  • New homebrew.yml installs aloth/tap/olcli on macos-latest, runs brew test and checks that olcli, olcli-mcp and git-remote-overleaf are linked. publish.yml runs it after the bump, and it can be started by hand.

Homebrew's npm helper removes prepare, prepack and postpack from package.json before packing, and the GitHub source tarball has no dist/, so the formula installed no binary (#69). The bump now passes the npm registry tarball, which contains the prebuilt dist/, and waits for that URL instead of the GitHub archive. A new workflow, homebrew.yml, installs aloth/tap/olcli on macos-latest, runs brew test and checks that olcli, olcli-mcp and git-remote-overleaf are linked. publish.yml calls it after the bump, and it can be started by hand.
@aloth
aloth merged commit e042ddb into main Nov 16, 2026
2 checks passed
aloth added a commit that referenced this pull request Nov 18, 2026
Set version 0.18.1 in package.json, package-lock.json, CITATION.cff and server.json, and fold the Unreleased CHANGELOG entry for the Homebrew formula fix (#69, #72) into the 0.18.1 section dated 2026-11-18.
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.

Homebrew formula installs no binary: dist/ never built

1 participant