Skip to content

Commit

Permalink
feat: export perseus dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
esp10mm committed Mar 5, 2024
1 parent 72e0f2a commit 2b31d1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {parse, compare} from "./kas/src";
import {init, Widgets, Renderer} from "./perseus/src";
import {init, Widgets, Renderer, Dependencies} from "./perseus/src";

import GraphUtils from "./perseus/src/util/graphie";

Expand Down Expand Up @@ -28,6 +28,7 @@ export interface PerseusCore {
solution: unknown,
options?: TexOptions,
) => {equal: boolean; message: string};
Dependencies: typeof Dependencies;
}

export {
Expand All @@ -37,6 +38,7 @@ export {
parse as parseTex,
compare as compareTex,
GraphUtils,
Dependencies,
};

export type {WidgetExports} from "./perseus/src";
2 changes: 1 addition & 1 deletion packages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@junyiacademy/perseus-core",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"license": "MIT",
Expand Down

0 comments on commit 2b31d1e

Please sign in to comment.