@multisystemsuite/create-mf-app 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +18 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7936,7 +7936,7 @@ export function clearQueryCache(client: QueryClient): void {
7936
7936
  client.clear();
7937
7937
  }
7938
7938
  `;
7939
- const providerBody = `import type { ReactNode } from "react";
7939
+ const providerBody = `import React, { type ReactNode } from "react";
7940
7940
  import { QueryClientProvider } from "@tanstack/react-query";
7941
7941
  import { createAppQueryClient } from "./index";
7942
7942
 
@@ -7951,6 +7951,23 @@ export { queryClient };
7951
7951
  return {
7952
7952
  ...pkg(scope, "query-client", "./src/index.ts", { "@tanstack/react-query": "^5.66.9" }, indexBody),
7953
7953
  [`packages/query-client/src/QueryProvider.tsx`]: providerBody,
7954
+ [`packages/query-client/tsconfig.json`]: `${JSON.stringify(
7955
+ {
7956
+ compilerOptions: {
7957
+ target: "ES2022",
7958
+ module: "ESNext",
7959
+ moduleResolution: "Bundler",
7960
+ jsx: "react-jsx",
7961
+ strict: true,
7962
+ skipLibCheck: true,
7963
+ noEmit: true
7964
+ },
7965
+ include: ["src"]
7966
+ },
7967
+ null,
7968
+ 2
7969
+ )}
7970
+ `,
7954
7971
  [`packages/query-client/package.json`]: `${JSON.stringify(
7955
7972
  {
7956
7973
  name: `@${scope}/query-client`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multisystemsuite/create-mf-app",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Production-ready TypeScript CLI to scaffold enterprise microfrontend apps with React, Vite and Module Federation.",
5
5
  "license": "MIT",
6
6
  "keywords": [