[wp-trac] [WordPress Trac] #38603: Explore adding Yarn and a `yarn.lock` file for NPM module management
WordPress Trac
noreply at wordpress.org
Wed Apr 12 14:20:43 UTC 2017
#38603: Explore adding Yarn and a `yarn.lock` file for NPM module management
------------------------------+-----------------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+-----------------------------
Comment (by jnylen0):
I should've searched and found this ticket before opening #40421, but
before we make a decision here I'd like to see us take one of two steps,
with the goal of preserving a clean source tree for people (like me) who
are already using `yarn`:
- '''Commit `yarn.lock`''' to the source tree. This does not impose a
requirement that people start to use yarn, rather it merely provides
additional benefits if you do (deterministic installs including all
versions of sub-dependencies).
- '''Ignore `yarn.lock` in `git` and `svn`'''. This also does not create
any kind of expectation that people must use `yarn` instead of `npm
install`, though there are a lot of benefits. This will allow people to
continue using `yarn` if they wish, with a clean source tree.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38603#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list