AnasSarkiz/magnetic-shutter-remote-r8
A USB‑C rechargeable battery-powered ESP32‑C3 wireless controller with Li‑ion charging, protected 3.3‑V buck‑boost regulation, thermal/safety monitoring, status LEDs, buttons, programming UART, crystal clock, and 2.4‑GHz antenna matching network.
- Version
- 0.4.0-prototype
- License
- unset
- Stars
- 0
scripts/list-local-imports.ts
import { z } from "zod";
import { localModuleSpecifiers } from "./lib/local-module-specifiers";
const paths = z.array(z.string()).parse(JSON.parse(await Bun.stdin.text()));
const imports: Record<string, string[]> = {};
for (const path of paths)
imports[path] = localModuleSpecifiers({
path,
source: await Bun.file(path).text(),
});
console.log(JSON.stringify(imports));