Changes between Initial Version and Version 1 of Ticket #52827, comment 4


Ignore:
Timestamp:
Dec 3, 2016, 10:05:28 PM (8 years ago)
Author:
isomarcte (David Strawn)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52827, comment 4

    initial v1  
    2525> 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
    2626
    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"
     27Well, 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".
    2828
    2929> 3. PI does not patch the code; PPR does (to allow for sym-linking)