@multisystemsuite/create-mf-app 1.0.16 → 1.0.18

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 +9 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3523,6 +3523,7 @@ function mergeAppTsconfigForQuality(existing) {
3523
3523
  } catch {
3524
3524
  }
3525
3525
  const prevInclude = Array.isArray(parsed.include) ? parsed.include : ["src"];
3526
+ const prevExclude = Array.isArray(parsed.exclude) ? parsed.exclude : [];
3526
3527
  const merged = {
3527
3528
  extends: "../../tsconfig.base.json",
3528
3529
  compilerOptions: {
@@ -3531,10 +3532,14 @@ function mergeAppTsconfigForQuality(existing) {
3531
3532
  },
3532
3533
  include: Array.from(
3533
3534
  /* @__PURE__ */ new Set([
3534
- ...prevInclude.filter((f) => f !== "vite.config.ts" && f !== "vitest.config.ts"),
3535
- "src",
3536
- "src/tests"
3535
+ ...prevInclude.filter(
3536
+ (f) => f !== "vite.config.ts" && f !== "vitest.config.ts" && f !== "src/tests" && !f.includes("tests")
3537
+ ),
3538
+ "src"
3537
3539
  ])
3540
+ ),
3541
+ exclude: Array.from(
3542
+ /* @__PURE__ */ new Set([...prevExclude, "src/tests", "src/tests/**", "**/*.test.ts", "**/*.test.tsx", "vitest.config.ts"])
3538
3543
  )
3539
3544
  };
3540
3545
  if (parsed.references) merged.references = parsed.references;
@@ -7936,7 +7941,7 @@ export function clearQueryCache(client: QueryClient): void {
7936
7941
  client.clear();
7937
7942
  }
7938
7943
  `;
7939
- const providerBody = `import React, { type ReactNode } from "react";
7944
+ const providerBody = `import { type ReactNode } from "react";
7940
7945
  import { QueryClientProvider } from "@tanstack/react-query";
7941
7946
  import { createAppQueryClient } from "./index";
7942
7947
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multisystemsuite/create-mf-app",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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": [