@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/xy/index.mjs CHANGED
@@ -976,7 +976,7 @@ import fs7 from "fs";
976
976
  var hasFileWithExtension = (files, extensions) => files.some((f) => extensions.some((ext) => f.endsWith(ext)));
977
977
  var tsExtensions = [".ts", ".tsx", ".mts", ".cts"];
978
978
  var hasTypescriptFiles = ({ srcFiles, configFiles }) => hasFileWithExtension([...srcFiles, ...configFiles], tsExtensions);
979
- var decoratorPattern = /^\s*@[A-Z]\w*/m;
979
+ var decoratorPattern = /^\s*@[a-zA-Z]\w*/m;
980
980
  var hasDecorators = ({ srcFiles }) => srcFiles.filter((f) => tsExtensions.some((ext) => f.endsWith(ext))).some((file) => {
981
981
  try {
982
982
  const content = fs7.readFileSync(file, "utf8");