Skip to content

Commit

Permalink
Cleaned up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
siefkenj committed Feb 25, 2024
1 parent bafb822 commit de53c42
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/unified-latex-util-macros/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"@unified-latex/unified-latex-util-pegjs": "^1.6.1",
"@unified-latex/unified-latex-util-print-raw": "^1.6.1",
"@unified-latex/unified-latex-util-replace": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1"
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-util-parse": "^1.6.1"
},
"files": [
"dist/**/*.ts",
Expand Down
1 change: 0 additions & 1 deletion packages/unified-latex-util-trim/libs/trim.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as Ast from "@unified-latex/unified-latex-types";
import { match } from "@unified-latex/unified-latex-util-match";
import { updateRenderInfo } from "@unified-latex/unified-latex-util-render-info";

/**
* Trims whitespace and parbreaks from the start and end
Expand Down
1 change: 0 additions & 1 deletion packages/unified-latex-util-trim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-render-info": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"unified": "^10.1.2"
},
Expand Down
8 changes: 4 additions & 4 deletions scripts/package-consistency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function getImportsInDir(dirname): Promise<string[]> {
const files = glob.sync(`${dirname}/**/*.ts`);
let ret: string[] = [];
for (const f of files) {
if (f.match(/test/)) {
if (f.match(/test/) || f.includes("/vite.config")) {
continue;
}
const contents = await fs.readFile(f, "utf-8");
Expand Down Expand Up @@ -66,9 +66,9 @@ async function getImportsInDir(dirname): Promise<string[]> {
const excessImport = jsonImports.filter(
(i) => !trueImports.includes(i)
);
const missingImport = trueImports.filter(
(i) => !jsonImports.includes(i)
);
const missingImport = trueImports
.filter((i) => !jsonImports.includes(i))
.filter((i) => !["vite", "vite-plugin-dts"].includes(i));

console.log(packageJsonFile);

Expand Down

0 comments on commit de53c42

Please sign in to comment.