-
Notifications
You must be signed in to change notification settings - Fork 2.6k
docs: add workspace command execution guidelines #4299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add comprehensive documentation for monorepo structure and workflows: - Workspace organization and primary development areas - Package dependency management with pnpm - Turborepo configuration guidelines - Test execution strategies for both vitest and jest - Migration path from deprecated test formats to modern ones Fixes: #4295 Signed-off-by: Eric Wheeler <[email protected]>
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]>
|
Hey @KJ7LNW, Thank you for your contribution! Can you solve the conflicts for clarity? |
that was a strange merge conflict but it should be fixed in a moment |
|
Seems to be already added by #4296 |
Actually this PR is in addition to that one. |
|
@cte I do not see this did you delete it? |
|
|
ok, re-closing this PR. thanks. |
Closing. |

Context
Add clear guidelines for executing commands in specific workspaces within the monorepo structure.
Implementation
This PR adds a new section to
.roo/rules/monorepo.mdthat explicitly instructs models to:<cwd>workspace/directory</cwd>parameter when executing commands in specific workspacesThis documentation will help prevent errors in package management, test execution, and build processes by ensuring commands are run in the correct context.
@cte Please review these workspace command execution guidelines to ensure they align with best practices for the monorepo.
Fixes: #4298
Important
Adds guidelines in
.roo/rules/monorepo.mdfor executing commands in specific workspaces using<cwd>workspace/directory</cwd>to ensure correct context and prevent errors..roo/rules/monorepo.mdfor executing commands in specific workspaces using<cwd>workspace/directory</cwd>.pnpm add <package>in<cwd>workspace/directory</cwd>for dependency installation.pnpmin root.<cwd>workspace/directory</cwd>for running test commands..spec.tsand.test.tsfiles.This description was created by
for 7d1edb2. You can customize this summary. It will automatically update as commits are pushed.