-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(exports): configure package exports for typescript imports
- update `.` export to use correct `import` and `require` fields - add `default` field for compatibiliy with typescript imports - rename `browser.ts` entry point to support module resolution - update build configuration to use new entry point
- Loading branch information
1 parent
bfdfee0
commit 5fc85dc
Showing
4 changed files
with
50 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import SearchClient from "./Typesense/SearchClient"; | ||
import Client from "./Typesense/Client"; | ||
|
||
export { SearchClient }; | ||
export { Client }; | ||
export * as Errors from "./Typesense/Errors"; | ||
|
||
export type * from "./Typesense/Aliases"; | ||
export type * from "./Typesense/AnalyticsEvent"; | ||
export type * from "./Typesense/AnalyticsRule"; | ||
export type * from "./Typesense/AnalyticsRules"; | ||
export type * from "./Typesense/Collection"; | ||
export type * from "./Typesense/Collections"; | ||
export type * from "./Typesense/Configuration"; | ||
export type * from "./Typesense/Conversations"; | ||
export type * from "./Typesense/Conversation"; | ||
export type * from "./Typesense/ConversationModel"; | ||
export type * from "./Typesense/Debug"; | ||
export type * from "./Typesense/Documents"; | ||
export type * from "./Typesense/Health"; | ||
export type * from "./Typesense/Key"; | ||
export type * from "./Typesense/Keys"; | ||
export type * from "./Typesense/Metrics"; | ||
export type * from "./Typesense/MultiSearch"; | ||
export type * from "./Typesense/Override"; | ||
export type * from "./Typesense/Overrides"; | ||
export type * from "./Typesense/Preset"; | ||
export type * from "./Typesense/Presets"; | ||
export type * from "./Typesense/Stats"; | ||
export type * from "./Typesense/Stopword"; | ||
export type * from "./Typesense/Stopwords"; | ||
export type * from "./Typesense/Synonym"; | ||
export type * from "./Typesense/Synonyms"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters