diff --git a/samples/basic/another-remote-module/package.json b/samples/basic/another-remote-module/package.json index 79fe3580a..f6392fe34 100644 --- a/samples/basic/another-remote-module/package.json +++ b/samples/basic/another-remote-module/package.json @@ -2,7 +2,7 @@ "name": "@basic/another-remote-module", "author": "Workleap", "version": "0.0.0", - "description": "Another remote module to showcase @squide.", + "description": "Another remote module to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/basic/host/package.json b/samples/basic/host/package.json index 1bf515a07..885ee36c4 100644 --- a/samples/basic/host/package.json +++ b/samples/basic/host/package.json @@ -2,7 +2,7 @@ "name": "@basic/host", "author": "Workleap", "version": "0.0.0", - "description": "Host application to showcase @squide.", + "description": "Host application to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/basic/local-module/package.json b/samples/basic/local-module/package.json index 433b96224..68377578e 100644 --- a/samples/basic/local-module/package.json +++ b/samples/basic/local-module/package.json @@ -2,7 +2,7 @@ "name": "@basic/local-module", "author": "Workleap", "version": "0.0.0", - "description": "Local module to showcase @squide.", + "description": "Local module to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/basic/remote-module/package.json b/samples/basic/remote-module/package.json index 409305c08..125eedf54 100644 --- a/samples/basic/remote-module/package.json +++ b/samples/basic/remote-module/package.json @@ -2,7 +2,7 @@ "name": "@basic/remote-module", "author": "Workleap", "version": "0.0.0", - "description": "Remote module to showcase @squide.", + "description": "Remote module to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/basic/shared/package.json b/samples/basic/shared/package.json index 64285366a..170e05945 100644 --- a/samples/basic/shared/package.json +++ b/samples/basic/shared/package.json @@ -2,7 +2,7 @@ "name": "@basic/shared", "author": "Workleap", "version": "0.0.0", - "description": "Shared package to showcase @squide.", + "description": "Shared package to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/basic/shell/package.json b/samples/basic/shell/package.json index b6f4ca9b5..2cfaf0b6a 100644 --- a/samples/basic/shell/package.json +++ b/samples/basic/shell/package.json @@ -2,7 +2,7 @@ "name": "@basic/shell", "author": "Workleap", "version": "0.0.0", - "description": "Application shell package to showcase @squide.", + "description": "Application shell package to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/endpoints/host/package.json b/samples/endpoints/host/package.json index 451758088..9a27ca403 100644 --- a/samples/endpoints/host/package.json +++ b/samples/endpoints/host/package.json @@ -2,7 +2,7 @@ "name": "@endpoints/host", "author": "Workleap", "version": "0.0.0", - "description": "Host application to showcase @squide.", + "description": "Host application to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/endpoints/host/src/register.tsx b/samples/endpoints/host/src/register.tsx index 19912eaa5..e51f7a947 100644 --- a/samples/endpoints/host/src/register.tsx +++ b/samples/endpoints/host/src/register.tsx @@ -1,4 +1,4 @@ -import { getMswPlugin, type FireflyRuntime, type ModuleRegisterFunction } from "@squide/firefly"; +import type { FireflyRuntime, ModuleRegisterFunction } from "@squide/firefly"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import type { ReactNode } from "react"; @@ -42,13 +42,11 @@ function registerRoutes(runtime: FireflyRuntime) { async function registerMsw(runtime: FireflyRuntime) { if (process.env.USE_MSW) { - const mswPlugin = getMswPlugin(runtime); - // Files including an import to the "msw" package are included dynamically to prevent adding // MSW stuff to the bundled when it's not used. const requestHandlers = (await import("../mocks/handlers.ts")).requestHandlers; - mswPlugin.registerRequestHandlers(requestHandlers); + runtime.registerRequestHandlers(requestHandlers); } } diff --git a/samples/endpoints/local-module/package.json b/samples/endpoints/local-module/package.json index 1f2a97c1c..1c2de9040 100644 --- a/samples/endpoints/local-module/package.json +++ b/samples/endpoints/local-module/package.json @@ -2,7 +2,7 @@ "name": "@endpoints/local-module", "author": "Workleap", "version": "0.0.0", - "description": "Local module to showcase @squide.", + "description": "Local module to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/endpoints/remote-module/package.json b/samples/endpoints/remote-module/package.json index 0b94e3561..883846970 100644 --- a/samples/endpoints/remote-module/package.json +++ b/samples/endpoints/remote-module/package.json @@ -2,7 +2,7 @@ "name": "@endpoints/remote-module", "author": "Workleap", "version": "0.0.0", - "description": "Remote module to showcase @squide.", + "description": "Remote module to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/endpoints/shared/package.json b/samples/endpoints/shared/package.json index 34b6575b0..c8b3ae135 100644 --- a/samples/endpoints/shared/package.json +++ b/samples/endpoints/shared/package.json @@ -2,7 +2,7 @@ "name": "@endpoints/shared", "author": "Workleap", "version": "0.0.0", - "description": "Shared package to showcase @squide.", + "description": "Shared package to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/samples/endpoints/shell/package.json b/samples/endpoints/shell/package.json index 26ba8e0cf..fe36a1a31 100644 --- a/samples/endpoints/shell/package.json +++ b/samples/endpoints/shell/package.json @@ -2,7 +2,7 @@ "name": "@endpoints/shell", "author": "Workleap", "version": "0.0.0", - "description": "Application shell package to showcase @squide.", + "description": "Application shell package to showcase Squide.", "private": true, "license": "Apache-2.0", "type": "module",