Skip to content

Commit 7d4862e

Browse files
committed
[Workers Builds] Add filetree + correect nesting
1 parent 4349a1a commit 7d4862e

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

src/content/docs/workers/ci-cd/builds/advanced-setups.mdx

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66
order: 8
77
---
88

9+
import { FileTree } from "~/components";
10+
911
## Monorepos
1012

1113
A monorepo is a single repository that contains multiple applications. This setup can be useful for a few reasons:
@@ -45,23 +47,23 @@ Set the root directory of each Worker to where its wrangler.toml is located. For
4547

4648
When a new commit is made to `ecommerce-monorepo`, a build and deploy will be triggered for each of the Workers if the change is within its included watch paths using the configured commands for that Worker.
4749

48-
```
49-
ecommerce-monorepo/
50-
51-
├── workers/
52-
│ ├── product-service/
53-
│ │ ├── src/
54-
│ │ └── wrangler.toml
55-
│ ├── order-service/
56-
│ │ ├── src/
57-
│ │ └── wrangler.toml
58-
│ └── notification-service/
59-
│ ├── src/
60-
│ └── wrangler.toml
61-
├── packages/
62-
│ └── schema/
63-
└── README.md
64-
```
50+
{/* prettier-ignore */}
51+
<FileTree>
52+
- ecommerce-monorepo/
53+
- workers/
54+
- product-service/
55+
- src/
56+
- wrangler.toml
57+
- order-service/
58+
- src/
59+
- wrangler.toml
60+
- notification-service/
61+
- src/
62+
- wrangler.toml
63+
- packages/
64+
- schema/
65+
- README.md
66+
</FileTree>
6567

6668
## Wrangler Environments
6769

0 commit comments

Comments
 (0)