Commit 6af2557
committed
fix(core): normalize ./ prefix in workspace globs for package detection
Strip leading ./ from packageConfigs globs before matching against Nx
project roots, which are always normalized without the prefix. This
fixes workspace detection when package.json uses "./packages/*" style
globs, which are valid in both npm and yarn.
Closes #41901 parent 2d1c878 commit 6af2557
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments