@tryghost/portal 2.69.7 → 2.69.9
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/package.json +10 -73
- package/umd/portal.min.js +2 -2
- package/umd/portal.min.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/portal",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.69.9",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
@@ -16,73 +17,6 @@
|
|
|
16
17
|
"access": "public",
|
|
17
18
|
"registry": "https://registry.npmjs.org/"
|
|
18
19
|
},
|
|
19
|
-
"eslintConfig": {
|
|
20
|
-
"env": {
|
|
21
|
-
"browser": true
|
|
22
|
-
},
|
|
23
|
-
"globals": {
|
|
24
|
-
"vi": "readonly",
|
|
25
|
-
"describe": "readonly",
|
|
26
|
-
"it": "readonly",
|
|
27
|
-
"test": "readonly",
|
|
28
|
-
"expect": "readonly",
|
|
29
|
-
"beforeEach": "readonly",
|
|
30
|
-
"afterEach": "readonly",
|
|
31
|
-
"beforeAll": "readonly",
|
|
32
|
-
"afterAll": "readonly",
|
|
33
|
-
"require": "readonly"
|
|
34
|
-
},
|
|
35
|
-
"parserOptions": {
|
|
36
|
-
"sourceType": "module",
|
|
37
|
-
"ecmaVersion": 2022
|
|
38
|
-
},
|
|
39
|
-
"extends": [
|
|
40
|
-
"plugin:ghost/browser",
|
|
41
|
-
"plugin:i18next/recommended",
|
|
42
|
-
"plugin:react/recommended",
|
|
43
|
-
"plugin:react/jsx-runtime"
|
|
44
|
-
],
|
|
45
|
-
"plugins": [
|
|
46
|
-
"ghost",
|
|
47
|
-
"i18next"
|
|
48
|
-
],
|
|
49
|
-
"rules": {
|
|
50
|
-
"react/prop-types": "off",
|
|
51
|
-
"ghost/filenames/match-regex": [
|
|
52
|
-
"error",
|
|
53
|
-
"^[a-z0-9.-]+$",
|
|
54
|
-
false
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
"settings": {
|
|
58
|
-
"react": {
|
|
59
|
-
"version": "detect"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"overrides": [
|
|
63
|
-
{
|
|
64
|
-
"files": [
|
|
65
|
-
"*.ts",
|
|
66
|
-
"*.tsx"
|
|
67
|
-
],
|
|
68
|
-
"parser": "@typescript-eslint/parser",
|
|
69
|
-
"parserOptions": {
|
|
70
|
-
"sourceType": "module",
|
|
71
|
-
"ecmaVersion": 2022,
|
|
72
|
-
"ecmaFeatures": {
|
|
73
|
-
"jsx": true
|
|
74
|
-
},
|
|
75
|
-
"project": "./tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
"extends": [
|
|
78
|
-
"plugin:@typescript-eslint/recommended"
|
|
79
|
-
],
|
|
80
|
-
"plugins": [
|
|
81
|
-
"@typescript-eslint"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
20
|
"browserslist": {
|
|
87
21
|
"production": [
|
|
88
22
|
">0.2%",
|
|
@@ -97,20 +31,23 @@
|
|
|
97
31
|
},
|
|
98
32
|
"devDependencies": {
|
|
99
33
|
"@doist/react-interpolate": "2.2.2",
|
|
34
|
+
"@eslint/js": "9.39.4",
|
|
100
35
|
"@sentry/react": "7.120.4",
|
|
101
36
|
"@testing-library/jest-dom": "6.9.1",
|
|
102
37
|
"@testing-library/react": "12.1.5",
|
|
103
38
|
"@testing-library/user-event": "14.6.1",
|
|
104
|
-
"@typescript-eslint/eslint-plugin": "8.49.0",
|
|
105
|
-
"@typescript-eslint/parser": "8.49.0",
|
|
106
39
|
"@vitejs/plugin-react": "4.7.0",
|
|
107
40
|
"@vitest/coverage-v8": "4.1.8",
|
|
108
41
|
"concurrently": "10.0.3",
|
|
109
42
|
"cross-fetch": "4.1.0",
|
|
110
43
|
"dompurify": "3.4.9",
|
|
111
|
-
"eslint": "
|
|
44
|
+
"eslint": "9.39.4",
|
|
45
|
+
"eslint-plugin-ghost": "3.5.0",
|
|
112
46
|
"eslint-plugin-i18next": "6.1.4",
|
|
47
|
+
"eslint-plugin-react": "7.37.5",
|
|
48
|
+
"globals": "17.6.0",
|
|
113
49
|
"jsdom": "29.1.1",
|
|
50
|
+
"typescript-eslint": "8.58.0",
|
|
114
51
|
"react": "17.0.2",
|
|
115
52
|
"react-dom": "17.0.2",
|
|
116
53
|
"vite": "7.3.2",
|
|
@@ -130,13 +67,13 @@
|
|
|
130
67
|
"scripts": {
|
|
131
68
|
"dev": "pnpm build && concurrently --kill-others --names preview,build \"pnpm preview -l silent\" \"pnpm build:watch\"",
|
|
132
69
|
"build": "vite build",
|
|
133
|
-
"build:watch": "vite build --watch",
|
|
70
|
+
"build:watch": "vite build --watch --mode development",
|
|
134
71
|
"preview": "vite preview",
|
|
135
72
|
"test": "vitest run",
|
|
136
73
|
"test:watch": "vitest",
|
|
137
74
|
"test:ci": "pnpm test --coverage",
|
|
138
75
|
"test:unit": "pnpm test:ci",
|
|
139
|
-
"lint:code": "eslint src test --
|
|
76
|
+
"lint:code": "eslint src test --cache",
|
|
140
77
|
"lint:types": "tsc --noEmit",
|
|
141
78
|
"lint": "pnpm lint:code && pnpm lint:types",
|
|
142
79
|
"preship": "pnpm lint",
|