@tryghost/announcement-bar 1.1.11 → 1.1.13
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/LICENSE +1 -1
- package/README.md +25 -2
- package/package.json +10 -8
- package/umd/announcement-bar.min.js.map +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -9,8 +9,31 @@
|
|
|
9
9
|
|
|
10
10
|
### Running via Ghost `yarn dev` in root folder
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Announcement Bar runs automatically when using Ghost's development command from the monorepo root:
|
|
13
|
+
```bash
|
|
14
|
+
yarn dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This starts all frontend apps (including Announcement Bar.)
|
|
18
|
+
|
|
19
|
+
## Release
|
|
20
|
+
|
|
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.
|
|
23
|
+
|
|
24
|
+
### Patch release
|
|
25
|
+
|
|
26
|
+
1. Run `yarn ship` and select a patch version when prompted
|
|
27
|
+
2. Merge the release commit to `main`
|
|
28
|
+
|
|
29
|
+
### Minor / major release
|
|
30
|
+
|
|
31
|
+
1. Run `yarn ship` and select a minor or major version when prompted
|
|
32
|
+
2. Merge the release commit to `main`
|
|
33
|
+
3. Wait until a new version of Ghost is released
|
|
34
|
+
|
|
35
|
+
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`)
|
|
13
36
|
|
|
14
37
|
# Copyright & License
|
|
15
38
|
|
|
16
|
-
Copyright (c) 2013-
|
|
39
|
+
Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/announcement-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"repository":
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git://github.com/TryGhost/Ghost.git"
|
|
8
|
-
},
|
|
5
|
+
"repository": "https://github.com/TryGhost/Ghost",
|
|
9
6
|
"author": "Ghost Foundation",
|
|
10
7
|
"files": [
|
|
11
8
|
"umd/",
|
|
@@ -50,7 +47,12 @@
|
|
|
50
47
|
"ghost"
|
|
51
48
|
],
|
|
52
49
|
"rules": {
|
|
53
|
-
"react/prop-types": "off"
|
|
50
|
+
"react/prop-types": "off",
|
|
51
|
+
"ghost/filenames/match-regex": [
|
|
52
|
+
"error",
|
|
53
|
+
"^[a-z0-9.-]+$",
|
|
54
|
+
false
|
|
55
|
+
]
|
|
54
56
|
},
|
|
55
57
|
"settings": {
|
|
56
58
|
"react": {
|
|
@@ -79,8 +81,8 @@
|
|
|
79
81
|
},
|
|
80
82
|
"devDependencies": {
|
|
81
83
|
"@vitejs/plugin-react": "4.7.0",
|
|
82
|
-
"jsdom": "
|
|
83
|
-
"vite": "5.4.
|
|
84
|
+
"jsdom": "28.1.0",
|
|
85
|
+
"vite": "5.4.20",
|
|
84
86
|
"vite-plugin-svgr": "3.3.0",
|
|
85
87
|
"vitest": "1.6.1"
|
|
86
88
|
}
|