@tryghost/signup-form 0.3.2 → 0.3.3

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
@@ -35,7 +35,6 @@ Follow the instructions for the top-level repo.
35
35
  1. `git clone` this repo & `cd` into it as usual
36
36
  2. Run `yarn` to install top-level dependencies.
37
37
 
38
-
39
38
  ## Test
40
39
 
41
40
  - `yarn lint` run just eslint
@@ -43,3 +42,21 @@ Follow the instructions for the top-level repo.
43
42
  - `yarn test:e2e` run e2e tests on Chromium
44
43
  - `yarn test:slowmo` run e2e tests visually (headed) and slower on Chromium
45
44
  - `yarn test:e2e:full` run e2e tests on all browsers
45
+
46
+ ## Release
47
+
48
+ A patch release can be rolled out instantly in production, whereas a minor/major release requires the Ghost monorepo to be updated and released.
49
+ In either case, you need sufficient permissions to release `@tryghost` packages on NPM.
50
+
51
+ ### Patch release
52
+
53
+ 1. Run `yarn ship` and select a patch version when prompted
54
+ 2. Merge the release commit to `main`
55
+
56
+ ### Minor / major release
57
+
58
+ 1. Run `yarn ship` and select a minor or major version when prompted
59
+ 2. Merge the release commit to `main`
60
+ 3. Wait until a new version of Ghost is released
61
+
62
+ To use the new version of signup form in Ghost, update the version in Ghost core's default configuration (currently at `core/shared/config/default.json`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/signup-form",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,6 @@
31
31
  "build-storybook": "storybook build",
32
32
  "preship": "yarn lint",
33
33
  "ship": "node ../../.github/scripts/release-apps.js",
34
- "postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && npm publish",
35
34
  "prepublishOnly": "yarn build"
36
35
  },
37
36
  "dependencies": {
@@ -39,7 +38,7 @@
39
38
  "react-dom": "18.3.1"
40
39
  },
41
40
  "devDependencies": {
42
- "@playwright/test": "1.54.1",
41
+ "@playwright/test": "1.55.1",
43
42
  "@storybook/addon-essentials": "8.6.14",
44
43
  "@storybook/addon-interactions": "8.6.14",
45
44
  "@storybook/addon-links": "8.6.14",
@@ -50,13 +49,13 @@
50
49
  "@storybook/testing-library": "0.2.2",
51
50
  "@tailwindcss/line-clamp": "0.4.4",
52
51
  "@tryghost/i18n": "0.0.0",
53
- "@types/react": "18.3.23",
52
+ "@types/react": "18.3.26",
54
53
  "@types/react-dom": "18.3.7",
55
54
  "@vitejs/plugin-react": "4.7.0",
56
55
  "autoprefixer": "10.4.21",
57
56
  "concurrently": "8.2.2",
58
57
  "eslint-plugin-react-hooks": "4.6.2",
59
- "eslint-plugin-react-refresh": "0.4.20",
58
+ "eslint-plugin-react-refresh": "0.4.24",
60
59
  "eslint-plugin-tailwindcss": "3.18.2",
61
60
  "jsdom": "24.1.3",
62
61
  "postcss": "8.5.6",
@@ -65,8 +64,8 @@
65
64
  "rollup-plugin-node-builtins": "2.1.2",
66
65
  "storybook": "8.6.14",
67
66
  "stylelint": "15.11.0",
68
- "tailwindcss": "3.4.17",
69
- "vite": "5.4.19",
67
+ "tailwindcss": "3.4.18",
68
+ "vite": "5.4.20",
70
69
  "vite-plugin-svgr": "3.3.0",
71
70
  "vitest": "1.6.1"
72
71
  }