Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed May 22, 2024
1 parent 5c59f97 commit c624287
Show file tree
Hide file tree
Showing 4 changed files with 2,175 additions and 861 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"tsc": "turbo run tsc"
},
"devDependencies": {
"turbo": "^1.10.16",
"typescript": "^5.2.2"
"turbo": "^1.13.3",
"typescript": "^5.4.5"
}
}
21 changes: 14 additions & 7 deletions packages/facets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
"name": "@stereobooster/facets",
"version": "0.1.0",
"description": "Client-side (though you can run it on the server) faceted search engine",
"keywords": ["faceted", "search", "search-engine", "fulltext", "browser", "client-side"],
"keywords": [
"faceted",
"search",
"search-engine",
"fulltext",
"browser",
"client-side"
],
"author": "stereobooster",
"license": "MIT",
"repository": "git@github.com:stereobooster/facets.git",
Expand Down Expand Up @@ -40,13 +47,13 @@
"quick-score": "^0.2.0"
},
"devDependencies": {
"mnemonist": "^0.39.5",
"flexsearch": "^0.7.31",
"flexsearch": "^0.7.43",
"fuse.js": "^7.0.0",
"minisearch": "^6.2.0",
"quick-score": "^0.2.0",
"microbundle": "^0.15.1",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
"minisearch": "^6.3.0",
"mnemonist": "^0.39.8",
"quick-score": "^0.2.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
}
6 changes: 3 additions & 3 deletions packages/facets/src/TFlexsearchIndex.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import flexsearch, { SearchOptions } from "flexsearch";
// @ts-expect-error type signatures outdated
const { Document } = flexsearch;
import { SearchOptions } from "flexsearch";
// @ts-expect-error
import Document from "flexsearch/dist/module/document";

import {
TextIndexBase,
Expand Down
Loading

0 comments on commit c624287

Please sign in to comment.