@xylabs/ts-scripts-yarn3 7.4.1 → 7.4.2

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.
package/dist/index.mjs CHANGED
@@ -1070,7 +1070,7 @@ import fs7 from "fs";
1070
1070
  var hasFileWithExtension = (files, extensions) => files.some((f) => extensions.some((ext) => f.endsWith(ext)));
1071
1071
  var tsExtensions = [".ts", ".tsx", ".mts", ".cts"];
1072
1072
  var hasTypescriptFiles = ({ srcFiles, configFiles }) => hasFileWithExtension([...srcFiles, ...configFiles], tsExtensions);
1073
- var decoratorPattern = /^\s*@[A-Z]\w*/m;
1073
+ var decoratorPattern = /^\s*@[a-zA-Z]\w*/m;
1074
1074
  var hasDecorators = ({ srcFiles }) => srcFiles.filter((f) => tsExtensions.some((ext) => f.endsWith(ext))).some((file) => {
1075
1075
  try {
1076
1076
  const content = fs7.readFileSync(file, "utf8");