@tryghost/portal 2.49.1 → 2.49.2
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 +6 -3
- package/package.json +2 -3
- package/umd/portal.min.js +41 -41
- package/umd/portal.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -74,15 +74,18 @@ In order to have Ghost's e2e tests run against the new code on CI or to test the
|
|
|
74
74
|
### Patch release
|
|
75
75
|
|
|
76
76
|
1. Run `yarn ship` and select a patch version when prompted
|
|
77
|
-
2.
|
|
78
|
-
`https://purge.jsdelivr.net/ghost/portal@~${PORTAL_VERSION}/umd/main.css` in your browser, where `PORTAL_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#L185))
|
|
77
|
+
2. Merge the release commit to `main`
|
|
79
78
|
|
|
80
79
|
### Minor / major release
|
|
81
80
|
|
|
82
81
|
1. Run `yarn ship` and select a minor or major version when prompted
|
|
83
|
-
2.
|
|
82
|
+
2. Merge the release commit to `main`
|
|
84
83
|
3. Wait until a new version of Ghost is released
|
|
85
84
|
|
|
85
|
+
### JsDelivr cache
|
|
86
|
+
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/portal@~${PORTAL_VERSION}/umd/portal.min.js` and
|
|
87
|
+
`https://purge.jsdelivr.net/ghost/portal@~${PORTAL_VERSION}/umd/main.css` in your browser, where `PORTAL_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#L185))
|
|
88
|
+
|
|
86
89
|
# Copyright & License
|
|
87
90
|
|
|
88
91
|
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/portal",
|
|
3
|
-
"version": "2.49.
|
|
3
|
+
"version": "2.49.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"test:unit": "yarn test:ci",
|
|
27
27
|
"lint": "eslint src --ext .js --cache",
|
|
28
28
|
"preship": "yarn lint",
|
|
29
|
-
"ship": "
|
|
30
|
-
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
|
|
29
|
+
"ship": "node ../../.github/scripts/release-apps.js",
|
|
31
30
|
"prepublishOnly": "yarn build"
|
|
32
31
|
},
|
|
33
32
|
"eslintConfig": {
|