@tryghost/portal 2.51.3 → 2.53.0

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
@@ -55,12 +55,11 @@ yarn test
55
55
 
56
56
  ### Ghost e2e browser tests
57
57
 
58
- Portal is primarily tested via Ghost's e2e browser tests. In order to test against your local changes rather than the last published package on npm you need to have the local portal build being served and to configure Ghost to use the local URL.
58
+ Portal is primarily tested via Ghost's e2e browser tests, see [our Playwright docs](https://ghost.notion.site/Playwright-Tests-b49ccb6e2b4a40f1a4f8df5261391218) for more details.
59
59
 
60
- 1. Run `yarn dev` in `ghost/apps/portal` to serve the local portal build on http://localhost:4175/portal.min.js
61
- 2. Run the Ghost e2e tests in `ghost/core`, providing an ENV variable to override the portal URL:
60
+ 1. Run the Ghost e2e tests in the top-level of the monorepo, providing ENV variables for Stripe:
62
61
  ```
63
- portal__url=http://localhost:4175/portal.min.js STRIPE_ACCOUNT_ID=acct_xxx STRIPE_PUBLISHABLE_KEY=pk_test_xxx STRIPE_SECRET_KEY=sk_test_xxx yarn test:browser:portal
62
+ STRIPE_ACCOUNT_ID=acct_xxx STRIPE_PUBLISHABLE_KEY=pk_test_xxx STRIPE_SECRET_KEY=sk_test_xxx yarn test:browser
64
63
  ```
65
64
 
66
65
  ## Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/portal",
3
- "version": "2.51.3",
3
+ "version": "2.53.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,12 +79,12 @@
79
79
  },
80
80
  "devDependencies": {
81
81
  "@babel/eslint-parser": "7.28.0",
82
- "@doist/react-interpolate": "2.2.0",
83
- "@sentry/react": "7.120.3",
82
+ "@doist/react-interpolate": "2.2.1",
83
+ "@sentry/react": "7.120.4",
84
84
  "@testing-library/jest-dom": "5.17.0",
85
85
  "@testing-library/react": "12.1.5",
86
86
  "@tryghost/i18n": "0.0.0",
87
- "@vitejs/plugin-react": "4.6.0",
87
+ "@vitejs/plugin-react": "4.7.0",
88
88
  "@vitest/coverage-v8": "1.6.1",
89
89
  "@vitest/ui": "1.6.1",
90
90
  "concurrently": "8.2.2",