Skip to content

Commit

Permalink
Merge pull request #121 from oscarlevin/clean2
Browse files Browse the repository at this point in the history
Update dependencies to get VFile types to work
  • Loading branch information
siefkenj authored Nov 6, 2024
2 parents 487183d + 9372eb5 commit a2a2a5f
Show file tree
Hide file tree
Showing 34 changed files with 6,104 additions and 2,783 deletions.
8,769 changes: 6,044 additions & 2,725 deletions package-lock.json

Large diffs are not rendered by default.

58 changes: 30 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,56 +28,58 @@
"trailingComma": "es5"
},
"devDependencies": {
"@types/node": "^20.16.1",
"@types/prettier": "^2.7.3",
"@types/node": "^22.9.0",
"@types/prettier": "^3.0.0",
"@types/shelljs": "^0.8.15",
"esbuild": "^0.21.2",
"esbuild": "^0.24.0",
"esbuild-runner": "^2.2.2",
"lerna": "^8.1.8",
"lerna": "^8.1.9",
"lerna-update-wizard": "^1.1.2",
"mdast-builder": "^1.1.1",
"mdast-util-inject": "^1.1.0",
"mkdirp": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-pegjs": "^0.5.4",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-stringify": "^10.0.3",
"prettier": "^3.3.3",
"prettier-plugin-pegjs": "^2.0.2",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"rimraf": "^6.0.1",
"shx": "^0.3.4",
"ts-morph": "^23.0.0",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vite-plugin-dts": "^4.0.3",
"vite-plugin-static-copy": "^1.0.6",
"vitest": "^2.0.5",
"wireit": "^0.14.7"
"ts-morph": "^24.0.0",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-static-copy": "^2.0.0",
"vitest": "^2.1.4",
"wireit": "^0.14.9"
},
"dependencies": {
"@types/color": "^3.0.6",
"@types/color": "^4.2.0",
"@types/cssesc": "^3.0.2",
"@types/text-table": "^0.2.5",
"camelcase": "^8.0.0",
"chalk": "^5.3.0",
"chokidar": "^3.6.0",
"chokidar": "^4.0.1",
"color": "^4.2.3",
"cssesc": "^3.0.0",
"fault": "^2.0.1",
"hastscript": "^7.2.0",
"hastscript": "^9.0.0",
"json5": "^2.2.3",
"minimist": "^1.2.8",
"peggy": "^3.0.2",
"rehype-format": "^4.0.1",
"peggy": "^4.1.1",
"rehype-format": "^5.0.1",
"text-table": "^0.2.0",
"unified": "^10.1.2",
"unified-engine": "^10.1.0",
"unified-lint-rule": "^2.1.1",
"unist-util-position": "^4.0.4",
"vfile-reporter-json": "^3.3.0",
"unified": "^11.0.5",
"unified-engine": "^11.2.2",
"unified-lint-rule": "^3.0.0",
"unist-util-position": "^5.0.0",
"vfile": "^6.0.3",
"vfile-message": "^4.0.2",
"vfile-reporter-json": "^4.0.0",
"vfile-reporter-position": "^0.1.7",
"vfile-reporter-pretty": "^6.1.1"
"vfile-reporter-pretty": "^7.0.0"
},
"name": "unified-latex"
}
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion packages/test-common/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from "vitest";
import { processLatexToAstViaUnified } from "@unified-latex/unified-latex";
import { parseMinimal } from "@unified-latex/unified-latex-util-parse";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import * as Ast from "../unified-latex-types";
import { trimRenderInfo as _trimRenderInfo } from "../unified-latex-util-render-info";

Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-ctan/tests/systeme.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { convertToHtml } from "../../unified-latex-to-hast";
import { parse, parseMath } from "../../unified-latex-util-parse";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { unifiedLatexLintArgumentColorCommands } from "../rules/unified-latex-lint-argument-color-commands";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintArgumentFontShapingCommands } from "../rules/unified-latex-lint-argument-font-shaping-commands";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintConsistentInlineMath } from "../rules/unified-latex-lint-consistent-inline-math";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-lint/tests/no-def.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintNoDef } from "../rules/unified-latex-lint-no-def";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintNoPlaintextOperators } from "../rules/unified-latex-lint-no-plaintext-operators";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintNoTexDisplayMath } from "../rules/unified-latex-lint-no-tex-display-math";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintNoTexFontShapingCommands } from "../rules/unified-latex-lint-no-tex-font-shaping-commands";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintObsoletePackages } from "../rules/unified-latex-lint-obsolete-packages";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-lint/tests/prefer-setlength.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { unifiedLatexLintPreferSetlength } from "../rules/unified-latex-lint-prefer-setlength";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect } from "vitest";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { unifiedLatexToHtmlLike } from "../libs/unified-latex-plugin-to-html-like";
import { htmlLike } from "@unified-latex/unified-latex-util-html-like";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect } from "vitest";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { unifiedLatexWrapPars } from "../libs/unified-latex-wrap-pars";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getNamedArgsContent } from "@unified-latex/unified-latex-util-arguments
import { match } from "@unified-latex/unified-latex-util-match";
import { wrapPars } from "../wrap-pars";
import { VisitInfo } from "@unified-latex/unified-latex-util-visit";
import { VFile } from "vfile";
import { VFile } from "unified-lint-rule/lib";
import { makeWarningMessage } from "./utils";
import { createTableFromTabular } from "./create-table-from-tabular";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Ast from "@unified-latex/unified-latex-types";
import { getArgsContent } from "@unified-latex/unified-latex-util-arguments";
import { printRaw } from "@unified-latex/unified-latex-util-print-raw";
import { VisitInfo } from "@unified-latex/unified-latex-util-visit";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import { makeWarningMessage, emptyStringWithWarningFactory } from "./utils";

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as Ast from "@unified-latex/unified-latex-types";
import { VisitInfo } from "@unified-latex/unified-latex-util-visit";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import { s } from "@unified-latex/unified-latex-builder";
import { VFileMessage } from "vfile-message";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect } from "vitest";
import { processLatexViaUnified } from "@unified-latex/unified-latex";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { unifiedLatexWrapPars } from "../libs/unified-latex-wrap-pars";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import * as argspecParser from "../index";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "../../unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types/index";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "../../unified-latex-util-render-info";
import type * as Ast from "../../unified-latex-types/index";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect } from "vitest";
import { unified } from "unified";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "../../unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { unified } from "unified";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "../../unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-util-glue/tests/glue.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { parseTexGlue } from "..";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { listPackages } from "..";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "@unified-latex/unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-util-parse/tests/parse.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "@unified-latex/unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types/index";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { arg, m } from "@unified-latex/unified-latex-builder";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-util-to-string/tests/parse.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { trimRenderInfo } from "@unified-latex/unified-latex-util-render-info";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex-util-visit/tests/visit.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import { printRaw } from "@unified-latex/unified-latex-util-print-raw";
import * as Ast from "@unified-latex/unified-latex-types";
Expand Down
2 changes: 1 addition & 1 deletion packages/unified-latex/tests/parse.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { trimRenderInfo } from "@unified-latex/unified-latex-util-render-info";
import { VFile } from "unified-lint-rule/lib";
import { VFile } from "vfile";
import util from "util";
import "../../test-common";
import { processLatexToAstViaUnified } from "../libs/unified-latex";
Expand Down

0 comments on commit a2a2a5f

Please sign in to comment.