From 1e76315716a2b8a70e1fc0696d38dd747cb64e12 Mon Sep 17 00:00:00 2001 From: Jason Siefken Date: Sun, 26 Nov 2023 00:07:59 -0500 Subject: [PATCH 1/4] Propogate errors during the build process --- packages/structured-clone/index.ts | 2 +- packages/structured-clone/package.json | 2 +- packages/support-tables/package.json | 2 +- packages/unified-latex-builder/package.json | 2 +- packages/unified-latex-cli/package.json | 2 +- packages/unified-latex-ctan/package.json | 2 +- packages/unified-latex-lint/package.json | 2 +- packages/unified-latex-prettier/package.json | 2 +- packages/unified-latex-to-hast/package.json | 2 +- packages/unified-latex-to-mdast/package.json | 2 +- packages/unified-latex-types/package.json | 2 +- packages/unified-latex-util-align/package.json | 2 +- packages/unified-latex-util-argspec/package.json | 2 +- packages/unified-latex-util-arguments/package.json | 2 +- packages/unified-latex-util-catcode/package.json | 2 +- packages/unified-latex-util-comments/package.json | 2 +- packages/unified-latex-util-environments/package.json | 2 +- packages/unified-latex-util-glue/package.json | 2 +- packages/unified-latex-util-html-like/package.json | 2 +- packages/unified-latex-util-ligatures/package.json | 2 +- packages/unified-latex-util-macros/package.json | 2 +- packages/unified-latex-util-match/package.json | 2 +- packages/unified-latex-util-packages/package.json | 2 +- packages/unified-latex-util-parse/package.json | 2 +- packages/unified-latex-util-pegjs/package.json | 2 +- packages/unified-latex-util-pgfkeys/package.json | 2 +- packages/unified-latex-util-print-raw/package.json | 2 +- packages/unified-latex-util-render-info/package.json | 2 +- packages/unified-latex-util-replace/package.json | 2 +- packages/unified-latex-util-scan/package.json | 2 +- packages/unified-latex-util-split/package.json | 2 +- packages/unified-latex-util-to-string/package.json | 2 +- packages/unified-latex-util-trim/package.json | 2 +- packages/unified-latex-util-visit/package.json | 2 +- packages/unified-latex/package.json | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/structured-clone/index.ts b/packages/structured-clone/index.ts index e8adc53f..5d93d582 100644 --- a/packages/structured-clone/index.ts +++ b/packages/structured-clone/index.ts @@ -25,7 +25,7 @@ const clone = export function structuredClone(obj: T): T { return clone(obj); } - +( declare global { const __magic__: any; interface Object { diff --git a/packages/structured-clone/package.json b/packages/structured-clone/package.json index cce42fac..04879a1c 100644 --- a/packages/structured-clone/package.json +++ b/packages/structured-clone/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest" }, "repository": { diff --git a/packages/support-tables/package.json b/packages/support-tables/package.json index 0c3d4af2..22edc977 100644 --- a/packages/support-tables/package.json +++ b/packages/support-tables/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-builder/package.json b/packages/unified-latex-builder/package.json index d6d547d5..c8847c1b 100644 --- a/packages/unified-latex-builder/package.json +++ b/packages/unified-latex-builder/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-cli/package.json b/packages/unified-latex-cli/package.json index 7fed69d7..5daac9ec 100644 --- a/packages/unified-latex-cli/package.json +++ b/packages/unified-latex-cli/package.json @@ -52,7 +52,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "test": "vitest", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-ctan/package.json b/packages/unified-latex-ctan/package.json index c09d98be..4f21f2ac 100644 --- a/packages/unified-latex-ctan/package.json +++ b/packages/unified-latex-ctan/package.json @@ -52,7 +52,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-lint/package.json b/packages/unified-latex-lint/package.json index 1e0c3c1b..19d70bcb 100644 --- a/packages/unified-latex-lint/package.json +++ b/packages/unified-latex-lint/package.json @@ -50,7 +50,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-prettier/package.json b/packages/unified-latex-prettier/package.json index 248b0c57..0b71ee5e 100644 --- a/packages/unified-latex-prettier/package.json +++ b/packages/unified-latex-prettier/package.json @@ -36,7 +36,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-to-hast/package.json b/packages/unified-latex-to-hast/package.json index 32456276..9b9c50ca 100644 --- a/packages/unified-latex-to-hast/package.json +++ b/packages/unified-latex-to-hast/package.json @@ -53,7 +53,7 @@ "build": "npm run clean && mkdirp ./dist && npm run compile", "test": "vitest", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-to-mdast/package.json b/packages/unified-latex-to-mdast/package.json index d5ccb701..f6c03818 100644 --- a/packages/unified-latex-to-mdast/package.json +++ b/packages/unified-latex-to-mdast/package.json @@ -40,7 +40,7 @@ "build": "npm run clean && mkdirp ./dist && npm run compile", "test": "vitest", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-types/package.json b/packages/unified-latex-types/package.json index 3be906a5..e36c835d 100644 --- a/packages/unified-latex-types/package.json +++ b/packages/unified-latex-types/package.json @@ -18,7 +18,7 @@ "scripts": { "build": "npm run clean && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-util-align/package.json b/packages/unified-latex-util-align/package.json index efb350bd..f9843631 100644 --- a/packages/unified-latex-util-align/package.json +++ b/packages/unified-latex-util-align/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-argspec/package.json b/packages/unified-latex-util-argspec/package.json index cd896b35..e965d55e 100644 --- a/packages/unified-latex-util-argspec/package.json +++ b/packages/unified-latex-util-argspec/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-arguments/package.json b/packages/unified-latex-util-arguments/package.json index 541e3c5e..19233975 100644 --- a/packages/unified-latex-util-arguments/package.json +++ b/packages/unified-latex-util-arguments/package.json @@ -34,7 +34,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-catcode/package.json b/packages/unified-latex-util-catcode/package.json index 665b3f09..346af0aa 100644 --- a/packages/unified-latex-util-catcode/package.json +++ b/packages/unified-latex-util-catcode/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-comments/package.json b/packages/unified-latex-util-comments/package.json index 19943bf9..deecfdcb 100644 --- a/packages/unified-latex-util-comments/package.json +++ b/packages/unified-latex-util-comments/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-environments/package.json b/packages/unified-latex-util-environments/package.json index 7e2c12b7..3af77095 100644 --- a/packages/unified-latex-util-environments/package.json +++ b/packages/unified-latex-util-environments/package.json @@ -33,7 +33,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-glue/package.json b/packages/unified-latex-util-glue/package.json index 510a1e38..32dc829b 100644 --- a/packages/unified-latex-util-glue/package.json +++ b/packages/unified-latex-util-glue/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-html-like/package.json b/packages/unified-latex-util-html-like/package.json index 927db6a6..e69a4434 100644 --- a/packages/unified-latex-util-html-like/package.json +++ b/packages/unified-latex-util-html-like/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-util-ligatures/package.json b/packages/unified-latex-util-ligatures/package.json index 1cb0aa1c..19bf9fc9 100644 --- a/packages/unified-latex-util-ligatures/package.json +++ b/packages/unified-latex-util-ligatures/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-macros/package.json b/packages/unified-latex-util-macros/package.json index 8350e432..ed7ace5e 100644 --- a/packages/unified-latex-util-macros/package.json +++ b/packages/unified-latex-util-macros/package.json @@ -33,7 +33,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-match/package.json b/packages/unified-latex-util-match/package.json index e488ee87..7b3fe111 100644 --- a/packages/unified-latex-util-match/package.json +++ b/packages/unified-latex-util-match/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-packages/package.json b/packages/unified-latex-util-packages/package.json index acc3a057..750b7871 100644 --- a/packages/unified-latex-util-packages/package.json +++ b/packages/unified-latex-util-packages/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-parse/package.json b/packages/unified-latex-util-parse/package.json index 3672fa05..df55e745 100644 --- a/packages/unified-latex-util-parse/package.json +++ b/packages/unified-latex-util-parse/package.json @@ -37,7 +37,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "bench": "vitest bench", "package": "node ../../scripts/make-package.mjs", diff --git a/packages/unified-latex-util-pegjs/package.json b/packages/unified-latex-util-pegjs/package.json index 0e719cf4..00e91e7a 100644 --- a/packages/unified-latex-util-pegjs/package.json +++ b/packages/unified-latex-util-pegjs/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-pgfkeys/package.json b/packages/unified-latex-util-pgfkeys/package.json index b2b6180f..0e369fa1 100644 --- a/packages/unified-latex-util-pgfkeys/package.json +++ b/packages/unified-latex-util-pgfkeys/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-print-raw/package.json b/packages/unified-latex-util-print-raw/package.json index f75f9a51..41f7ec11 100644 --- a/packages/unified-latex-util-print-raw/package.json +++ b/packages/unified-latex-util-print-raw/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-render-info/package.json b/packages/unified-latex-util-render-info/package.json index 57fd4d17..7015dc4d 100644 --- a/packages/unified-latex-util-render-info/package.json +++ b/packages/unified-latex-util-render-info/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-replace/package.json b/packages/unified-latex-util-replace/package.json index 7bd180d3..b7b97f02 100644 --- a/packages/unified-latex-util-replace/package.json +++ b/packages/unified-latex-util-replace/package.json @@ -32,7 +32,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-scan/package.json b/packages/unified-latex-util-scan/package.json index 58e9c1b6..eb6bff50 100644 --- a/packages/unified-latex-util-scan/package.json +++ b/packages/unified-latex-util-scan/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-split/package.json b/packages/unified-latex-util-split/package.json index dca68dd0..cddd051d 100644 --- a/packages/unified-latex-util-split/package.json +++ b/packages/unified-latex-util-split/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-to-string/package.json b/packages/unified-latex-util-to-string/package.json index dde9b665..9dd9a6f6 100644 --- a/packages/unified-latex-util-to-string/package.json +++ b/packages/unified-latex-util-to-string/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-trim/package.json b/packages/unified-latex-util-trim/package.json index af859e9d..c30cf295 100644 --- a/packages/unified-latex-util-trim/package.json +++ b/packages/unified-latex-util-trim/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-visit/package.json b/packages/unified-latex-util-visit/package.json index e70d0b75..6cdd2244 100644 --- a/packages/unified-latex-util-visit/package.json +++ b/packages/unified-latex-util-visit/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex/package.json b/packages/unified-latex/package.json index 00c72d1e..3fe92aae 100644 --- a/packages/unified-latex/package.json +++ b/packages/unified-latex/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" From 6640a1943e0ddb8494c24839cbcce1ac9a051bc4 Mon Sep 17 00:00:00 2001 From: Jason Siefken Date: Sun, 26 Nov 2023 00:10:47 -0500 Subject: [PATCH 2/4] Fix intentional typo --- packages/structured-clone/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/structured-clone/index.ts b/packages/structured-clone/index.ts index 5d93d582..e8adc53f 100644 --- a/packages/structured-clone/index.ts +++ b/packages/structured-clone/index.ts @@ -25,7 +25,7 @@ const clone = export function structuredClone(obj: T): T { return clone(obj); } -( + declare global { const __magic__: any; interface Object { From 34c2e1cddf68cabfac74305ddea7923193856694 Mon Sep 17 00:00:00 2001 From: Jason Siefken Date: Sun, 26 Nov 2023 00:19:49 -0500 Subject: [PATCH 3/4] Fixed commands --- packages/unified-latex-types/package.json | 2 +- packages/unified-latex-util-align/package.json | 2 +- packages/unified-latex-util-argspec/package.json | 2 +- packages/unified-latex-util-arguments/package.json | 2 +- packages/unified-latex-util-catcode/package.json | 2 +- packages/unified-latex-util-comments/package.json | 2 +- packages/unified-latex-util-environments/package.json | 2 +- packages/unified-latex-util-glue/package.json | 2 +- packages/unified-latex-util-html-like/package.json | 2 +- packages/unified-latex-util-ligatures/package.json | 2 +- packages/unified-latex-util-macros/package.json | 2 +- packages/unified-latex-util-packages/package.json | 2 +- packages/unified-latex-util-parse/package.json | 2 +- packages/unified-latex-util-pegjs/package.json | 2 +- packages/unified-latex-util-print-raw/package.json | 2 +- packages/unified-latex-util-render-info/package.json | 2 +- packages/unified-latex-util-replace/package.json | 2 +- packages/unified-latex-util-scan/package.json | 2 +- packages/unified-latex-util-split/package.json | 2 +- packages/unified-latex-util-to-string/package.json | 2 +- packages/unified-latex-util-trim/package.json | 2 +- packages/unified-latex-util-visit/package.json | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/unified-latex-types/package.json b/packages/unified-latex-types/package.json index e36c835d..e5c85ac0 100644 --- a/packages/unified-latex-types/package.json +++ b/packages/unified-latex-types/package.json @@ -18,7 +18,7 @@ "scripts": { "build": "npm run clean && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-util-align/package.json b/packages/unified-latex-util-align/package.json index f9843631..7dbdf62e 100644 --- a/packages/unified-latex-util-align/package.json +++ b/packages/unified-latex-util-align/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-argspec/package.json b/packages/unified-latex-util-argspec/package.json index e965d55e..bf0ffe1b 100644 --- a/packages/unified-latex-util-argspec/package.json +++ b/packages/unified-latex-util-argspec/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-arguments/package.json b/packages/unified-latex-util-arguments/package.json index 19233975..34cdf4eb 100644 --- a/packages/unified-latex-util-arguments/package.json +++ b/packages/unified-latex-util-arguments/package.json @@ -34,7 +34,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-catcode/package.json b/packages/unified-latex-util-catcode/package.json index 346af0aa..9fc43bd9 100644 --- a/packages/unified-latex-util-catcode/package.json +++ b/packages/unified-latex-util-catcode/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-comments/package.json b/packages/unified-latex-util-comments/package.json index deecfdcb..8c3fe714 100644 --- a/packages/unified-latex-util-comments/package.json +++ b/packages/unified-latex-util-comments/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-environments/package.json b/packages/unified-latex-util-environments/package.json index 3af77095..17137524 100644 --- a/packages/unified-latex-util-environments/package.json +++ b/packages/unified-latex-util-environments/package.json @@ -33,7 +33,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-glue/package.json b/packages/unified-latex-util-glue/package.json index 32dc829b..987f5f61 100644 --- a/packages/unified-latex-util-glue/package.json +++ b/packages/unified-latex-util-glue/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-html-like/package.json b/packages/unified-latex-util-html-like/package.json index e69a4434..d21768b7 100644 --- a/packages/unified-latex-util-html-like/package.json +++ b/packages/unified-latex-util-html-like/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" }, diff --git a/packages/unified-latex-util-ligatures/package.json b/packages/unified-latex-util-ligatures/package.json index 19bf9fc9..a151424c 100644 --- a/packages/unified-latex-util-ligatures/package.json +++ b/packages/unified-latex-util-ligatures/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-macros/package.json b/packages/unified-latex-util-macros/package.json index ed7ace5e..cae270bf 100644 --- a/packages/unified-latex-util-macros/package.json +++ b/packages/unified-latex-util-macros/package.json @@ -33,7 +33,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-packages/package.json b/packages/unified-latex-util-packages/package.json index 750b7871..1f951429 100644 --- a/packages/unified-latex-util-packages/package.json +++ b/packages/unified-latex-util-packages/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-parse/package.json b/packages/unified-latex-util-parse/package.json index df55e745..1411c3d4 100644 --- a/packages/unified-latex-util-parse/package.json +++ b/packages/unified-latex-util-parse/package.json @@ -37,7 +37,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "bench": "vitest bench", "package": "node ../../scripts/make-package.mjs", diff --git a/packages/unified-latex-util-pegjs/package.json b/packages/unified-latex-util-pegjs/package.json index 00e91e7a..a89c3c58 100644 --- a/packages/unified-latex-util-pegjs/package.json +++ b/packages/unified-latex-util-pegjs/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-print-raw/package.json b/packages/unified-latex-util-print-raw/package.json index 41f7ec11..a8979234 100644 --- a/packages/unified-latex-util-print-raw/package.json +++ b/packages/unified-latex-util-print-raw/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-render-info/package.json b/packages/unified-latex-util-render-info/package.json index 7015dc4d..eb7361a3 100644 --- a/packages/unified-latex-util-render-info/package.json +++ b/packages/unified-latex-util-render-info/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-replace/package.json b/packages/unified-latex-util-replace/package.json index b7b97f02..62ff5b6d 100644 --- a/packages/unified-latex-util-replace/package.json +++ b/packages/unified-latex-util-replace/package.json @@ -32,7 +32,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-scan/package.json b/packages/unified-latex-util-scan/package.json index eb6bff50..07697929 100644 --- a/packages/unified-latex-util-scan/package.json +++ b/packages/unified-latex-util-scan/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-split/package.json b/packages/unified-latex-util-split/package.json index cddd051d..92383642 100644 --- a/packages/unified-latex-util-split/package.json +++ b/packages/unified-latex-util-split/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-to-string/package.json b/packages/unified-latex-util-to-string/package.json index 9dd9a6f6..bda402e3 100644 --- a/packages/unified-latex-util-to-string/package.json +++ b/packages/unified-latex-util-to-string/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-trim/package.json b/packages/unified-latex-util-trim/package.json index c30cf295..8de5492f 100644 --- a/packages/unified-latex-util-trim/package.json +++ b/packages/unified-latex-util-trim/package.json @@ -31,7 +31,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-visit/package.json b/packages/unified-latex-util-visit/package.json index 6cdd2244..ba11f7f5 100644 --- a/packages/unified-latex-util-visit/package.json +++ b/packages/unified-latex-util-visit/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" From b5612faa9405d341009308ba3b8359a89de9a328 Mon Sep 17 00:00:00 2001 From: Jason Siefken Date: Sun, 26 Nov 2023 00:25:52 -0500 Subject: [PATCH 4/4] More fixes --- packages/unified-latex-util-match/package.json | 2 +- packages/unified-latex-util-pgfkeys/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/unified-latex-util-match/package.json b/packages/unified-latex-util-match/package.json index 7b3fe111..07abb623 100644 --- a/packages/unified-latex-util-match/package.json +++ b/packages/unified-latex-util-match/package.json @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish" diff --git a/packages/unified-latex-util-pgfkeys/package.json b/packages/unified-latex-util-pgfkeys/package.json index 0e369fa1..010d3956 100644 --- a/packages/unified-latex-util-pgfkeys/package.json +++ b/packages/unified-latex-util-pgfkeys/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "npm run clean && mkdirp ./dist && npm run compile", "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo", - "compile": "tsc -b tsconfig.json & node build.js & wait for job in `jobs -p`; do wait ${job}; done", + "compile": "tsc -b tsconfig.json & node build.js & for job in `jobs -p`; do wait ${job}; done", "test": "vitest", "package": "node ../../scripts/make-package.mjs", "publish": "cd dist && npm publish"