Skip to content

Commit

Permalink
Fix Types (#88)
Browse files Browse the repository at this point in the history
* v1.7.0

* Fix types
  • Loading branch information
siefkenj authored Feb 25, 2024
1 parent 0041d7b commit 2ce5433
Show file tree
Hide file tree
Showing 37 changed files with 381 additions and 375 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# unified-latex Changelog

### v1.7.1

- Types fix for `@unified-latex/unified-latex-types`

### v1.7.0

- Switch build system to `vite`. Should result in smaller bundles.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages": ["packages/*"],
"version": "1.6.1"
"version": "1.7.0"
}
372 changes: 186 additions & 186 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/structured-clone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unified-latex/structured-clone",
"version": "1.6.1",
"version": "1.7.0",
"description": "A cheap (and not correct) structured-clone polyfill with types",
"main": "dist/index.js",
"type": "module",
Expand Down
3 changes: 1 addition & 2 deletions packages/support-tables/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "@unified-latex/support-tables",
"version": "1.6.1",
"version": "1.7.0",
"description": "Lists of special data needed for the internals of unified-latex",
"dependencies": {},
"type": "module",
"files": [
"dist/**/*.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/unified-latex-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@unified-latex/unified-latex-builder",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for constructing unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1"
"@unified-latex/unified-latex-types": "^1.7.0"
},
"files": [
"dist/**/*.ts",
Expand Down
22 changes: 11 additions & 11 deletions packages/unified-latex-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unified-latex/unified-latex-cli",
"version": "1.6.1",
"version": "1.7.0",
"description": "Command line interface to common unified-latex options",
"main": "dist/index.js",
"type": "module",
Expand All @@ -9,16 +9,16 @@
},
"dependencies": {
"@types/hast": "^2.3.9",
"@unified-latex/unified-latex-lint": "^1.6.1",
"@unified-latex/unified-latex-to-hast": "^1.6.1",
"@unified-latex/unified-latex-to-mdast": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-arguments": "^1.6.1",
"@unified-latex/unified-latex-util-macros": "^1.6.1",
"@unified-latex/unified-latex-util-packages": "^1.6.1",
"@unified-latex/unified-latex-util-parse": "^1.6.1",
"@unified-latex/unified-latex-util-print-raw": "^1.6.1",
"@unified-latex/unified-latex-util-to-string": "^1.6.1",
"@unified-latex/unified-latex-lint": "^1.7.0",
"@unified-latex/unified-latex-to-hast": "^1.7.0",
"@unified-latex/unified-latex-to-mdast": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-arguments": "^1.7.0",
"@unified-latex/unified-latex-util-macros": "^1.7.0",
"@unified-latex/unified-latex-util-packages": "^1.7.0",
"@unified-latex/unified-latex-util-parse": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-to-string": "^1.7.0",
"camelcase": "^7.0.1",
"chalk": "^5.2.0",
"chokidar": "^3.5.3",
Expand Down
30 changes: 15 additions & 15 deletions packages/unified-latex-ctan/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "@unified-latex/unified-latex-ctan",
"version": "1.6.1",
"version": "1.7.0",
"description": "unified-latex tools relating to specific CTAN packages",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-argspec": "^1.6.1",
"@unified-latex/unified-latex-util-arguments": "^1.6.1",
"@unified-latex/unified-latex-util-comments": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-pegjs": "^1.6.1",
"@unified-latex/unified-latex-util-print-raw": "^1.6.1",
"@unified-latex/unified-latex-util-render-info": "^1.6.1",
"@unified-latex/unified-latex-util-replace": "^1.6.1",
"@unified-latex/unified-latex-util-scan": "^1.6.1",
"@unified-latex/unified-latex-util-split": "^1.6.1",
"@unified-latex/unified-latex-util-trim": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-builder": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-argspec": "^1.7.0",
"@unified-latex/unified-latex-util-arguments": "^1.7.0",
"@unified-latex/unified-latex-util-comments": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-pegjs": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-render-info": "^1.7.0",
"@unified-latex/unified-latex-util-replace": "^1.7.0",
"@unified-latex/unified-latex-util-scan": "^1.7.0",
"@unified-latex/unified-latex-util-split": "^1.7.0",
"@unified-latex/unified-latex-util-trim": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"color": "^4.2.3"
},
"files": [
Expand Down
24 changes: 12 additions & 12 deletions packages/unified-latex-lint/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "@unified-latex/unified-latex-lint",
"version": "1.6.1",
"version": "1.7.0",
"description": "Lints for LaTex code via the unified-latex framework",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.6.1",
"@unified-latex/unified-latex-ctan": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-glue": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-packages": "^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-scan": "^1.6.1",
"@unified-latex/unified-latex-util-trim": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-builder": "^1.7.0",
"@unified-latex/unified-latex-ctan": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-glue": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-packages": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-replace": "^1.7.0",
"@unified-latex/unified-latex-util-scan": "^1.7.0",
"@unified-latex/unified-latex-util-trim": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"unified-lint-rule": "^2.1.2",
"unist-util-position": "^4.0.4"
},
Expand Down
20 changes: 10 additions & 10 deletions packages/unified-latex-prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "@unified-latex/unified-latex-prettier",
"version": "1.6.1",
"version": "1.7.0",
"description": "Prettier plugin for processing LaTeX code via unified-latex",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-ctan": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-align": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-parse": "^1.6.1",
"@unified-latex/unified-latex-util-pgfkeys": "^1.6.1",
"@unified-latex/unified-latex-util-print-raw": "^1.6.1",
"@unified-latex/unified-latex-util-trim": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-ctan": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-align": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-parse": "^1.7.0",
"@unified-latex/unified-latex-util-pgfkeys": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-trim": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"prettier": "^3.0.3"
},
"files": [
Expand Down
32 changes: 16 additions & 16 deletions packages/unified-latex-to-hast/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "@unified-latex/unified-latex-to-hast",
"version": "1.6.1",
"version": "1.7.0",
"description": "Convert a unified-latex AST to a HAST AST (for HTML conversion)",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex": "^1.6.1",
"@unified-latex/unified-latex-builder": "^1.6.1",
"@unified-latex/unified-latex-ctan": "^1.6.1",
"@unified-latex/unified-latex-lint": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-align": "^1.6.1",
"@unified-latex/unified-latex-util-arguments": "^1.6.1",
"@unified-latex/unified-latex-util-comments": "^1.6.1",
"@unified-latex/unified-latex-util-html-like": "^1.6.1",
"@unified-latex/unified-latex-util-ligatures": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^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-trim": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex": "^1.7.0",
"@unified-latex/unified-latex-builder": "^1.7.0",
"@unified-latex/unified-latex-ctan": "^1.7.0",
"@unified-latex/unified-latex-lint": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-align": "^1.7.0",
"@unified-latex/unified-latex-util-arguments": "^1.7.0",
"@unified-latex/unified-latex-util-comments": "^1.7.0",
"@unified-latex/unified-latex-util-html-like": "^1.7.0",
"@unified-latex/unified-latex-util-ligatures": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-replace": "^1.7.0",
"@unified-latex/unified-latex-util-trim": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"cssesc": "^3.0.0",
"hast": "^1.0.0",
"hastscript": "^7.2.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-to-mdast/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@unified-latex/unified-latex-to-mdast",
"version": "1.6.1",
"version": "1.7.0",
"description": "Convert a unified-latex AST to a MDAST AST (for Markdown conversion)",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@types/mdast": "^4.0.1",
"@unified-latex/unified-latex": "^1.6.1",
"@unified-latex/unified-latex-to-hast": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex": "^1.7.0",
"@unified-latex/unified-latex-to-hast": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"hast": "^1.0.0",
"hast-util-to-string": "^3.0.0",
"rehype-remark": "^10.0.0",
Expand Down
7 changes: 5 additions & 2 deletions packages/unified-latex-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unified-latex/unified-latex-types",
"version": "1.6.1",
"version": "1.7.1",
"description": "type definitions for unified-latex",
"main": "dist/index.js",
"type": "module",
Expand Down Expand Up @@ -68,7 +68,8 @@
"vite.config.ts"
],
"output": [
"dist/**/*.cjs"
"dist/**/*.cjs",
"dist/**/*.cjs.map"
]
},
"compile:esm": {
Expand All @@ -82,6 +83,8 @@
],
"output": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.json"
]
}
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-util-align/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@unified-latex/unified-latex-util-align",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for manipulating unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-pegjs": "^1.6.1"
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-pegjs": "^1.7.0"
},
"files": [
"dist/**/*.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/unified-latex-util-argspec/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@unified-latex/unified-latex-util-argspec",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools parsing a LaTeX argument specification in the xparse format",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-util-pegjs": "^1.6.1"
"@unified-latex/unified-latex-util-pegjs": "^1.7.0"
},
"files": [
"dist/**/*.ts",
Expand Down
16 changes: 8 additions & 8 deletions packages/unified-latex-util-arguments/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@unified-latex/unified-latex-util-arguments",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for manipulating unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-builder": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-argspec": "^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-scan": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-builder": "^1.7.0",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-argspec": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-render-info": "^1.7.0",
"@unified-latex/unified-latex-util-scan": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"unified": "^10.1.2"
},
"files": [
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-util-catcode/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@unified-latex/unified-latex-util-catcode",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for manipulating unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1"
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0"
},
"files": [
"dist/**/*.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-util-comments/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@unified-latex/unified-latex-util-comments",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for manipulating unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-replace": "^1.6.1"
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-replace": "^1.7.0"
},
"files": [
"dist/**/*.ts",
Expand Down
14 changes: 7 additions & 7 deletions packages/unified-latex-util-environments/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@unified-latex/unified-latex-util-environments",
"version": "1.6.1",
"version": "1.7.0",
"description": "Tools for manipulating unified-latex ASTs",
"main": "dist/index.js",
"type": "module",
"dependencies": {
"@unified-latex/unified-latex-types": "^1.6.1",
"@unified-latex/unified-latex-util-arguments": "^1.6.1",
"@unified-latex/unified-latex-util-match": "^1.6.1",
"@unified-latex/unified-latex-util-print-raw": "^1.6.1",
"@unified-latex/unified-latex-util-render-info": "^1.6.1",
"@unified-latex/unified-latex-util-visit": "^1.6.1",
"@unified-latex/unified-latex-types": "^1.7.0",
"@unified-latex/unified-latex-util-arguments": "^1.7.0",
"@unified-latex/unified-latex-util-match": "^1.7.0",
"@unified-latex/unified-latex-util-print-raw": "^1.7.0",
"@unified-latex/unified-latex-util-render-info": "^1.7.0",
"@unified-latex/unified-latex-util-visit": "^1.7.0",
"unified": "^10.1.2"
},
"files": [
Expand Down
Loading

0 comments on commit 2ce5433

Please sign in to comment.