@samitouri / QOS-React / commits / 669e8d02b1

[healthcheck] Refine glob pattern

ghstack-source-id: 6f9e7f95348ab66c699c38f3625a654d91c856c4 Pull Request resolved: https://github.com/facebook/react-forget/pull/2960

Lauren Tan committed May 11, 2024 at 00:20 UTC 669e8d02b1121ce66b3e8f36f59a31dfbdaacb62
1 file changed +3 -1
compiler/packages/react-compiler-healthcheck/src/index.ts
+3 -1
@@ -20,7 +20,7 @@ async function main() {
20 .option("src", {
21 description: "glob expression matching src files to compile",
22 type: "string",
23 - default: "**/*.{js,jsx,ts,tsx,json}",
23 + default: "**/+(*.{js,jsx,ts,tsx}|package.json)",
24 })
25 .parseSync();
26
@@ -38,6 +38,8 @@ async function main() {
38 "dist/**",
39 "tests/**",
40 "__tests__/**",
41 + "__mocks__/**",
42 + "__e2e__/**",
43 ],
44 };
45