diff --git a/compiler/packages/react-compiler-healthcheck/src/index.ts b/compiler/packages/react-compiler-healthcheck/src/index.ts index 492c05d998..bab53ea1ae 100644 --- a/compiler/packages/react-compiler-healthcheck/src/index.ts +++ b/compiler/packages/react-compiler-healthcheck/src/index.ts @@ -20,7 +20,7 @@ async function main() { .option("src", { description: "glob expression matching src files to compile", type: "string", - default: "**/*.{js,jsx,ts,tsx,json}", + default: "**/+(*.{js,jsx,ts,tsx}|package.json)", }) .parseSync(); @@ -38,6 +38,8 @@ async function main() { "dist/**", "tests/**", "__tests__/**", + "__mocks__/**", + "__e2e__/**", ], };