@tryghost/portal 2.69.11 → 2.69.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/README.md CHANGED
@@ -49,10 +49,7 @@ Portal runs automatically when using Ghost's development command from the monore
49
49
  pnpm dev
50
50
  ```
51
51
 
52
- This starts all frontend apps (including Portal.)
53
- ---
54
-
55
- To run Portal in a standalone fashion, use `pnpm preview` and open [http://localhost:3000](http://localhost:3000).
52
+ This starts all frontend apps (including Portal.) Portal is served via the dev gateway at `http://localhost:2368/ghost/assets/portal/portal.min.js` and is loaded into theme pages on the dev site.
56
53
 
57
54
  ## Build
58
55
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tryghost/portal",
3
3
  "type": "module",
4
- "version": "2.69.11",
4
+ "version": "2.69.13",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -37,10 +37,10 @@
37
37
  "@testing-library/react": "12.1.5",
38
38
  "@testing-library/user-event": "14.6.1",
39
39
  "@vitejs/plugin-react": "4.7.0",
40
- "@vitest/coverage-v8": "4.1.8",
40
+ "@vitest/coverage-v8": "4.1.9",
41
41
  "concurrently": "10.0.3",
42
42
  "cross-fetch": "4.1.0",
43
- "dompurify": "3.4.9",
43
+ "dompurify": "3.4.11",
44
44
  "eslint": "9.39.4",
45
45
  "eslint-plugin-ghost": "3.5.0",
46
46
  "eslint-plugin-i18next": "6.1.4",
@@ -53,7 +53,7 @@
53
53
  "vite": "7.3.2",
54
54
  "vite-plugin-css-injected-by-js": "3.5.2",
55
55
  "vite-plugin-svgr": "4.5.0",
56
- "vitest": "4.1.8",
56
+ "vitest": "4.1.9",
57
57
  "@tryghost/i18n": "0.0.0"
58
58
  },
59
59
  "dependencies": {
@@ -66,10 +66,8 @@
66
66
  ]
67
67
  },
68
68
  "scripts": {
69
- "dev": "pnpm build && concurrently --kill-others --names preview,build \"pnpm preview -l silent\" \"pnpm build:watch\"",
69
+ "dev": "vite build --watch --mode development",
70
70
  "build": "vite build",
71
- "build:watch": "vite build --watch --mode development",
72
- "preview": "vite preview",
73
71
  "test": "vitest run",
74
72
  "test:watch": "vitest",
75
73
  "test:ci": "pnpm test --coverage",