[wp-trac] [WordPress Trac] #40938: Add npm `package-lock.json` for npm v5.x

WordPress Trac noreply at wordpress.org
Mon Jan 22 12:26:12 UTC 2018


#40938: Add npm `package-lock.json` for npm v5.x
------------------------------+-----------------------
 Reporter:  netweb            |       Owner:  netweb
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------

Comment (by azaozz):

 Perhaps for now we should add `package-lock.json` and even `yarn.lock` to
 svn ignore and gitignore. There is no point in producing "messy" diffs
 with unversioned files, and tripping up people that want to make a patch.
 They can be "unignored" easily when the time comes.

 I'm also not so keen on using (yet another) package to keep these lock
 files synced. See the caveats section in the sunp docs:
 https://www.npmjs.com/package/synp#caveats. Ideally we should stick to
 either `package-lock.json` or `yarn.lock` and ignore the other.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40938#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list