@tryghost/comments-ui 1.4.4 → 1.4.5

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
@@ -6,13 +6,13 @@ Comments widget that is embedded at the bottom of posts in Ghost.
6
6
 
7
7
  ### Pre-requisites
8
8
 
9
- - Run `yarn` in Ghost monorepo root
9
+ - Run `pnpm` in Ghost monorepo root
10
10
 
11
- ### Running via Ghost `yarn dev` in root folder
11
+ ### Running via Ghost `pnpm dev` in root folder
12
12
 
13
13
  Comments UI runs automatically when using Ghost's development command from the monorepo root:
14
14
  ```bash
15
- yarn dev
15
+ pnpm dev
16
16
  ```
17
17
 
18
18
  ## Release
@@ -21,12 +21,12 @@ A patch release can be rolled out instantly in production, whereas a minor/major
21
21
 
22
22
  ### Patch release
23
23
 
24
- 1. Run `yarn ship` and select a patch version when prompted
24
+ 1. Run `pnpm ship` and select a patch version when prompted
25
25
  2. Merge the release commit to `main`
26
26
 
27
27
  ### Minor / major release
28
28
 
29
- 1. Run `yarn ship` and select a minor or major version when prompted
29
+ 1. Run `pnpm ship` and select a minor or major version when prompted
30
30
  2. Merge the release commit to `main`
31
31
  3. Wait until a new version of Ghost is released
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/comments-ui",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/TryGhost/Ghost",
6
6
  "author": "Ghost Foundation",
@@ -15,20 +15,20 @@
15
15
  "registry": "https://registry.npmjs.org/"
16
16
  },
17
17
  "scripts": {
18
- "dev": "concurrently \"yarn preview --host -l silent\" \"yarn build:watch\"",
18
+ "dev": "concurrently \"pnpm preview --host -l silent\" \"pnpm build:watch\"",
19
19
  "dev:test": "vite build && vite preview --port 7175",
20
20
  "build": "vite build",
21
21
  "build:watch": "vite build --watch",
22
22
  "preview": "vite preview",
23
- "test": "yarn test:unit && yarn test:e2e",
23
+ "test": "pnpm test:unit && pnpm test:e2e",
24
24
  "test:unit": "vitest run --coverage",
25
25
  "test:e2e": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
26
- "test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=1000 yarn test:e2e --headed",
27
- "test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
26
+ "test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=1000 pnpm test:e2e --headed",
27
+ "test:e2e:full": "ALL_BROWSERS=1 pnpm test:e2e",
28
28
  "lint": "eslint src --ext .js,.ts,.jsx,.tsx --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
  "browserslist": {
34
34
  "production": [
@@ -64,12 +64,13 @@
64
64
  "@testing-library/jest-dom": "5.17.0",
65
65
  "@testing-library/react": "12.1.5",
66
66
  "@testing-library/user-event": "14.6.1",
67
- "@tryghost/i18n": "0.0.0",
67
+ "@tryghost/i18n": "workspace:*",
68
68
  "@vitejs/plugin-react": "4.7.0",
69
69
  "@vitest/coverage-v8": "0.34.6",
70
70
  "autoprefixer": "10.4.21",
71
71
  "bson-objectid": "2.0.4",
72
72
  "concurrently": "8.2.2",
73
+ "eslint": "catalog:",
73
74
  "eslint-plugin-i18next": "6.1.3",
74
75
  "eslint-plugin-react-hooks": "4.6.2",
75
76
  "eslint-plugin-react-refresh": "0.4.24",