[healthcheck] Refine glob pattern

ghstack-source-id: 6f9e7f9534
Pull Request resolved: https://github.com/facebook/react-forget/pull/2960
This commit is contained in:
Lauren Tan
2024-05-11 00:56:48 -04:00
parent 9ef7557730
commit 669e8d02b1
@@ -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__/**",
],
};