mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-24 18:05:49 +01:00
* fix(channels): ship official channel catalog (#52838) * fix(release): keep shipped bundles in npm tar (#52838) * build(release): fix rebased release-check helpers (#52838)
19 lines
789 B
JavaScript
19 lines
789 B
JavaScript
import { pathToFileURL } from "node:url";
|
|
import { copyBundledPluginMetadata } from "./copy-bundled-plugin-metadata.mjs";
|
|
import { copyPluginSdkRootAlias } from "./copy-plugin-sdk-root-alias.mjs";
|
|
import { stageBundledPluginRuntimeDeps } from "./stage-bundled-plugin-runtime-deps.mjs";
|
|
import { stageBundledPluginRuntime } from "./stage-bundled-plugin-runtime.mjs";
|
|
import { writeOfficialChannelCatalog } from "./write-official-channel-catalog.mjs";
|
|
|
|
export function runRuntimePostBuild(params = {}) {
|
|
copyPluginSdkRootAlias(params);
|
|
copyBundledPluginMetadata(params);
|
|
writeOfficialChannelCatalog(params);
|
|
stageBundledPluginRuntimeDeps(params);
|
|
stageBundledPluginRuntime(params);
|
|
}
|
|
|
|
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
runRuntimePostBuild();
|
|
}
|