Remove tsx dependency (#32967)

* Remove tsx dependency

* Iterate

* Iterate

* Iterate
This commit is contained in:
Michael Telatynski
2026-03-30 15:17:36 +00:00
committed by GitHub
parent dda9ec061b
commit 0d1d889c28
21 changed files with 48 additions and 48 deletions
+6 -6
View File
@@ -9,11 +9,11 @@ Please see LICENSE files in the repository root for full details.
import path, { dirname } from "node:path";
import { fileURLToPath } from "node:url";
import HakEnv from "./hakEnv.js";
import type { TargetId } from "./target.js";
import type { DependencyInfo } from "./dep.js";
import { loadJsonFile } from "../../src/utils.js";
import packageJson from "../../package.json";
import HakEnv from "./hakEnv.ts";
import type { TargetId } from "./target.ts";
import type { DependencyInfo } from "./dep.ts";
import { loadJsonFile } from "../../src/utils.ts";
import packageJson from "../../package.json" with { type: "json" };
// These can only be run on specific modules
const MODULECOMMANDS = ["check", "fetch", "link", "build", "copy", "clean"];
@@ -127,7 +127,7 @@ async function main(): Promise<void> {
process.exit(1);
}
const cmdFunc = (await import("./" + cmd)).default;
const cmdFunc = (await import(`./${cmd}.ts`)).default;
for (const mod of modules) {
const depInfo = deps[mod];