@drskillissue/ganko 0.1.14 → 0.1.16

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.
@@ -5,6 +5,10 @@ import { z } from "zod/v4";
5
5
  var SOLID_EXTENSIONS = [".tsx", ".jsx", ".ts", ".js", ".mts", ".cts", ".mjs", ".cjs"];
6
6
  var CSS_EXTENSIONS = [".css", ".scss", ".sass", ".less"];
7
7
  var ALL_EXTENSIONS = [...SOLID_EXTENSIONS, ...CSS_EXTENSIONS];
8
+ var TOOLING_CONFIG_RE = /(?:^|[\\/])[\w.-]+\.(?:config|setup)\.(?:ts|js|mts|cts|mjs|cjs)$/;
9
+ function isToolingConfig(path) {
10
+ return TOOLING_CONFIG_RE.test(path);
11
+ }
8
12
  function matchesExtension(path, extensions) {
9
13
  for (let i = 0; i < extensions.length; i++) {
10
14
  const ext = extensions[i];
@@ -14,6 +18,7 @@ function matchesExtension(path, extensions) {
14
18
  }
15
19
  function classifyFile(path) {
16
20
  if (path.endsWith(".d.ts")) return "unknown";
21
+ if (isToolingConfig(path)) return "unknown";
17
22
  if (matchesExtension(path, SOLID_EXTENSIONS)) return "solid";
18
23
  if (matchesExtension(path, CSS_EXTENSIONS)) return "css";
19
24
  return "unknown";
@@ -39888,4 +39893,4 @@ export {
39888
39893
  rules3,
39889
39894
  runCrossFileRules
39890
39895
  };
39891
- //# sourceMappingURL=chunk-MMTPB6HH.js.map
39896
+ //# sourceMappingURL=chunk-OYGFWDEL.js.map