@docsearch/js 3.6.0 → 3.6.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.
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": "3.6.0",
4
+ "version": "3.6.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docsearch.algolia.com",
7
7
  "repository": "algolia/docsearch",
@@ -22,15 +22,14 @@
22
22
  "jsdelivr": "dist/umd/index.js",
23
23
  "scripts": {
24
24
  "build:clean": "rm -rf ./dist",
25
- "build:esm": "cross-env BUILD=esm rollup --config",
26
- "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
27
- "build:umd": "cross-env BUILD=umd rollup --config",
28
- "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types",
29
- "on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",
25
+ "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types",
26
+ "build:clean-types": "rm -rf ./dist/esm/types",
27
+ "build": "yarn build:clean && yarn build:types && rollup --config && yarn build:clean-types",
28
+ "on:change": "yarn build",
30
29
  "watch": "watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""
31
30
  },
32
31
  "dependencies": {
33
- "@docsearch/react": "3.6.0",
32
+ "@docsearch/react": "3.6.1",
34
33
  "preact": "^10.0.0"
35
34
  }
36
35
  }
@@ -1,7 +0,0 @@
1
- import type { DocSearchProps as DocSearchComponentProps } from '@docsearch/react';
2
- interface DocSearchProps extends DocSearchComponentProps {
3
- container: HTMLElement | string;
4
- environment?: typeof window;
5
- }
6
- export declare function docsearch(props: DocSearchProps): void;
7
- export {};