@tryghost/sodo-search 1.8.23 → 1.8.25

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 CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@tryghost/sodo-search",
3
- "version": "1.8.23",
3
+ "type": "module",
4
+ "version": "1.8.25",
4
5
  "license": "MIT",
5
- "repository": "https://github.com/TryGhost/Ghost",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/TryGhost/Ghost"
9
+ },
6
10
  "author": "Ghost Foundation",
7
11
  "files": [
8
12
  "umd/",
@@ -14,53 +18,12 @@
14
18
  "registry": "https://registry.npmjs.org/"
15
19
  },
16
20
  "dependencies": {
17
- "@tryghost/debug": "2.2.1",
21
+ "@tryghost/debug": "2.2.3",
18
22
  "flexsearch": "0.8.212",
19
23
  "react": "17.0.2",
20
24
  "react-dom": "17.0.2",
21
25
  "@tryghost/i18n": "0.0.0"
22
26
  },
23
- "eslintConfig": {
24
- "env": {
25
- "browser": true,
26
- "jest": true
27
- },
28
- "parserOptions": {
29
- "sourceType": "module",
30
- "ecmaVersion": 2022
31
- },
32
- "extends": [
33
- "plugin:ghost/browser",
34
- "plugin:react/recommended"
35
- ],
36
- "plugins": [
37
- "ghost"
38
- ],
39
- "rules": {
40
- "react/prop-types": "off",
41
- "ghost/filenames/match-regex": [
42
- "error",
43
- "^[a-z0-9.-]+$",
44
- false
45
- ],
46
- "ghost/sort-imports-es6-autofix/sort-imports-es6": [
47
- "error",
48
- {
49
- "memberSyntaxSortOrder": [
50
- "none",
51
- "all",
52
- "single",
53
- "multiple"
54
- ]
55
- }
56
- ]
57
- },
58
- "settings": {
59
- "react": {
60
- "version": "detect"
61
- }
62
- }
63
- },
64
27
  "browserslist": {
65
28
  "production": [
66
29
  ">0.2%",
@@ -81,19 +44,23 @@
81
44
  ]
82
45
  },
83
46
  "devDependencies": {
47
+ "@eslint/js": "9.39.4",
84
48
  "@testing-library/jest-dom": "6.9.1",
85
49
  "@testing-library/react": "12.1.5",
86
50
  "@vitejs/plugin-react": "4.7.0",
87
- "@vitest/coverage-v8": "4.1.7",
51
+ "@vitest/coverage-v8": "4.1.8",
88
52
  "concurrently": "10.0.3",
89
53
  "cross-fetch": "4.1.0",
90
- "eslint": "8.57.1",
54
+ "eslint": "9.39.4",
55
+ "eslint-plugin-ghost": "3.5.0",
56
+ "eslint-plugin-react": "7.37.5",
57
+ "globals": "17.6.0",
91
58
  "jsdom": "29.1.1",
92
59
  "nock": "14.0.15",
93
60
  "tailwindcss": "3.4.19",
94
61
  "vite": "7.3.2",
95
62
  "vite-plugin-svgr": "4.5.0",
96
- "vitest": "4.1.7"
63
+ "vitest": "4.1.8"
97
64
  },
98
65
  "nx": {
99
66
  "tags": [
@@ -101,13 +68,13 @@
101
68
  ]
102
69
  },
103
70
  "scripts": {
104
- "dev": "concurrently --kill-others --names preview,build,tailwind \"vite preview -l silent\" \"pnpm build:watch\" \"pnpm tailwind\"",
71
+ "dev": "pnpm build && concurrently --kill-others --names preview,build,tailwind \"vite preview -l silent\" \"pnpm build:watch\" \"pnpm tailwind\"",
105
72
  "build": "vite build && pnpm tailwind:base",
106
- "build:watch": "vite build --watch",
73
+ "build:watch": "vite build --watch --mode development",
107
74
  "tailwind": "pnpm tailwind:base --watch ",
108
75
  "tailwind:base": "tailwindcss -i ./src/index.css -o ./umd/main.css --minify",
109
76
  "test": "vitest run",
110
- "lint": "eslint src --ext .js --cache",
77
+ "lint": "eslint src test --cache",
111
78
  "preship": "pnpm lint",
112
79
  "ship": "node ../../.github/scripts/release-apps.js"
113
80
  }