Commit ba99b5b
committed
Fix: Add implicit self-dependencies to node-modules package maps
When nodeExperimentalPackageMap is enabled, packages that rely on a self
symlink can now correctly resolve their own name under standard enforcement.
The node-modules package map builder now adds an implicit self-dependency
for non-workspace packages when there's no explicit self-dependency,
mirroring the behavior of the pnpm linker. This ensures parity between
both linkers' package map generation within the same PR.1 parent f3364ae commit ba99b5b
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
273 | 280 | | |
274 | 281 | | |
275 | 282 | | |
| |||
0 commit comments