@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.mjs
CHANGED
|
@@ -1000,7 +1000,7 @@ var getResources = async (catalogDir, {
|
|
|
1000
1000
|
}) => {
|
|
1001
1001
|
const ignoreList = latestOnly ? `**/versioned/**` : "";
|
|
1002
1002
|
const filePattern = pattern || `${catalogDir}/**/${type}/**/index.{md,mdx}`;
|
|
1003
|
-
const files = await getFiles(filePattern, [ignoreList, ...ignore2]);
|
|
1003
|
+
const files = await getFiles(filePattern, ["**/examples/**", ignoreList, ...ignore2]);
|
|
1004
1004
|
if (files.length === 0) return;
|
|
1005
1005
|
return files.map((file) => {
|
|
1006
1006
|
const { data, content } = cachedMatterRead(file);
|