mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
chore: rename the plugin sdk to @termix-ssh/plugin-sdk
This commit is contained in:
1 parent
0c4f673318
commit
e608505b39
132 files changed
+250
-1336
No files matched your search
@@ -17,7 +17,7 @@ import {
|
||||
renderWithApp,
|
||||
type FrontendPluginModule,
|
||||
type RenderedPluginApp,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
} from "@termix-ssh/plugin-sdk/testing";
|
||||
import { resetPanels } from "@/shell/panel-registry";
|
||||
import { resetPluginStore } from "@/plugin-host/plugin-store";
|
||||
|
||||
@@ -48,7 +48,7 @@ afterAll(async () => {
|
||||
describe("a CLI-built plugin bundle", () => {
|
||||
it("leaves React and the SDK out of the bundle", () => {
|
||||
expect(bundle).toMatch(/from\s*"react"/);
|
||||
expect(bundle).toMatch(/from\s*"@termix\/plugin-sdk\/frontend"/);
|
||||
expect(bundle).toMatch(/from\s*"@termix-ssh\/plugin-sdk\/frontend"/);
|
||||
expect(bundle).not.toMatch(/react\.production|react\.development/);
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import { useState } from "react";
|
||||
import { useTranslation, type TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
import {
|
||||
useTranslation,
|
||||
type TermixApp,
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
|
||||
function Counter() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -6,12 +6,12 @@ import {
|
||||
useHost,
|
||||
type PluginHostRecord,
|
||||
type TermixApp,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import {
|
||||
renderWithApp,
|
||||
type RenderedPluginApp,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
import type { PluginManifest } from "@termix/plugin-sdk/manifest";
|
||||
} from "@termix-ssh/plugin-sdk/testing";
|
||||
import type { PluginManifest } from "@termix-ssh/plugin-sdk/manifest";
|
||||
import {
|
||||
scopeHost,
|
||||
scopeHostArgs,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { Puzzle } from "lucide-react";
|
||||
import type { FrontendModule, TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
import type {
|
||||
FrontendModule,
|
||||
TermixApp,
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import type { PluginSummary } from "@/api/plugins-api";
|
||||
import {
|
||||
configurePluginLoader,
|
||||
|
||||
@@ -10,12 +10,12 @@ import {
|
||||
usePermission,
|
||||
useTranslation,
|
||||
type TermixApp,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import {
|
||||
renderWithApp,
|
||||
type RenderedPluginApp,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
import type { PluginManifest } from "@termix/plugin-sdk/manifest";
|
||||
} from "@termix-ssh/plugin-sdk/testing";
|
||||
import type { PluginManifest } from "@termix-ssh/plugin-sdk/manifest";
|
||||
import { NavigationVisibilityToggles } from "@/sidebar/NavigationVisibilityToggles";
|
||||
import {
|
||||
hostActionsFor,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { Puzzle } from "lucide-react";
|
||||
import type { FrontendModule } from "@termix/plugin-sdk/frontend";
|
||||
import type { FrontendModule } from "@termix-ssh/plugin-sdk/frontend";
|
||||
import type { PluginSummary } from "@/api/plugins-api";
|
||||
import {
|
||||
configurePluginLoader,
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
import { afterEach, describe, expect, it } from "vitest";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import { useTranslation, type TermixApp } from "@termix/plugin-sdk/frontend";
|
||||
import {
|
||||
useTranslation,
|
||||
type TermixApp,
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import {
|
||||
renderWithApp,
|
||||
type RenderedPluginApp,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
} from "@termix-ssh/plugin-sdk/testing";
|
||||
import { ComponentSlot } from "@/shell/ActionSlot";
|
||||
import { resetActionRegistry } from "@/shell/action-registry";
|
||||
import { resetPluginStore } from "@/plugin-host/plugin-store";
|
||||
|
||||
Reference in new issue
Block a user