2026-03-15 20:44:03 +00:00
|
|
|
import { pathToFileURL } from "node:url";
|
|
|
|
|
import { copyBundledPluginMetadata } from "./copy-bundled-plugin-metadata.mjs";
|
|
|
|
|
import { copyPluginSdkRootAlias } from "./copy-plugin-sdk-root-alias.mjs";
|
2026-03-19 00:04:50 +00:00
|
|
|
import { stageBundledPluginRuntimeDeps } from "./stage-bundled-plugin-runtime-deps.mjs";
|
2026-03-16 16:43:23 +00:00
|
|
|
import { stageBundledPluginRuntime } from "./stage-bundled-plugin-runtime.mjs";
|
2026-03-15 20:44:03 +00:00
|
|
|
|
|
|
|
|
export function runRuntimePostBuild(params = {}) {
|
|
|
|
|
copyPluginSdkRootAlias(params);
|
|
|
|
|
copyBundledPluginMetadata(params);
|
2026-03-19 00:04:50 +00:00
|
|
|
stageBundledPluginRuntimeDeps(params);
|
2026-03-16 16:43:23 +00:00
|
|
|
stageBundledPluginRuntime(params);
|
2026-03-15 20:44:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
|
|
|
runRuntimePostBuild();
|
|
|
|
|
}
|