Skip to content

Commit f9dde2d

Browse files
committed
fix: export only the plugin entrypoint
1 parent 219e0e4 commit f9dde2d

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

mod.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { assertEquals } from "jsr:@std/assert@^1.0.0";
2+
import * as pluginModule from "./mod.ts";
3+
4+
Deno.test("root plugin module exports only the plugin entrypoint", () => {
5+
assertEquals(Object.keys(pluginModule).sort(), ["graphiti"]);
6+
});

mod.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
export {
2-
graphiti,
3-
warnOnGraphitiStartupUnavailable,
4-
warnOnRedisStartupUnavailable,
5-
} from "./src/index.ts";
1+
export { graphiti } from "./src/index.ts";

0 commit comments

Comments
 (0)