@tryghost/admin-toolbar 0.1.241 → 0.1.243

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 +10 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,18 +7,24 @@ scripts where bundle size matters more than ecosystem compatibility.
7
7
 
8
8
  ## Development
9
9
 
10
+ Run `pnpm dev:public` from the monorepo root to start the standard development
11
+ environment and the Admin Toolbar watcher. To work on this package by itself,
12
+ run these commands from this directory:
13
+
10
14
  ```bash
11
15
  pnpm build # one-off build
12
- pnpm dev # build + preview with watch (started automatically by pnpm dev from root)
13
- pnpm test # build + run tests against UMD bundle
16
+ pnpm dev # watch and rebuild umd/admin-toolbar.min.js
17
+ pnpm test # build + run tests against the built bundle
14
18
  ```
15
19
 
16
20
  ## How it's served
17
21
 
18
22
  In production, the script is loaded from jsDelivr via the `adminToolbar` config
19
23
  in `defaults.json`, following the same CDN pattern as portal, comments-ui, and
20
- the other public apps. In development, the Docker Dockerfile overrides the URL
21
- to proxy through Caddy to the local vite preview server on port 4176.
24
+ the other public apps. In development, `docker/ghost-dev/Dockerfile` overrides
25
+ that URL to `/ghost/assets/admin-toolbar/admin-toolbar.min.js`, which the dev
26
+ gateway serves straight off disk from this package's `umd/` directory — so the
27
+ watcher's output is picked up on the next request.
22
28
 
23
29
  # Copyright & License
24
30
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tryghost/admin-toolbar",
3
3
  "type": "module",
4
- "version": "0.1.241",
4
+ "version": "0.1.243",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",