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