[MacPorts] #52827: yarn @0.16.1
MacPorts
noreply at macports.org
Sun Nov 6 03:30:52 CET 2016
#52827: yarn @0.16.1
------------------------+--------------------------------
Reporter: isomarcte | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: yarn
------------------------+--------------------------------
This is a new Port for https://yarnpkg.com/
This is the first Portfile I have created from scratch and I have
attempted to follow the best practices, but any feedback on the Portfile
is greatly appreciated.
In particular, I would appreciate an audit of the destroot phase and the
install note. Since this is a JavaScript package there is nothing to
build, we just unpack and copy the files into the correct locations in the
destroot phase. There is nothing to build.
The note informs the user that they should probably avoid using yarn as a
global package manager, and if they do so what they might expect to have
happen and how to handle it. I borrowed a bit of the opening wording from
the NPM packages, since it has the same issue and the the note there was
well written. I expanded it a bit with how one might "fix" their system if
they do choose to install stuff locally.
--
Ticket URL: <https://trac.macports.org/ticket/52827>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list