This repo is packaged for Homebrew through the separate
aicw-io/homebrew-tap repository. In the EE workspace, that tap is checked out
as the homebrew-tap/ submodule.
Users install the stable release from the tap:
brew install aicw-io/tap/aicw-videoUsers can install the development build from the upstream main branch:
brew install --HEAD aicw-io/tap/aicw-videoPublish from the open-source package checkout:
cd core
npm login
npm whoami
npm ci
npm run build
npm pack --dry-run
npm publish --access publicNotes:
aicw-videois an unscoped public package name.--access publicis harmless for unscoped packages and required if the package ever becomes scoped.- npm package versions are immutable. Once
aicw-video@1.0.0is published, that exact version cannot be published again. - npm may require a 2FA one-time password during
npm publish. If prompted, use the current code from the npm account authenticator. npm pack --dry-runis the packaging check. Confirm it includesdist/,config.json,README.md,LICENSE,NOTICE.md, and release docs.
After npm publish succeeds:
git tag v1.0.0
git push origin v1.0.0Use the version from package.json for the tag.
Get the npm tarball URL and SHA-256:
npm view aicw-video@1.0.0 dist.tarball
curl -Ls https://registry.npmjs.org/aicw-video/-/aicw-video-1.0.0.tgz | shasum -a 256Then update homebrew-tap/Formula/aicw-video.rb from HEAD-only to stable:
url "https://registry.npmjs.org/aicw-video/-/aicw-video-1.0.0.tgz"
sha256 "REPLACE_WITH_SHA256"
version "1.0.0"
head "https://github.com/aicw-io/aicw-video.git", branch: "main"Keep the head line so development installs continue to work:
brew install --HEAD aicw-io/tap/aicw-videoFrom the tap checkout, register the local checkout as the tap:
cd homebrew-tap
ruby -c Formula/aicw-video.rb
brew tap aicw-io/tap "$PWD"
brew audit --strict aicw-io/tap/aicw-video
brew install --build-from-source aicw-io/tap/aicw-video
aicw-video doctorFor a development install:
brew install --HEAD aicw-io/tap/aicw-video- Merge the open-source
core/changes. - Publish
aicw-videoto npm. - Tag and push the matching source release.
- Update
homebrew-tap/Formula/aicw-video.rbwith the npm tarball URL and SHA-256. - Test
brew install aicw-io/tap/aicw-video. - Push the tap update.