Changes between Initial Version and Version 1 of Ticket #52827, comment 4
- Timestamp:
- Dec 3, 2016, 10:05:28 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52827, comment 4
initial v1 25 25 > 2. PI installs into lib and links yarn.js directly; PPR installs in libexec and links to the yarn shell script that calls yarn.js 26 26 27 Well, to be more accurate, the version I created installs it into `lib/node_modules`. This is where it would get installed if you ran `npm -g install yarn` and where `npm` itself is installed. I certainly don't think that there is anything wrong with installing it into `libexec`, but the `lib/node_modules` seems to adhear to the "Principle of Least Astonishment"27 Well, to be more accurate, the version I created installs it into `lib/node_modules`. This is where it would get installed if you ran `npm -g install yarn` and where `npm` itself is installed. I certainly don't think that there is anything wrong with installing it into `libexec`, but the `lib/node_modules` location seems to adhear to the "Principle of Least Astonishment". 28 28 29 29 > 3. PI does not patch the code; PPR does (to allow for sym-linking)