-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(guided remediation): npm workspaces devDeps in in-place strategy (#…
…1512) `devDependencies` can be declared in a workspace, which is not a direct dependency (`root` -> `workspace` -> `dev`). Made the IsDev check that `in-place` uses also check these so that `--ignore-dev` works properly for `in-place` with npm workspace. (`--ignore-dev` still doesn't behave correctly for `relax` with workspaces, but relax doesn't really work with workspaces anyway) Also fixed a potential panic with in-place & private registries that don't behave as expected w.r.t. `optionalDependencies` being in regular `dependencies`
- Loading branch information
1 parent
4fab586
commit 399c409
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters