@tryghost/sodo-search 1.8.302 → 1.8.304

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 +16 -12
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Sodo Search
2
2
 
3
+ Search interface injected into Ghost sites.
4
+
3
5
  ## Development
4
6
 
5
7
  ### Pre-requisites
@@ -14,25 +16,27 @@ Start Ghost with the public-app watchers enabled:
14
16
  pnpm dev:public
15
17
  ```
16
18
 
17
- This starts the standard development environment and the Sodo Search watcher. To run only the package's build watcher, use `pnpm dev` from this directory.
18
-
19
- ## Release
19
+ This starts the standard development environment and the Sodo Search watcher.
20
+ To work on this package by itself, run these commands from this directory:
20
21
 
21
- A patch release can be rolled out instantly in production, whereas a minor/major release requires the Ghost monorepo to be updated and released.
22
- In either case, you need sufficient permissions to release `@tryghost` packages on NPM.
22
+ ```bash
23
+ pnpm build # one-off build
24
+ pnpm dev # watch and rebuild the UMD JavaScript and CSS
25
+ pnpm test # run unit tests once
26
+ pnpm lint # lint source and tests
27
+ ```
23
28
 
24
- ### Patch release
29
+ ## Release
25
30
 
26
- 1. Run `pnpm ship` and select a patch version when prompted
27
- 2. Merge the release commit to `main`
31
+ Patch releases are automatic. When Sodo Search 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.
28
32
 
29
- ### Minor / major release
33
+ For an intentional minor or major release:
30
34
 
31
- 1. Run `pnpm ship` and select a minor or major version when prompted
35
+ 1. From a clean branch, run `pnpm ship` and select a minor or major version
32
36
  2. Merge the release commit to `main`
33
- 3. Wait until a new version of Ghost is released
37
+ 3. Wait for a public Ghost release to ship the new default version line
34
38
 
35
- To use the new version of Sodo-Search in Ghost, update the version in Ghost core's default configuration (currently at `core/shared/config/default.json`)
39
+ `pnpm ship` updates both the package version and Ghost's default Sodo Search version.
36
40
 
37
41
  # Copyright & License
38
42
 
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@tryghost/sodo-search",
3
3
  "type": "module",
4
- "version": "1.8.302",
4
+ "version": "1.8.304",
5
+ "description": "Search interface for Ghost sites",
5
6
  "license": "MIT",
6
7
  "repository": {
7
8
  "type": "git",