@tryghost/comments-ui 0.17.1 → 0.17.3
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 +18 -2
- package/package.json +12 -12
- package/umd/comments-ui.min.js +46 -29
- package/umd/comments-ui.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,22 @@ Comments widget that is embedded at the bottom of posts in Ghost.
|
|
|
12
12
|
|
|
13
13
|
You can automatically start the comments dev server when developing Ghost by running Ghost (in root folder) via `yarn dev --all` or `yarn dev --comments`. This will host the comments JavaScript files, and makes sure that Ghost uses these locally hosted assets instead of the ones from the CDN.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Release
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
A patch release can be rolled out instantly in production, whereas a minor/major release requires the Ghost monorepo to be updated and released. In either case, you need sufficient permissions to release `@tryghost` packages on NPM.
|
|
18
|
+
|
|
19
|
+
### Patch release
|
|
20
|
+
|
|
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))
|
|
24
|
+
|
|
25
|
+
### Minor / major release
|
|
26
|
+
|
|
27
|
+
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))
|
|
29
|
+
3. Wait until a new version of Ghost is released
|
|
30
|
+
|
|
31
|
+
# Copyright & License
|
|
32
|
+
|
|
33
|
+
Copyright (c) 2013-2024 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": "0.17.
|
|
3
|
+
"version": "0.17.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "git@github.com:TryGhost/comments-ui.git",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@headlessui/react": "1.7.19",
|
|
47
|
-
"@tiptap/core": "2.4
|
|
48
|
-
"@tiptap/extension-blockquote": "2.4
|
|
49
|
-
"@tiptap/extension-document": "2.4
|
|
50
|
-
"@tiptap/extension-hard-break": "2.4
|
|
51
|
-
"@tiptap/extension-link": "2.4
|
|
52
|
-
"@tiptap/extension-paragraph": "2.4
|
|
53
|
-
"@tiptap/extension-placeholder": "2.4
|
|
54
|
-
"@tiptap/extension-text": "2.4
|
|
55
|
-
"@tiptap/pm": "2.4
|
|
56
|
-
"@tiptap/react": "2.4
|
|
47
|
+
"@tiptap/core": "2.5.4",
|
|
48
|
+
"@tiptap/extension-blockquote": "2.5.4",
|
|
49
|
+
"@tiptap/extension-document": "2.5.4",
|
|
50
|
+
"@tiptap/extension-hard-break": "2.5.4",
|
|
51
|
+
"@tiptap/extension-link": "2.5.4",
|
|
52
|
+
"@tiptap/extension-paragraph": "2.5.4",
|
|
53
|
+
"@tiptap/extension-placeholder": "2.5.4",
|
|
54
|
+
"@tiptap/extension-text": "2.5.4",
|
|
55
|
+
"@tiptap/pm": "2.5.4",
|
|
56
|
+
"@tiptap/react": "2.5.4",
|
|
57
57
|
"react": "17.0.2",
|
|
58
58
|
"react-dom": "17.0.2",
|
|
59
59
|
"react-string-replace": "1.1.1"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
75
75
|
"eslint-plugin-tailwindcss": "3.13.0",
|
|
76
76
|
"jsdom": "24.1.0",
|
|
77
|
-
"postcss": "8.4.
|
|
77
|
+
"postcss": "8.4.39",
|
|
78
78
|
"tailwindcss": "3.4.4",
|
|
79
79
|
"vite": "4.5.3",
|
|
80
80
|
"vite-plugin-css-injected-by-js": "3.3.0",
|