@xylabs/ts-scripts-yarn3 6.1.9 → 6.1.10

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.
@@ -1553,7 +1553,11 @@ var packageCompileTsc = /* @__PURE__ */ __name((folder = "src", config2 = {}, co
1553
1553
  ".mts",
1554
1554
  ".d.mts"
1555
1555
  ];
1556
- const files = buildEntries(folder, "all", verbose).filter((file) => validTsExt.find((ext) => file.endsWith(ext)));
1556
+ const includes = [
1557
+ ".stories.",
1558
+ ".spec."
1559
+ ];
1560
+ const files = buildEntries(folder, "all", verbose).filter((file) => validTsExt.find((ext) => file.endsWith(ext)) && includes.find((include) => file.includes(include)));
1557
1561
  console.log(chalk23.green(`Compiling Files ${pkg}: ${files.length}`));
1558
1562
  const program = createProgramFromConfig2({
1559
1563
  basePath: pkg ?? cwd2(),