[Rush] detect the package root traversing bottom-to-root, not root-to-bottom #1671
Open
1 of 2 tasks
Labels
needs more info
We can't proceed because we need a better repro or an answer to a question
Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Please describe the actual behavior.
Assuming I have a rush project with 2 packages, 1 in
.
(as long as I'm trying to resolve some pnpm&eslint issues by manual root creation of node_modules), second in./packages/whatever
,when i type
rush add -p %package_name%
in./packages/whatever
directory,dependency is added to package at
.
.What is the expected behavior?
I expect rush to detect the package as close as possible and add dependency there, not to the topmost one.
If this is a bug, please provide the tool version, Node.js version, and OS.
also, PNPM 4.6.0 is used.
The text was updated successfully, but these errors were encountered: