Skip to content

Commit 52be465

Browse files
committed
feat(catalog): exclude template packages from catalog loading
1 parent 65cecad commit 52be465

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/lib/catalog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ export async function loadCatalog(workspaceRoot, settings, options = {}) {
337337
trusted: isTrustedPublisher(entry, settings),
338338
}))
339339

340+
entries = entries.filter((e) => !e.name.includes('-template') && !e.shortName.includes('-template'))
341+
340342
entries = await enrichCatalogEntries(entries, workspaceRoot, settings)
341343

342344
return {

0 commit comments

Comments
 (0)