Skip to content

Commit 7d1edb2

Browse files
author
Eric Wheeler
committed
docs: add workspace command execution guidelines
Add a new section to monorepo documentation that clarifies how to execute commands in specific workspaces using the cwd parameter. This helps models understand the importance of specifying the correct workspace context when running commands in the monorepo structure. Fixes: #4298 Signed-off-by: Eric Wheeler <[email protected]>
1 parent b9c00f2 commit 7d1edb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.roo/rules/monorepo.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@
4949
1. Move any failing tests → `name.spec.ts`
5050
2. Add new tests → `name.spec.ts`
5151
3. Leave successful tests in `.test.ts`
52+
53+
# Executing package specific commands
54+
55+
Any time you are using a workspace to run commands, you must always specify `<cwd>workspace/directory</cwd>`

0 commit comments

Comments
 (0)