@tryghost/portal 2.33.8 → 2.34.2
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 +0 -7
- package/package.json +28 -12
- package/umd/portal.min.js +78 -47
- package/umd/portal.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -55,8 +55,6 @@ Creates the production single minified bundle for external use in `umd/portal.mi
|
|
|
55
55
|
### `yarn test`
|
|
56
56
|
|
|
57
57
|
Launches the test runner in the interactive watch mode.<br />
|
|
58
|
-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
59
|
-
|
|
60
58
|
|
|
61
59
|
## Publish
|
|
62
60
|
|
|
@@ -68,8 +66,3 @@ Run `yarn ship` to publish new version of script.
|
|
|
68
66
|
- Publishes package on npm as `@tryghost/portal` and creates an unpkg link for script at https://unpkg.com/@tryghost/portal@VERSION
|
|
69
67
|
|
|
70
68
|
(Core team only)
|
|
71
|
-
|
|
72
|
-
## Learn More
|
|
73
|
-
|
|
74
|
-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
75
|
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/portal",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.34.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,15 +31,32 @@
|
|
|
31
31
|
"prepublishOnly": "yarn build"
|
|
32
32
|
},
|
|
33
33
|
"eslintConfig": {
|
|
34
|
+
"env": {
|
|
35
|
+
"browser": true,
|
|
36
|
+
"jest": true
|
|
37
|
+
},
|
|
38
|
+
"parserOptions": {
|
|
39
|
+
"sourceType": "module",
|
|
40
|
+
"ecmaVersion": 2022
|
|
41
|
+
},
|
|
34
42
|
"extends": [
|
|
35
|
-
"react-app",
|
|
36
43
|
"plugin:ghost/browser",
|
|
37
|
-
"plugin:i18next/recommended"
|
|
44
|
+
"plugin:i18next/recommended",
|
|
45
|
+
"plugin:react/recommended",
|
|
46
|
+
"plugin:react/jsx-runtime"
|
|
38
47
|
],
|
|
39
48
|
"plugins": [
|
|
40
49
|
"ghost",
|
|
41
50
|
"i18next"
|
|
42
|
-
]
|
|
51
|
+
],
|
|
52
|
+
"rules": {
|
|
53
|
+
"react/prop-types": "off"
|
|
54
|
+
},
|
|
55
|
+
"settings": {
|
|
56
|
+
"react": {
|
|
57
|
+
"version": "detect"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
43
60
|
},
|
|
44
61
|
"browserslist": {
|
|
45
62
|
"production": [
|
|
@@ -61,26 +78,25 @@
|
|
|
61
78
|
]
|
|
62
79
|
},
|
|
63
80
|
"devDependencies": {
|
|
64
|
-
"@babel/eslint-parser": "7.22.
|
|
81
|
+
"@babel/eslint-parser": "7.22.10",
|
|
65
82
|
"@doist/react-interpolate": "0.4.1",
|
|
66
|
-
"@sentry/react": "7.
|
|
67
|
-
"@sentry/tracing": "7.
|
|
83
|
+
"@sentry/react": "7.63.0",
|
|
84
|
+
"@sentry/tracing": "7.63.0",
|
|
68
85
|
"@testing-library/jest-dom": "5.16.5",
|
|
69
86
|
"@testing-library/react": "12.1.5",
|
|
70
87
|
"@tryghost/i18n": "0.0.0",
|
|
71
|
-
"@vitejs/plugin-react": "4.0.
|
|
88
|
+
"@vitejs/plugin-react": "4.0.4",
|
|
72
89
|
"@vitest/coverage-v8": "0.33.0",
|
|
73
90
|
"@vitest/ui": "0.33.0",
|
|
74
91
|
"concurrently": "8.2.0",
|
|
75
92
|
"cross-fetch": "4.0.0",
|
|
76
|
-
"eslint-config-react-app": "7.0.1",
|
|
77
93
|
"eslint-plugin-i18next": "6.0.3",
|
|
78
94
|
"jsdom": "22.1.0",
|
|
79
95
|
"react": "17.0.2",
|
|
80
96
|
"react-dom": "17.0.2",
|
|
81
|
-
"vite": "4.4.
|
|
82
|
-
"vite-plugin-css-injected-by-js": "3.
|
|
97
|
+
"vite": "4.4.9",
|
|
98
|
+
"vite-plugin-css-injected-by-js": "3.3.0",
|
|
83
99
|
"vite-plugin-svgr": "3.2.0",
|
|
84
|
-
"vitest": "0.
|
|
100
|
+
"vitest": "0.34.1"
|
|
85
101
|
}
|
|
86
102
|
}
|