fix: repair bundled plugin runtime deps on startup

This commit is contained in:
Peter Steinberger
2026-04-20 17:43:50 +01:00
parent 4e059035a9
commit 47d42606ac
12 changed files with 798 additions and 180 deletions

View File

@@ -143,6 +143,12 @@ describe("resolveBuildAllSteps", () => {
]);
});
it("does not cache plugin-sdk entry shims over compiled JS", () => {
const step = BUILD_ALL_STEPS.find((entry) => entry.label === "write-plugin-sdk-entry-dts");
expect(step).toBeTruthy();
expect(step?.cache).toBeUndefined();
});
it("rejects unknown build profiles", () => {
expect(() => resolveBuildAllSteps("wat")).toThrow("Unknown build profile: wat");
});