mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-17 20:21:13 +00:00
11 lines
331 B
JavaScript
11 lines
331 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import fs from "node:fs";
|
|
import path from "node:path";
|
|
import { NPM_UPDATE_COMPAT_SIDECARS } from "./lib/npm-update-compat-sidecars.mjs";
|
|
|
|
for (const entry of NPM_UPDATE_COMPAT_SIDECARS) {
|
|
fs.mkdirSync(path.dirname(entry.path), { recursive: true });
|
|
fs.writeFileSync(entry.path, entry.content, "utf8");
|
|
}
|