@eventcatalog/sdk 2.29.0 → 2.29.1
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1040,7 +1040,7 @@ var getResources = async (catalogDir, {
|
|
|
1040
1040
|
}) => {
|
|
1041
1041
|
const ignoreList = latestOnly ? `**/versioned/**` : "";
|
|
1042
1042
|
const filePattern = pattern || `${catalogDir}/**/${type}/**/index.{md,mdx}`;
|
|
1043
|
-
const files = await getFiles(filePattern, [ignoreList, ...ignore2]);
|
|
1043
|
+
const files = await getFiles(filePattern, ["**/examples/**", ignoreList, ...ignore2]);
|
|
1044
1044
|
if (files.length === 0) return;
|
|
1045
1045
|
return files.map((file) => {
|
|
1046
1046
|
const { data, content } = cachedMatterRead(file);
|