@tryghost/comments-ui 1.0.6 → 1.0.8

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.
package/README.md CHANGED
@@ -19,15 +19,18 @@ A patch release can be rolled out instantly in production, whereas a minor/major
19
19
  ### Patch release
20
20
 
21
21
  1. Run `yarn ship` and select a patch version when prompted
22
- 2. (Optional) Clear JsDelivr cache to get the new version out instantly ([docs](https://www.notion.so/ghost/How-to-clear-jsDelivr-CDN-cache-2930bdbac02946eca07ac23ab3199bfa?pvs=4)). Typically, you'll need to open `https://purge.jsdelivr.net/ghost/comments-ui@~${COMMENTS_UI_VERSION}/umd/comments-ui.min.js` and
23
- `https://purge.jsdelivr.net/ghost/comments-ui@~${COMMENTS_UI_VERSION}/umd/main.css` in your browser, where `COMMENTS_UI_VERSION` is the latest minor version in `ghost/core/core/shared/config/defaults.json` ([code](https://github.com/TryGhost/Ghost/blob/0aef3d3beeebcd79a4bfd3ad27e0ac67554b5744/ghost/core/core/shared/config/defaults.json#L198))
22
+ 2. Merge the release commit to `main`
24
23
 
25
24
  ### Minor / major release
26
25
 
27
26
  1. Run `yarn ship` and select a minor or major version when prompted
28
- 2. Update the Comments UI version in `ghost/core/core/shared/config/defaults.json` to the new minor or major version ([code](https://github.com/TryGhost/Ghost/blob/0aef3d3beeebcd79a4bfd3ad27e0ac67554b5744/ghost/core/core/shared/config/defaults.json#L198))
27
+ 2. Merge the release commit to `main`
29
28
  3. Wait until a new version of Ghost is released
30
29
 
30
+ ### JsDelivr cache
31
+ If the CI doesn't clear JsDelivr cache to get the new version out instantly, you may want to do it yourself manually ([docs](https://www.notion.so/ghost/How-to-clear-jsDelivr-CDN-cache-2930bdbac02946eca07ac23ab3199bfa?pvs=4)). Typically, you'll need to open `https://purge.jsdelivr.net/ghost/comments-ui@~${COMMENTS_UI_VERSION}/umd/comments-ui.min.js` and
32
+ `https://purge.jsdelivr.net/ghost/comments-ui@~${COMMENTS_UI_VERSION}/umd/main.css` in your browser, where `COMMENTS_UI_VERSION` is the latest minor version in `ghost/core/core/shared/config/defaults.json` ([code](https://github.com/TryGhost/Ghost/blob/0aef3d3beeebcd79a4bfd3ad27e0ac67554b5744/ghost/core/core/shared/config/defaults.json#L198))
33
+
31
34
  # Copyright & License
32
35
 
33
36
  Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/comments-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "license": "MIT",
5
5
  "repository": "git@github.com:TryGhost/comments-ui.git",
6
6
  "author": "Ghost Foundation",
@@ -27,8 +27,7 @@
27
27
  "test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
28
28
  "lint": "eslint src --ext .js,.ts,.jsx,.tsx --cache",
29
29
  "preship": "yarn lint",
30
- "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
31
- "postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
30
+ "ship": "node ../../.github/scripts/release-apps.js",
32
31
  "prepublishOnly": "yarn build"
33
32
  },
34
33
  "browserslist": {
@@ -60,7 +59,7 @@
60
59
  "react-string-replace": "1.1.1"
61
60
  },
62
61
  "devDependencies": {
63
- "@playwright/test": "1.46.1",
62
+ "@playwright/test": "1.50.1",
64
63
  "@testing-library/jest-dom": "5.17.0",
65
64
  "@testing-library/react": "12.1.5",
66
65
  "@testing-library/user-event": "14.5.2",