@tryghost/sodo-search 1.8.8 → 1.8.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/README.md +6 -6
- package/package.json +9 -8
- package/umd/sodo-search.min.js +20 -20
- package/umd/sodo-search.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
### Pre-requisites
|
|
6
6
|
|
|
7
|
-
- Run `
|
|
8
|
-
- Run `
|
|
7
|
+
- Run `pnpm` in Ghost monorepo root
|
|
8
|
+
- Run `pnpm` in this directory
|
|
9
9
|
|
|
10
|
-
### Running via Ghost `
|
|
10
|
+
### Running via Ghost `pnpm dev` in root folder
|
|
11
11
|
|
|
12
12
|
Sodo Search runs automatically when using Ghost's development command from the monorepo root:
|
|
13
13
|
```bash
|
|
14
|
-
|
|
14
|
+
pnpm dev
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
This starts all frontend apps (including Sodo Search.)
|
|
@@ -23,12 +23,12 @@ In either case, you need sufficient permissions to release `@tryghost` packages
|
|
|
23
23
|
|
|
24
24
|
### Patch release
|
|
25
25
|
|
|
26
|
-
1. Run `
|
|
26
|
+
1. Run `pnpm ship` and select a patch version when prompted
|
|
27
27
|
2. Merge the release commit to `main`
|
|
28
28
|
|
|
29
29
|
### Minor / major release
|
|
30
30
|
|
|
31
|
-
1. Run `
|
|
31
|
+
1. Run `pnpm ship` and select a minor or major version when prompted
|
|
32
32
|
2. Merge the release commit to `main`
|
|
33
33
|
3. Wait until a new version of Ghost is released
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/sodo-search",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "https://github.com/TryGhost/Ghost",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
@@ -14,23 +14,24 @@
|
|
|
14
14
|
"registry": "https://registry.npmjs.org/"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"@tryghost/i18n": "workspace:*",
|
|
17
18
|
"flexsearch": "0.8.153",
|
|
18
19
|
"react": "17.0.2",
|
|
19
20
|
"react-dom": "17.0.2"
|
|
20
21
|
},
|
|
21
22
|
"scripts": {
|
|
22
|
-
"dev": "concurrently \"vite preview -l silent\" \"
|
|
23
|
-
"build": "vite build &&
|
|
23
|
+
"dev": "concurrently \"vite preview -l silent\" \"pnpm build:watch\" \"pnpm tailwind\"",
|
|
24
|
+
"build": "vite build && pnpm tailwind:base",
|
|
24
25
|
"build:watch": "vite build --watch",
|
|
25
|
-
"tailwind": "
|
|
26
|
+
"tailwind": "pnpm tailwind:base --watch ",
|
|
26
27
|
"tailwind:base": "tailwindcss -i ./src/index.css -o ./umd/main.css --minify",
|
|
27
28
|
"test": "vitest run",
|
|
28
|
-
"test:ci": "
|
|
29
|
-
"test:unit": "
|
|
29
|
+
"test:ci": "pnpm test --coverage",
|
|
30
|
+
"test:unit": "pnpm test:ci",
|
|
30
31
|
"lint": "eslint src --ext .js --cache",
|
|
31
|
-
"preship": "
|
|
32
|
+
"preship": "pnpm lint",
|
|
32
33
|
"ship": "node ../../.github/scripts/release-apps.js",
|
|
33
|
-
"prepublishOnly": "
|
|
34
|
+
"prepublishOnly": "pnpm build"
|
|
34
35
|
},
|
|
35
36
|
"eslintConfig": {
|
|
36
37
|
"env": {
|