refactor: finalize plugin sdk legacy boundary cleanup

This commit is contained in:
Peter Steinberger
2026-03-16 22:32:25 -07:00
parent 357ce71988
commit f2bd76cd1a
102 changed files with 418 additions and 1647 deletions

View File

@@ -84,7 +84,7 @@ function loadMonolithicSdk() {
const jiti = getJiti();
const distCandidate = path.resolve(__dirname, "..", "..", "dist", "plugin-sdk", "index.js");
const distCandidate = path.resolve(__dirname, "..", "..", "dist", "plugin-sdk", "compat.js");
if (fs.existsSync(distCandidate)) {
try {
monolithicSdk = jiti(distCandidate);
@@ -94,7 +94,7 @@ function loadMonolithicSdk() {
}
}
monolithicSdk = jiti(path.join(__dirname, "index.ts"));
monolithicSdk = jiti(path.join(__dirname, "compat.ts"));
return monolithicSdk;
}