@tryghost/admin-toolbar 0.1.271 → 0.1.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -4
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,9 +1,7 @@
1
1
  # Admin Toolbar
2
2
 
3
- Frontend staff toolbar for Ghost sites. Uses Preact (~3KB) instead of React
4
- (~40KB) since this is a lightweight public-facing widget that only needs basic
5
- rendering and hooks — the same rationale applies to any future small public
6
- scripts where bundle size matters more than ecosystem compatibility.
3
+ Frontend staff toolbar for Ghost sites. It uses Preact to keep the public-facing
4
+ bundle small while providing the rendering and hooks the toolbar needs.
7
5
 
8
6
  ## Development
9
7
 
@@ -26,6 +24,21 @@ that URL to `/ghost/assets/admin-toolbar/admin-toolbar.min.js`, which the dev
26
24
  gateway serves straight off disk from this package's `umd/` directory — so the
27
25
  watcher's output is picked up on the next request.
28
26
 
27
+ ## Release
28
+
29
+ Patch releases are automatic. When Admin Toolbar changes on `main`, CI publishes
30
+ the next patch version to npm and clears the jsDelivr cache. Sites using that
31
+ major/minor line receive the patch without a Ghost release.
32
+
33
+ For an intentional minor or major release:
34
+
35
+ 1. From a clean branch, run `pnpm ship` and select a minor or major version
36
+ 2. Merge the release commit to `main`
37
+ 3. Wait for a public Ghost release to ship the new default version line
38
+
39
+ `pnpm ship` updates both the package version and Ghost's default Admin Toolbar
40
+ version.
41
+
29
42
  # Copyright & License
30
43
 
31
44
  Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](https://github.com/TryGhost/Ghost/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@tryghost/admin-toolbar",
3
3
  "type": "module",
4
- "version": "0.1.271",
4
+ "version": "0.1.273",
5
+ "description": "Frontend staff toolbar for Ghost sites",
5
6
  "license": "MIT",
6
7
  "repository": {
7
8
  "type": "git",