Skip to content

Commit 82156c7

Browse files
authored
docs: Exclude test-snaps from README graph (#3727)
This excludes `test-snaps` from the graph in the README. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Exclude `packages/test-snaps` from README’s generated dependency graph and package list. > > - **README generation script (`scripts/update-readme-content.mts`)**: > - Update `retrieveWorkspaces` filter to also exclude `packages/test-snaps`, in addition to `packages/examples/`, from workspace processing. > - Effectively removes `test-snaps` from the generated dependency graph and package list in the README. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 78943f0. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 0970e9e commit 82156c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/update-readme-content.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ async function retrieveWorkspaces(): Promise<Workspace[]> {
6161
.split('\n')
6262
.map((line) => JSON.parse(line))
6363
.filter(
64-
(workspace) => !workspace.location.startsWith('packages/examples/'),
64+
(workspace) =>
65+
!workspace.location.startsWith('packages/examples/') &&
66+
!workspace.location.startsWith('packages/test-snaps'),
6567
);
6668
}
6769

0 commit comments

Comments
 (0)