chore: rename the plugin sdk to @termix-ssh/plugin-sdk

This commit is contained in:
LukeGus committed 2026-10-05 18:23:03 -05:00
1 parent 0c4f673318
commit e608505b39
132 files changed
+250 -1336

No files matched your search

@@ -37,7 +37,7 @@ async function loadDefinitions(cwd) {
// Emitted inside the plugin rather than in the system temp dir: the SDK
// stays external to the bundle, so the output has to sit somewhere node can
// resolve @termix/plugin-sdk from.
// resolve @termix-ssh/plugin-sdk from.
const outdir = fs.mkdtempSync(path.join(cwd, ".termix-tables-"));
const outfile = path.join(outdir, "tables.mjs");
@@ -68,14 +68,14 @@ function validatePackage(cwd, raw) {
}
const sdkRange =
pkg.peerDependencies?.["@termix/plugin-sdk"] ??
pkg.dependencies?.["@termix/plugin-sdk"] ??
pkg.devDependencies?.["@termix/plugin-sdk"];
pkg.peerDependencies?.["@termix-ssh/plugin-sdk"] ??
pkg.dependencies?.["@termix-ssh/plugin-sdk"] ??
pkg.devDependencies?.["@termix-ssh/plugin-sdk"];
if (!sdkRange) {
problems.push("package.json does not depend on @termix/plugin-sdk");
problems.push("package.json does not depend on @termix-ssh/plugin-sdk");
} else if (sdkRange === "*" || sdkRange === "latest") {
problems.push(
`@termix/plugin-sdk is "${sdkRange}"; pin a range such as "^1.0.0"`,
`@termix-ssh/plugin-sdk is "${sdkRange}"; pin a range such as "^1.0.0"`,
);
}
return problems;
+4 -4
View File
@@ -14,8 +14,8 @@
*/
export const BACKEND_EXTERNALS = [
"@termix/plugin-sdk",
"@termix/plugin-sdk/*",
"@termix-ssh/plugin-sdk",
"@termix-ssh/plugin-sdk/*",
"express",
"ssh2",
"ws",
@@ -41,6 +41,6 @@ export const FRONTEND_EXTERNALS = [
"i18next",
"react-i18next",
"sonner",
"@termix/plugin-sdk/frontend",
"@termix/plugin-sdk/ui",
"@termix-ssh/plugin-sdk/frontend",
"@termix-ssh/plugin-sdk/ui",
];