Skip to content

Commit

Permalink
feat: update to new unified versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Sep 29, 2023
1 parent 645bf1c commit 18bb996
Show file tree
Hide file tree
Showing 48 changed files with 142 additions and 138 deletions.
3 changes: 3 additions & 0 deletions libs/book-converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ cote-conv --docx <path-to-docx-file>

which will convert your word file to LaTeX using the most basic settings.


### Configuration

## Related

## Contribute
Expand Down
4 changes: 2 additions & 2 deletions libs/book-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"chokidar": "^3.5.3",
"zod": "^3.21.4",
"ooxast-util-markup-to-style": "0.4.0",
"unified": "^10.1.2",
"unified": "^11.0.3",
"reoff-unified-latex": "0.3.0",
"unified-latex-stringify": "0.2.1",
"docx-to-vfile": "0.10.0",
Expand All @@ -50,7 +50,7 @@
"reoff-markup-to-style": "0.2.0",
"reoff-parse-references": "0.3.0",
"reoff-cite": "0.4.0",
"xast-util-to-string": "^2.0.1",
"xast-util-to-string": "^3.0.0",
"ooxast": "0.3.0",
"ooxast-util-get-style": "0.4.0",
"@unified-latex/unified-latex-types": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/book-converter/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"declaration": true,
"types": ["node"]
},
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts", "vite.config.ts"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts", "vite.config.js"],
"include": ["src/**/*.ts", "src/lib/util/generate-json-schema.cts", "src/lib/cli/**.ts"]
}
10 changes: 5 additions & 5 deletions libs/citations/apa-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"/lib"
],
"dependencies": {
"vfile-reporter": "^7.0.5",
"unified": "^10.1.2",
"retext-english": "^4.1.0",
"unist-util-visit": "^4.1.2",
"@types/unist": "^2.0.6"
"vfile-reporter": "^8.1.0",
"unified": "^11.0.3",
"retext-english": "^5.0.0",
"unist-util-visit": "^5.0.0",
"@types/unist": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion libs/jast/jast-util-from-csl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": {
"csl-json": "^0.1.0",
"jast-types": "0.1.2",
"xastscript": "^3.1.1"
"xastscript": "^4.0.0"
},
"license": "GPL-3.0-or-later",
"repository": "https://github.com/TrialAndErrorOrg/parsers",
Expand Down
4 changes: 2 additions & 2 deletions libs/jast/jast-util-to-csl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"xast-util-is-element": "0.3.1",
"xast-util-select": "0.3.0",
"csl-json": "0.1.0",
"xast-util-to-string": "^2.0.1",
"unist-util-is": "^5.2.1"
"xast-util-to-string": "^3.0.0",
"unist-util-is": "^6.0.0"
}
}
6 changes: 3 additions & 3 deletions libs/jast/jast-util-to-texast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "jast-util-to-texast",
"version": "0.1.0",
"dependencies": {
"rehype-minify-whitespace": "^5.0.0",
"unist-util-is": "^5.2.1",
"unist-util-visit": "^4.1.2",
"rehype-minify-whitespace": "^6.0.0",
"unist-util-is": "^6.0.0",
"unist-util-visit": "^5.0.0",
"jast-types": "0.1.2",
"xast-util-select": "0.3.0",
"texast": "0.0.1",
Expand Down
4 changes: 2 additions & 2 deletions libs/jast/jast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"dependencies": {
"utility-types": "^3.10.0",
"@types/unist": "^2.0.6",
"@types/xast": "^1.0.2"
"@types/unist": "^3.0.0",
"@types/xast": "^2.0.1"
}
}
4 changes: 2 additions & 2 deletions libs/notion/html-to-notion-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
],
"dependencies": {
"rehype-notion": "0.1.3",
"rehype-parse": "^8.0.4",
"unified": "^10.1.2"
"rehype-parse": "^9.0.0",
"unified": "^11.0.3"
}
}
12 changes: 6 additions & 6 deletions libs/notion/rehype-notion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"/lib"
],
"dependencies": {
"rehype-remark": "^9.1.2",
"unified": "^10.1.2",
"rehype-remark": "^10.0.0",
"unified": "^11.0.3",
"@tryfabric/martian": "^1.2.4",
"@notionhq/client": "^2.2.2",
"mdast-util-gfm": "^2.0.2",
"mdast-util-to-markdown": "^1.5.0",
"hast-util-to-mdast": "^9.0.0",
"@types/hast": "^2.3.4"
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-markdown": "^2.1.0",
"hast-util-to-mdast": "^10.0.1",
"@types/hast": "^3.0.1"
}
}
2 changes: 1 addition & 1 deletion libs/ojs/ojs-relatex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
],
"dependencies": {

"@types/unist": "^2.0.6"
"@types/unist": "^3.0.0"
}
}
6 changes: 3 additions & 3 deletions libs/ooxast/ooxast-util-citation-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"dependencies": {
"ooxast": "0.3.0",
"xast-util-is-element": "0.3.1",
"unist-util-visit": "^4.1.2",
"xast-util-to-string": "^2.0.1",
"@types/unist": "^2.0.6"
"unist-util-visit": "^5.0.0",
"xast-util-to-string": "^3.0.0",
"@types/unist": "^3.0.0"
}
}
10 changes: 5 additions & 5 deletions libs/ooxast/ooxast-util-citations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
"xast-util-select": "0.3.0",
"ooxast-util-citation-plugin": "0.3.0",
"csl-json": "0.1.0",
"vfile": "^5.3.7",
"vfile": "^6.0.1",
"similarity": "^1.2.1",
"unist-util-visit-parents": "5.1.3",
"xast-util-to-string": "^2.0.1",
"xastscript": "^3.1.1",
"@types/unist": "^2.0.6"
"unist-util-visit-parents": "6.0.1",
"xast-util-to-string": "^3.0.0",
"xastscript": "^4.0.0",
"@types/unist": "^3.0.0"
}
}
8 changes: 4 additions & 4 deletions libs/ooxast/ooxast-util-markup-to-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"xast-util-is-element": "0.3.1",
"ooxast-util-get-style": "0.4.0",
"xast-util-select": "0.3.0",
"unist-util-visit": "^4.1.2",
"xastscript": "^3.1.1",
"xast-util-to-string": "^2.0.1",
"@types/xast": "^1.0.2"
"unist-util-visit": "^5.0.0",
"xastscript": "^4.0.0",
"xast-util-to-string": "^3.0.0",
"@types/xast": "^2.0.1"
}
}
2 changes: 1 addition & 1 deletion libs/ooxast/ooxast-util-parse-bib-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"flatry": "^1.0.14",
"axios": "^0.27.2",
"csl-json": "0.1.0",
"xast-util-to-string": "^2.0.1"
"xast-util-to-string": "^3.0.0"
}
}
12 changes: 6 additions & 6 deletions libs/ooxast/ooxast-util-parse-bib-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"csl-json": "0.1.0",
"execa": "^6.1.0",
"tmp-promise": "^3.0.3",
"ooxast": "0.2.0",
"ooxast-util-get-style": "0.3.0",
"xast-util-is-element": "0.2.0",
"xast-util-select": "0.2.0",
"xast-util-to-string": "^2.0.1",
"csl-consolidate": "0.2.0"
"ooxast": "0.3.0",
"ooxast-util-get-style": "0.4.0",
"xast-util-is-element": "0.3.1",
"xast-util-select": "0.3.0",
"xast-util-to-string": "^3.0.0",
"csl-consolidate": "0.3.0"
},
"typedoc": {
"entryPoint": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion libs/ooxast/ooxast-util-parse-bib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ooxast-util-get-style": "0.4.0",
"xast-util-is-element": "0.3.1",
"xast-util-select": "0.3.0",
"xast-util-to-string": "^2.0.1",
"xast-util-to-string": "^3.0.0",
"csl-consolidate": "0.3.0"
},
"typedoc": {
Expand Down
2 changes: 1 addition & 1 deletion libs/ooxast/ooxast-util-properties/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
],
"dependencies": {
"xast-util-is-element": "0.3.1",
"@types/xast": "^1.0.2"
"@types/xast": "^2.0.1"
}
}
6 changes: 3 additions & 3 deletions libs/ooxast/ooxast-util-remove-rsid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"xast-util-is-element": "0.3.1",
"xast-util-select": "0.3.0",
"ooxast-util-get-style": "0.4.0",
"unist-util-select": "^4.0.3",
"unist-util-visit": "^4.1.2",
"unist-util-remove": "^3.1.1"
"unist-util-select": "^5.0.0",
"unist-util-visit": "^5.0.0",
"unist-util-remove": "^4.0.0"
}
}
22 changes: 11 additions & 11 deletions libs/ooxast/ooxast-util-to-hast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
"/lib"
],
"dependencies": {
"ooxast": "0.2.0",
"xast-util-is-element": "0.2.0",
"ooxast-util-citations": "0.3.0",
"xast-util-select": "0.2.0",
"ooxast": "0.3.0",
"xast-util-is-element": "0.3.1",
"ooxast-util-citations": "0.4.0",
"xast-util-select": "0.3.0",
"jast-util-from-csl": "0.1.1",
"csl-json": "0.1.0",
"hastscript": "^7.2.0",
"xastscript": "^3.1.1",
"unist-util-is": "^5.2.1",
"rehype-minify-whitespace": "^5.0.0",
"@types/unist": "^2.0.6",
"@types/xast": "^1.0.2",
"@types/hast": "^2.3.4"
"hastscript": "^8.0.0",
"xastscript": "^4.0.0",
"unist-util-is": "^6.0.0",
"rehype-minify-whitespace": "^6.0.0",
"@types/unist": "^3.0.0",
"@types/xast": "^2.0.1",
"@types/hast": "^3.0.1"
}
}
12 changes: 6 additions & 6 deletions libs/ooxast/ooxast-util-to-jast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"jast-util-from-csl": "0.1.1",
"reoff-parse": "0.5.0",
"csl-json": "0.1.0",
"xastscript": "^3.1.1",
"unist-util-is": "^5.2.1",
"rehype-minify-whitespace": "^5.0.0",
"vfile": "^5.3.7",
"@types/unist": "^2.0.6",
"@types/xast": "^1.0.2"
"xastscript": "^4.0.0",
"unist-util-is": "^6.0.0",
"rehype-minify-whitespace": "^6.0.0",
"vfile": "^6.0.1",
"@types/unist": "^3.0.0",
"@types/xast": "^2.0.1"
}
}
32 changes: 16 additions & 16 deletions libs/ooxast/ooxast-util-to-mdast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,28 @@
"/lib"
],
"dependencies": {
"ooxast": "0.2.0",
"ooxast-util-citations": "0.3.0",
"xast-util-select": "0.2.0",
"xast-util-is-element": "0.2.0",
"xast-util-to-string": "^2.0.1",
"ooxast": "0.3.0",
"ooxast-util-citations": "0.4.0",
"xast-util-select": "0.3.0",
"xast-util-is-element": "0.3.1",
"xast-util-to-string": "^3.0.0",
"mdast-builder": "^1.1.1",
"csl-json": "0.1.0",
"@benrbray/micromark-extension-cite": "^1.0.0",
"@benrbray/mdast-util-cite": "^1.1.0",
"mdast-util-math": "^2.0.2",
"mdast-util-to-string": "^3.2.0",
"mdast-util-math": "^3.0.0",
"mdast-util-to-string": "^4.0.0",
"@unified-latex/unified-latex-builder": "^1.3.1",
"xast-util-from-xml": "^3.0.0",
"rehype-minify-whitespace": "^5.0.0",
"vfile": "^5.3.7",
"unist-util-position": "^4.0.4",
"xast-util-from-xml": "^4.0.0",
"rehype-minify-whitespace": "^6.0.0",
"vfile": "^6.0.1",
"unist-util-position": "^5.0.0",
"extend": "^3.0.2",
"mdast-util-phrasing": "^3.0.1",
"hast-util-whitespace": "^2.0.1",
"@types/mdast": "^3.0.11",
"@types/unist": "^2.0.6",
"@types/xast": "^1.0.2",
"mdast-util-phrasing": "^4.0.0",
"hast-util-whitespace": "^3.0.0",
"@types/mdast": "^4.0.1",
"@types/unist": "^3.0.0",
"@types/xast": "^2.0.1",
"@types/extend": "^3.0.1"
}
}
12 changes: 6 additions & 6 deletions libs/ooxast/ooxast-util-to-unified-latex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
"xast-util-select": "0.3.0",
"csl-to-biblatex": "0.3.1",
"docx-to-vfile": "0.10.0",
"xast-util-to-string": "^2.0.1",
"xast-util-to-string": "^3.0.0",
"csl-json": "0.1.0",
"@unified-latex/unified-latex-builder": "^1.3.1",
"@unified-latex/unified-latex-types": "^1.3.1",
"@unified-latex/unified-latex-util-render-info": "^1.3.1",
"rehype-minify-whitespace": "^5.0.0",
"vfile": "^5.3.7",
"rehype-minify-whitespace": "^6.0.0",
"vfile": "^6.0.1",
"escape-latex": "1.2.0",
"xast-util-from-xml": "^3.0.0",
"@types/xast": "^1.0.2",
"@types/unist": "^2.0.6"
"xast-util-from-xml": "^4.0.0",
"@types/xast": "^2.0.1",
"@types/unist": "^3.0.0"
}
}
4 changes: 2 additions & 2 deletions libs/ooxast/ooxast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"dependencies": {
"utility-types": "^3.10.0",
"@types/xast": "^1.0.2",
"@types/unist": "^2.0.6"
"@types/xast": "^2.0.1",
"@types/unist": "^3.0.0"
}
}
8 changes: 4 additions & 4 deletions libs/rejour/rejour-frontmatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"dependencies": {
"jast-types": "0.1.2",
"jast-util-to-csl": "0.1.2",
"unist-util-visit": "^4.1.2",
"unist-util-is": "^5.2.1",
"vfile": "^5.3.7",
"@types/unist": "^2.0.6"
"unist-util-visit": "^5.0.0",
"unist-util-is": "^6.0.0",
"vfile": "^6.0.1",
"@types/unist": "^3.0.0"
}
}
6 changes: 3 additions & 3 deletions libs/rejour/rejour-move-abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
],
"dependencies": {
"jast-types": "0.1.2",
"unist-util-visit": "^4.1.2",
"unist-util-remove": "^3.1.1",
"unist-util-filter": "^4.0.1"
"unist-util-visit": "^5.0.0",
"unist-util-remove": "^4.0.0",
"unist-util-filter": "^5.0.1"
}
}
10 changes: 5 additions & 5 deletions libs/rejour/rejour-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
],
"dependencies": {
"jast-types": "0.1.2",
"xast-util-from-xml": "^3.0.0",
"unified": "^10.1.2",
"unist-util-filter": "^4.0.1",
"unist-util-map": "^3.1.3",
"@types/xast": "^1.0.2"
"xast-util-from-xml": "^4.0.0",
"unified": "^11.0.3",
"unist-util-filter": "^5.0.1",
"unist-util-map": "^4.0.0",
"@types/xast": "^2.0.1"
}
}
Loading

0 comments on commit 18bb996

Please sign in to comment.