Thanks, that's exactly the layout I was missing. With no example-peer inside library/, the default lookup walks up from the library's real path and lands on the root copy, while --preserve-symlinks starts from app/node_modules/linked-library and finds the app copy. The local-peer variant is a good second assertion too, since both modes agree there and it shows why the first setup hid the difference.
To be upfront, onecopy still only models the default lookup. I haven't added the flag yet. When I do, this layout goes in as the regression test.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, that's exactly the layout I was missing. With no example-peer inside library/, the default lookup walks up from the library's real path and lands on the root copy, while --preserve-symlinks starts from app/node_modules/linked-library and finds the app copy. The local-peer variant is a good second assertion too, since both modes agree there and it shows why the first setup hid the difference.
To be upfront, onecopy still only models the default lookup. I haven't added the flag yet. When I do, this layout goes in as the regression test.