Skip to content

Commit

Permalink
docs: add missing apps folder in prune command reference (#9658)
Browse files Browse the repository at this point in the history
### Description

Hi everyone! I found that an example in the `prune` command reference
shows an incorrect folder structure: `frontend` workspace is initially
inside `apps` folder, but it's shown inside `packages` folder in the
output example of `docker prune fronted --docker`

### Screenshots
After running `turbo prune docs --docker`, (think of `docs` as an
equivalent of `frontend`) I get the following structure:

![image](https://github.com/user-attachments/assets/4b033881-6ab8-494a-9540-3455d203375d)


### Testing Instructions

To reproduce it, I created a new turborepo project, and the run `turbo
prune docs --docker`.
  • Loading branch information
gianelli99 authored Dec 30, 2024
1 parent df0ea49 commit 3543736
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/repo-docs/reference/prune.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,18 @@ Using the same example from above, running `turbo prune frontend --docker` will
</Folder>
<Folder name="json" defaultOpen>
<File name="package.json (from repo root)" />
<Folder name="apps" defaultOpen>
<Folder name="frontend" defaultOpen>
<File name="package.json" />
</Folder>
</Folder>
<Folder name="packages" defaultOpen>
<Folder name="ui" defaultOpen>
<File name="package.json" />
</Folder>
<Folder name="shared" defaultOpen>
<File name="package.json" />
</Folder>
<Folder name="frontend" defaultOpen>
<File name="package.json" />
</Folder>
</Folder>

</Folder>
Expand Down

0 comments on commit 3543736

Please sign in to comment.