@tryghost/announcement-bar 1.1.11 → 1.1.12
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 -0
- package/package.json +8 -3
- package/umd/announcement-bar.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,24 @@
|
|
|
11
11
|
|
|
12
12
|
You can automatically start the announcement-bar dev server when developing Ghost by running Ghost (in root folder) via `yarn dev --announcementbar`.
|
|
13
13
|
|
|
14
|
+
## Release
|
|
15
|
+
|
|
16
|
+
A patch release can be rolled out instantly in production, whereas a minor/major release requires the Ghost monorepo to be updated and released.
|
|
17
|
+
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. Merge the release commit to `main`
|
|
23
|
+
|
|
24
|
+
### Minor / major release
|
|
25
|
+
|
|
26
|
+
1. Run `yarn ship` and select a minor or major version when prompted
|
|
27
|
+
2. Merge the release commit to `main`
|
|
28
|
+
3. Wait until a new version of Ghost is released
|
|
29
|
+
|
|
30
|
+
To use the new version of signup form in Ghost, update the version in Ghost core's default configuration (currently at `core/shared/config/default.json`)
|
|
31
|
+
|
|
14
32
|
# Copyright & License
|
|
15
33
|
|
|
16
34
|
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/announcement-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,7 +50,12 @@
|
|
|
50
50
|
"ghost"
|
|
51
51
|
],
|
|
52
52
|
"rules": {
|
|
53
|
-
"react/prop-types": "off"
|
|
53
|
+
"react/prop-types": "off",
|
|
54
|
+
"ghost/filenames/match-regex": [
|
|
55
|
+
"error",
|
|
56
|
+
"^[a-z0-9.-]+$",
|
|
57
|
+
false
|
|
58
|
+
]
|
|
54
59
|
},
|
|
55
60
|
"settings": {
|
|
56
61
|
"react": {
|
|
@@ -80,7 +85,7 @@
|
|
|
80
85
|
"devDependencies": {
|
|
81
86
|
"@vitejs/plugin-react": "4.7.0",
|
|
82
87
|
"jsdom": "24.1.3",
|
|
83
|
-
"vite": "5.4.
|
|
88
|
+
"vite": "5.4.20",
|
|
84
89
|
"vite-plugin-svgr": "3.3.0",
|
|
85
90
|
"vitest": "1.6.1"
|
|
86
91
|
}
|