From 2b31d1e5515d4a571f4f40dbdb94e885dcf52ffb Mon Sep 17 00:00:00 2001 From: Ting Shao Guo Date: Sun, 3 Mar 2024 23:06:13 +0800 Subject: [PATCH] feat: export perseus dependency --- packages/index.ts | 4 +++- packages/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/index.ts b/packages/index.ts index 7f98d3b058..7973288207 100644 --- a/packages/index.ts +++ b/packages/index.ts @@ -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"; @@ -28,6 +28,7 @@ export interface PerseusCore { solution: unknown, options?: TexOptions, ) => {equal: boolean; message: string}; + Dependencies: typeof Dependencies; } export { @@ -37,6 +38,7 @@ export { parse as parseTex, compare as compareTex, GraphUtils, + Dependencies, }; export type {WidgetExports} from "./perseus/src"; diff --git a/packages/package.json b/packages/package.json index 8a4bc94767..291920cf0c 100644 --- a/packages/package.json +++ b/packages/package.json @@ -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",