@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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -636,7 +636,7 @@ function buildFileCache(catalogDir) {
|
|
|
636
636
|
const canonicalCatalogDir = toCanonicalPath(catalogDir);
|
|
637
637
|
const files = globSync2("**/index.{md,mdx}", {
|
|
638
638
|
cwd: canonicalCatalogDir,
|
|
639
|
-
ignore: ["node_modules/**"],
|
|
639
|
+
ignore: ["node_modules/**", "dist/**", ".eventcatalog-core/**"],
|
|
640
640
|
absolute: true,
|
|
641
641
|
nodir: true
|
|
642
642
|
}).map(normalize);
|
|
@@ -779,7 +779,7 @@ var getFiles = async (pattern, ignore2 = "") => {
|
|
|
779
779
|
const ignoreList = Array.isArray(ignore2) ? ignore2 : [ignore2];
|
|
780
780
|
const files = globSync2(relativePattern, {
|
|
781
781
|
cwd: absoluteBaseDir,
|
|
782
|
-
ignore: ["node_modules/**", ...ignoreList],
|
|
782
|
+
ignore: ["node_modules/**", "dist/**", ".eventcatalog-core/**", ...ignoreList],
|
|
783
783
|
absolute: true,
|
|
784
784
|
nodir: true
|
|
785
785
|
});
|