@tryghost/portal 2.68.3 → 2.68.6

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
@@ -46,33 +46,33 @@ Refer the [docs](https://ghost.org/help/setup-members/#customize-portal-settings
46
46
 
47
47
  Portal runs automatically when using Ghost's development command from the monorepo root:
48
48
  ```
49
- yarn dev
49
+ pnpm dev
50
50
  ```
51
51
 
52
52
  This starts all frontend apps (including Portal.)
53
53
  ---
54
54
 
55
- To run Portal in a standalone fashion, use `yarn start` and open [http://localhost:3000](http://localhost:3000).
55
+ To run Portal in a standalone fashion, use `pnpm preview` and open [http://localhost:3000](http://localhost:3000).
56
56
 
57
57
  ## Build
58
58
 
59
59
  To create a production minified bundle in `umd/portal.min.js`:
60
60
  ```
61
- yarn build
61
+ pnpm build
62
62
  ```
63
63
 
64
64
  ## Test
65
65
 
66
66
  To run tests in watch mode:
67
67
  ```
68
- yarn test
68
+ pnpm test
69
69
  ```
70
70
 
71
71
  ### Ghost e2e tests
72
72
 
73
73
  Portal is primarily tested via Ghost's e2e Playwright tests in the `e2e/` directory. Run them from the monorepo root:
74
74
  ```
75
- yarn test:e2e
75
+ pnpm test:e2e
76
76
  ```
77
77
 
78
78
  ## Release
@@ -85,12 +85,12 @@ In order to have Ghost's e2e tests run against the new code on CI or to test the
85
85
 
86
86
  ### Patch release
87
87
 
88
- 1. Run `yarn ship` and select a patch version when prompted
88
+ 1. Run `pnpm ship` and select a patch version when prompted
89
89
  2. Merge the release commit to `main`
90
90
 
91
91
  ### Minor / major release
92
92
 
93
- 1. Run `yarn ship` and select a minor or major version when prompted
93
+ 1. Run `pnpm ship` and select a minor or major version when prompted
94
94
  2. Merge the release commit to `main`
95
95
  3. Wait until a new version of Ghost is released
96
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/portal",
3
- "version": "2.68.3",
3
+ "version": "2.68.6",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/TryGhost/Ghost",
6
6
  "author": "Ghost Foundation",
@@ -14,20 +14,20 @@
14
14
  "registry": "https://registry.npmjs.org/"
15
15
  },
16
16
  "scripts": {
17
- "dev": "concurrently \"yarn preview -l silent\" \"yarn build:watch\"",
17
+ "dev": "concurrently \"pnpm preview -l silent\" \"pnpm build:watch\"",
18
18
  "build": "vite build",
19
19
  "build:watch": "vite build --watch",
20
20
  "preview": "vite preview",
21
21
  "test": "vitest run",
22
22
  "test:watch": "vitest",
23
- "test:ci": "yarn test --coverage",
24
- "test:unit": "yarn test:ci",
23
+ "test:ci": "pnpm test --coverage",
24
+ "test:unit": "pnpm test:ci",
25
25
  "lint:code": "eslint src test --ext .js,.ts --cache",
26
26
  "lint:types": "tsc --noEmit",
27
- "lint": "yarn lint:code && yarn lint:types",
28
- "preship": "yarn lint",
27
+ "lint": "pnpm lint:code && pnpm lint:types",
28
+ "preship": "pnpm lint",
29
29
  "ship": "node ../../.github/scripts/release-apps.js",
30
- "prepublishOnly": "yarn build"
30
+ "prepublishOnly": "pnpm build"
31
31
  },
32
32
  "eslintConfig": {
33
33
  "env": {
@@ -114,13 +114,15 @@
114
114
  "@sentry/react": "7.120.4",
115
115
  "@testing-library/jest-dom": "6.9.1",
116
116
  "@testing-library/react": "12.1.5",
117
- "@tryghost/i18n": "0.0.0",
117
+ "@testing-library/user-event": "14.6.1",
118
+ "@tryghost/i18n": "workspace:*",
118
119
  "@vitejs/plugin-react": "4.7.0",
119
120
  "@vitest/coverage-v8": "3.2.4",
120
121
  "@vitest/ui": "3.2.4",
121
122
  "concurrently": "8.2.2",
122
123
  "cross-fetch": "4.1.0",
123
124
  "dompurify": "3.3.1",
125
+ "eslint": "catalog:",
124
126
  "eslint-plugin-i18next": "6.1.3",
125
127
  "jsdom": "28.1.0",
126
128
  "react": "17.0.2",
@@ -129,5 +131,8 @@
129
131
  "vite-plugin-css-injected-by-js": "3.5.2",
130
132
  "vite-plugin-svgr": "3.3.0",
131
133
  "vitest": "3.2.4"
134
+ },
135
+ "dependencies": {
136
+ "@tryghost/debug": "0.1.40"
132
137
  }
133
138
  }