@xylabs/ts-scripts-yarn3 5.1.0 → 5.1.1

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.
@@ -2055,8 +2055,8 @@ var packageLint = /* @__PURE__ */ __name(async () => {
2055
2055
  withFileTypes: true
2056
2056
  }).flatMap((dirent) => {
2057
2057
  const res = path7.resolve(dir, dirent.name);
2058
- if (ignorePatterns2.some((pattern) => res.includes(pattern))) return [];
2059
- return dirent.isDirectory() ? getFiles(res, ignorePatterns2) : res.endsWith(".ts") || res.endsWith(".tsx") ? [
2058
+ if (ignorePatterns2.some((pattern) => dir.includes(pattern))) return [];
2059
+ return dirent.isDirectory() ? getFiles(res, ignorePatterns2) : res.endsWith(".ts") || res.endsWith(".tsx") || res.endsWith(".js") || res.endsWith(".jsx") ? [
2060
2060
  res
2061
2061
  ] : [];
2062
2062
  });