mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 20:31:36 +00:00
* refactor: delete dead infra and config exports * refactor: preserve live infra and config contracts * refactor(config): remove obsolete file-store lifecycle APIs * refactor(infra): finish current-main dead export cleanup
14 lines
472 B
JavaScript
14 lines
472 B
JavaScript
#!/usr/bin/env -S node --import tsx
|
|
// Write Package Dist Inventory script supports OpenClaw repository automation.
|
|
|
|
import { pathToFileURL } from "node:url";
|
|
import { writePackageDistInventory } from "./lib/package-dist-inventory.ts";
|
|
|
|
async function writeCurrentPackageDistInventory(): Promise<void> {
|
|
await writePackageDistInventory(process.cwd());
|
|
}
|
|
|
|
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
await writeCurrentPackageDistInventory();
|
|
}
|