Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/RebuildIndex.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,13 @@ class RebuildIndex {

static async #listSchemaDirs( { namespaceDir } ) {
const all = await RebuildIndex.#listSubDirs( { dir: namespaceDir } )
// Exclude meta dirs (`_gradings`, the per-schema emit dir `_schema`, and any
// future `_`-prefixed island dir). Schema names are `[a-z][a-z0-9-]*`, so none
// start with `_` — excluding them keeps the emit scaffolding from surfacing as
// a phantom pending schema that taints the rollup + the schema count.
return all
.filter( ( name ) => name !== GRADINGS_DIR )
.filter( ( name ) => name.startsWith( '_' ) === false )
}


Expand Down
Loading