Skip to content

Commit

Permalink
Merge branch 'ditch-ts-project-references' into default-arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanl committed Jan 28, 2024
2 parents 916e10f + d19759d commit 7b69a61
Show file tree
Hide file tree
Showing 65 changed files with 166 additions and 131 deletions.
1 change: 1 addition & 0 deletions packages/structured-clone/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/structured-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/support-tables/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-builder/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-ctan/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
12 changes: 6 additions & 6 deletions packages/unified-latex-ctan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*/index": {
"prebuilt": "./dist/dist/*/index.js",
"import": "./dist/*/index.ts",
"_bundle": "./dist/*/index.ts",
"import": "./dist/*/index.js",
"require": "./dist/*/index.cjs"
},
"./*": {
"prebuilt": "./dist/*/index.js",
"import": "./*/index.ts",
"_bundle": "./*/index.ts",
"import": "./dist/*/index.js",
"require": "./dist/*/index.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-lint/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
12 changes: 6 additions & 6 deletions packages/unified-latex-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*/index": {
"prebuilt": "./dist/dist/*/index.js",
"import": "./dist/*/index.ts",
"_bundle": "./dist/*/index.ts",
"import": "./dist/*/index.js",
"require": "./dist/*/index.cjs"
},
"./*": {
"prebuilt": "./dist/*/index.js",
"import": "./*/index.ts",
"_bundle": "./*/index.ts",
"import": "./dist/*/index.js",
"require": "./dist/*/index.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-prettier/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-to-hast/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-to-hast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-to-mdast/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
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
Expand Up @@ -27,14 +27,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
6 changes: 4 additions & 2 deletions packages/unified-latex-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
],
"exports": {
".": {
"default": "./index.ts"
"_bundle": "./index.ts",
"default": "./dist/index.js"
},
"./*js": "./dist/*js",
"./*": {
"default": "./dist/*.ts"
"_bundle": "./dist/*.ts",
"default": "./dist/*.js"
}
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-align/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
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
Expand Up @@ -17,14 +17,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-argspec/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-util-argspec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-arguments/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down
8 changes: 4 additions & 4 deletions packages/unified-latex-util-arguments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-catcode/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
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
Expand Up @@ -17,14 +17,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-comments/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
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
Expand Up @@ -17,14 +17,14 @@
],
"exports": {
".": {
"prebuilt": "./dist/index.js",
"import": "./index.ts",
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"prebuilt": "./dist/*.js",
"import": "./*.ts",
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/unified-latex-util-environments/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { isCjsPackage } from "../../scripts/esbuild-module-check.mjs";
format: "esm",
target: "node14",
external: [...explicitDeps],
conditions: ["_bundle"],
};

// Build the ESM
Expand Down

0 comments on commit 7b69a61

Please sign in to comment.