Skip to content

fix(table-generator): include nested workspaces in the apps table - #34

Open
Dusk1e wants to merge 1 commit into
shelby:mainfrom
Dusk1e:fix/table-generator-nested-apps
Open

fix(table-generator): include nested workspaces in the apps table#34
Dusk1e wants to merge 1 commit into
shelby:mainfrom
Dusk1e:fix/table-generator-nested-apps

Conversation

@Dusk1e

@Dusk1e Dusk1e commented Aug 13, 2026

Copy link
Copy Markdown

Summary

scanDirectory only scanned one level under apps so nested workspaces were skipped
apps/ethereum and apps/solana have no package.json of their own so the three apps
inside them never reached the generated README table

Now recurses into directories without a package.json sorts entries for stable
output and skips dotfiles and node_modules

README regenerated lists 8 apps instead of 5

Tests

pnpm update-table finds 8 apps and produces the committed README
pnpm check-table passes and is idempotent after the change
biome check clean on both changed files

scanDirectory only looked one level below apps/, so any workspace nested
under a grouping directory was skipped. apps/ethereum and apps/solana hold
no package.json of their own, so the scan stopped at them and the three
apps inside were never listed in the README.

Treat a directory without a package.json as a grouping directory and
recurse into it. This matches pnpm-workspace.yaml, which already declares
apps/solana/* and apps/ethereum/* as workspaces. Directory entries are now
sorted so the generated table does not depend on filesystem ordering, and
dotfiles and node_modules are skipped while walking.

Regenerated README.md now lists all 8 apps instead of 5. Also adds the
missing description to the Ethereum example so its new row is not rendered
as "No description provided".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant