Skip to content

Commit

Permalink
Merge pull request #9 from junyiacademy/feat/export-dependency
Browse files Browse the repository at this point in the history
feat: export perseus Dependencies
  • Loading branch information
esp10mm authored Mar 5, 2024
2 parents 72e0f2a + 2b31d1e commit 513fff0
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 513fff0

Please sign in to comment.