From e8315717114b549d91f09136d501c0b650d72518 Mon Sep 17 00:00:00 2001 From: theseanl Date: Mon, 29 Jan 2024 03:21:40 +0900 Subject: [PATCH] chore: expose more parse plugins from -util-parser package --- packages/structured-clone/package.json | 4 +++- packages/unified-latex-util-parse/index.ts | 3 +++ packages/unified-latex-util-to-string/package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/structured-clone/package.json b/packages/structured-clone/package.json index 5e83cab5..86b10ca4 100644 --- a/packages/structured-clone/package.json +++ b/packages/structured-clone/package.json @@ -29,7 +29,9 @@ "compile:tsc": "tsc", "compile:esm_and_cjs": "node build.js", "compile": "run-p compile:tsc compile:esm_and_cjs", - "test": "vitest" + "test": "vitest", + "package": "node ../../scripts/make-package.mjs", + "publish": "cd dist && npm publish" }, "repository": { "type": "git", diff --git a/packages/unified-latex-util-parse/index.ts b/packages/unified-latex-util-parse/index.ts index 457412c8..0c001c0b 100644 --- a/packages/unified-latex-util-parse/index.ts +++ b/packages/unified-latex-util-parse/index.ts @@ -1,9 +1,12 @@ export * from "./libs/compiler-ast"; export * from "./libs/plugin-from-string"; export * from "./libs/plugin-from-string-minimal"; +export * from "./libs/process-at-letter-and-expl-macros"; +export * from "./libs/process-macros-and-environments"; export * from "./libs/parse-minimal"; export * from "./libs/parse"; export * from "./libs/parse-math"; +export * from "./libs/reparse-math"; // NOTE: The docstring comment must be the last item in the index.ts file! /** diff --git a/packages/unified-latex-util-to-string/package.json b/packages/unified-latex-util-to-string/package.json index 2565c109..445cf895 100644 --- a/packages/unified-latex-util-to-string/package.json +++ b/packages/unified-latex-util-to-string/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "type": "module", "dependencies": { - "@unified-latex/unified-latex-prettier": "^1.4.1", + "@unified-latex/unified-latex-prettier": "^1.6.0", "@unified-latex/unified-latex-types": "^1.6.0", "@unified-latex/unified-latex-util-print-raw": "^1.6.0", "prettier": "^2.8.8",