@quartz-community/search 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +14 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ce333e8: The manifest declares that the plugin needs `static/contentIndex.json` (`quartz.capabilities`), so Quartz 5.1+ reports a missing content index at build time instead of shipping a search with nothing to search. Older versions ignore the field.
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quartz-community/search",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Search component for Quartz - full-text search with FlexSearch.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,7 +51,8 @@
51
51
  "typecheck": "tsc --noEmit",
52
52
  "check": "npm run typecheck && npm run lint && npm run format && npm run test",
53
53
  "prepublishOnly": "npm run build",
54
- "release": "npm run build && changeset publish"
54
+ "release": "npm run build && changeset publish",
55
+ "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts --no-audit --no-fund"
55
56
  },
56
57
  "peerDependencies": {
57
58
  "preact": "^10.0.0"
@@ -120,6 +121,17 @@
120
121
  "fieldPriority": {
121
122
  "type": "array"
122
123
  }
124
+ },
125
+ "capabilities": {
126
+ "requires": {
127
+ "files": [
128
+ {
129
+ "name": "static/contentIndex.json",
130
+ "from": "content-index",
131
+ "reason": "search has nothing to search"
132
+ }
133
+ ]
134
+ }
123
135
  }
124
136
  },
125
137
  "publishConfig": {