@tryghost/announcement-bar
v1.1.439
Published
Announcement banner for Ghost sites
Downloads
34,360
Maintainers
Keywords
Readme
Announcement Bar
Announcement banner injected into Ghost sites.
Development
Pre-requisites
- Run
pnpm setupin the Ghost monorepo root
Running via Ghost from the monorepo root
Start Ghost with the public-app watchers enabled:
pnpm dev:publicThis starts the standard development environment and the Announcement Bar watcher. To work on this package by itself, run these commands from this directory:
pnpm build # one-off build
pnpm dev # watch and rebuild the UMD bundle
pnpm test # run unit tests once
pnpm lint # lint source and testsRelease
Patch releases are automatic. When Announcement Bar changes on main, CI publishes the next patch version to npm and clears the jsDelivr cache. Sites using that major/minor line receive the patch without a Ghost release.
For an intentional minor or major release:
- From a clean branch, run
pnpm shipand select a minor or major version - Merge the release commit to
main - Wait for a public Ghost release to ship the new default version line
pnpm ship updates both the package version and Ghost's default Announcement Bar version.
Copyright & License
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.
