@tryghost/signup-form 0.3.0 → 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 +18 -1
- package/package.json +70 -71
- package/umd/signup-form.min.js +2 -2
- package/umd/signup-form.min.js.map +1 -1
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,73 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
2
|
+
"name": "@tryghost/signup-form",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/signup-form"
|
|
8
|
+
},
|
|
9
|
+
"author": "Ghost Foundation",
|
|
10
|
+
"files": [
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"README.md",
|
|
13
|
+
"umd/"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public",
|
|
17
|
+
"registry": "https://registry.npmjs.org/"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "concurrently \"vite --port 6173\" \"vite preview -l silent\" \"vite build --watch\"",
|
|
21
|
+
"preview": "concurrently \"vite preview -l silent\" \"vite build --watch\"",
|
|
22
|
+
"dev:test": "vite build && vite preview --port 6175",
|
|
23
|
+
"build": "tsc && vite build",
|
|
24
|
+
"lint": "yarn run lint:js",
|
|
25
|
+
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
|
26
|
+
"test:unit": "yarn build",
|
|
27
|
+
"test:e2e": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
28
|
+
"test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:e2e --headed",
|
|
29
|
+
"test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
|
|
30
|
+
"storybook": "storybook dev -p 6006",
|
|
31
|
+
"build-storybook": "storybook build",
|
|
32
|
+
"preship": "yarn lint",
|
|
33
|
+
"ship": "node ../../.github/scripts/release-apps.js",
|
|
34
|
+
"prepublishOnly": "yarn build"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"react": "18.3.1",
|
|
38
|
+
"react-dom": "18.3.1"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@playwright/test": "1.55.1",
|
|
42
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
43
|
+
"@storybook/addon-interactions": "8.6.14",
|
|
44
|
+
"@storybook/addon-links": "8.6.14",
|
|
45
|
+
"@storybook/addon-styling": "1.3.7",
|
|
46
|
+
"@storybook/blocks": "8.6.14",
|
|
47
|
+
"@storybook/react": "8.6.14",
|
|
48
|
+
"@storybook/react-vite": "8.6.14",
|
|
49
|
+
"@storybook/testing-library": "0.2.2",
|
|
50
|
+
"@tailwindcss/line-clamp": "0.4.4",
|
|
51
|
+
"@tryghost/i18n": "0.0.0",
|
|
52
|
+
"@types/react": "18.3.26",
|
|
53
|
+
"@types/react-dom": "18.3.7",
|
|
54
|
+
"@vitejs/plugin-react": "4.7.0",
|
|
55
|
+
"autoprefixer": "10.4.21",
|
|
56
|
+
"concurrently": "8.2.2",
|
|
57
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
58
|
+
"eslint-plugin-react-refresh": "0.4.24",
|
|
59
|
+
"eslint-plugin-tailwindcss": "3.18.2",
|
|
60
|
+
"jsdom": "24.1.3",
|
|
61
|
+
"postcss": "8.5.6",
|
|
62
|
+
"postcss-import": "16.1.1",
|
|
63
|
+
"prop-types": "15.8.1",
|
|
64
|
+
"rollup-plugin-node-builtins": "2.1.2",
|
|
65
|
+
"storybook": "8.6.14",
|
|
66
|
+
"stylelint": "15.11.0",
|
|
67
|
+
"tailwindcss": "3.4.18",
|
|
68
|
+
"vite": "5.4.20",
|
|
69
|
+
"vite-plugin-svgr": "3.3.0",
|
|
70
|
+
"vitest": "1.6.1"
|
|
71
|
+
}
|
|
73
72
|
}
|