mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:10:42 +00:00
build: exclude private QA from npm package
This commit is contained in:
12
scripts/write-package-dist-inventory.ts
Normal file
12
scripts/write-package-dist-inventory.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env -S node --import tsx
|
||||
|
||||
import { pathToFileURL } from "node:url";
|
||||
import { writePackageDistInventory } from "../src/infra/package-dist-inventory.ts";
|
||||
|
||||
export async function writeCurrentPackageDistInventory(): Promise<void> {
|
||||
await writePackageDistInventory(process.cwd());
|
||||
}
|
||||
|
||||
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
||||
await writeCurrentPackageDistInventory();
|
||||
}
|
||||
Reference in New Issue
Block a user