@eventcatalog/sdk 2.27.2 → 2.27.3

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.js CHANGED
@@ -676,7 +676,7 @@ function buildFileCache(catalogDir) {
676
676
  const canonicalCatalogDir = toCanonicalPath(catalogDir);
677
677
  const files = (0, import_glob2.globSync)("**/index.{md,mdx}", {
678
678
  cwd: canonicalCatalogDir,
679
- ignore: ["node_modules/**"],
679
+ ignore: ["node_modules/**", "dist/**", ".eventcatalog-core/**"],
680
680
  absolute: true,
681
681
  nodir: true
682
682
  }).map(import_node_path.normalize);
@@ -819,7 +819,7 @@ var getFiles = async (pattern, ignore2 = "") => {
819
819
  const ignoreList = Array.isArray(ignore2) ? ignore2 : [ignore2];
820
820
  const files = (0, import_glob2.globSync)(relativePattern, {
821
821
  cwd: absoluteBaseDir,
822
- ignore: ["node_modules/**", ...ignoreList],
822
+ ignore: ["node_modules/**", "dist/**", ".eventcatalog-core/**", ...ignoreList],
823
823
  absolute: true,
824
824
  nodir: true
825
825
  });