@tryghost/announcement-bar 1.1.15 → 1.1.17

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
@@ -4,14 +4,14 @@
4
4
 
5
5
  ### Pre-requisites
6
6
 
7
- - Run `yarn` in Ghost monorepo root
8
- - Run `yarn` in this directory
7
+ - Run `pnpm` in Ghost monorepo root
8
+ - Run `pnpm` in this directory
9
9
 
10
- ### Running via Ghost `yarn dev` in root folder
10
+ ### Running via Ghost `pnpm dev` in root folder
11
11
 
12
12
  Announcement Bar runs automatically when using Ghost's development command from the monorepo root:
13
13
  ```bash
14
- yarn dev
14
+ pnpm dev
15
15
  ```
16
16
 
17
17
  This starts all frontend apps (including Announcement Bar.)
@@ -23,12 +23,12 @@ In either case, you need sufficient permissions to release `@tryghost` packages
23
23
 
24
24
  ### Patch release
25
25
 
26
- 1. Run `yarn ship` and select a patch version when prompted
26
+ 1. Run `pnpm ship` and select a patch version when prompted
27
27
  2. Merge the release commit to `main`
28
28
 
29
29
  ### Minor / major release
30
30
 
31
- 1. Run `yarn ship` and select a minor or major version when prompted
31
+ 1. Run `pnpm ship` and select a minor or major version when prompted
32
32
  2. Merge the release commit to `main`
33
33
  3. Wait until a new version of Ghost is released
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/announcement-bar",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/TryGhost/Ghost",
6
6
  "author": "Ghost Foundation",
@@ -19,16 +19,16 @@
19
19
  "react-dom": "17.0.2"
20
20
  },
21
21
  "scripts": {
22
- "dev": "concurrently \"vite preview -l silent\" \"yarn build:watch\"",
22
+ "dev": "concurrently \"vite preview -l silent\" \"pnpm build:watch\"",
23
23
  "build": "vite build",
24
24
  "build:watch": "vite build --watch",
25
25
  "test": "vitest run",
26
- "test:ci": "yarn test --coverage",
27
- "test:unit": "yarn test:ci",
26
+ "test:ci": "pnpm test --coverage",
27
+ "test:unit": "pnpm test:ci",
28
28
  "lint": "eslint src --ext .js --cache",
29
- "preship": "yarn lint",
29
+ "preship": "pnpm lint",
30
30
  "ship": "node ../../.github/scripts/release-apps.js",
31
- "prepublishOnly": "yarn build"
31
+ "prepublishOnly": "pnpm build"
32
32
  },
33
33
  "eslintConfig": {
34
34
  "env": {
@@ -81,9 +81,11 @@
81
81
  },
82
82
  "devDependencies": {
83
83
  "@vitejs/plugin-react": "4.7.0",
84
+ "@vitest/coverage-v8": "~3.2.4",
85
+ "cross-fetch": "4.1.0",
84
86
  "jsdom": "28.1.0",
85
87
  "vite": "5.4.21",
86
88
  "vite-plugin-svgr": "3.3.0",
87
- "vitest": "1.6.1"
89
+ "vitest": "3.2.4"
88
90
  }
89
91
  }