@docsearch/js 4.3.2 → 4.4.0
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/dist/esm/index.d.ts +151 -129
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/umd/index.js +3 -3
- package/dist/umd/index.js.map +1 -1
- package/package.json +5 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsearch/js",
|
|
3
3
|
"description": "JavaScript package for DocSearch, the best search experience for docs.",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docsearch.algolia.com",
|
|
7
7
|
"repository": {
|
|
@@ -28,15 +28,17 @@
|
|
|
28
28
|
"build:clean": "rm -rf ./dist",
|
|
29
29
|
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types",
|
|
30
30
|
"build:clean-types": "rm -rf ./dist/esm/types",
|
|
31
|
-
"build": "
|
|
31
|
+
"build:source": "rollup --config --bundleConfigAsCjs",
|
|
32
|
+
"build:dts": "rollup --config rollup.dts.config.js --bundleConfigAsCjs",
|
|
33
|
+
"build": "yarn build:clean && yarn build:types && yarn build:source && yarn build:dts && yarn build:clean-types",
|
|
32
34
|
"on:change": "yarn build",
|
|
33
35
|
"watch": "nodemon --watch src --exec \"yarn on:change\" --ignore dist/ --ext ts,tsx"
|
|
34
36
|
},
|
|
35
37
|
"dependencies": {
|
|
38
|
+
"@docsearch/react": "4.4.0",
|
|
36
39
|
"htm": "3.1.1"
|
|
37
40
|
},
|
|
38
41
|
"devDependencies": {
|
|
39
|
-
"@docsearch/react": "4.3.2",
|
|
40
42
|
"@rollup/plugin-replace": "6.0.2",
|
|
41
43
|
"nodemon": "^3.1.9",
|
|
42
44
|
"preact": "^10.0.0",
|