[wp-trac] [WordPress Trac] #43055: Reorganize Core JS / introduce build step

WordPress Trac noreply at wordpress.org
Thu Jan 11 12:58:29 UTC 2018


#43055: Reorganize Core JS / introduce build step
------------------------------+-------------------------
 Reporter:  omarreiss         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:  javascript
------------------------------+-------------------------

Comment (by dingo_bastard):

 I never had any issues with writing patches or testing stuff on VVV, and
 adding one small extra command line is not that complicated.

 Somehow I get the feeling that we are worried that people will be thrown
 off of developing or contributing because they need to use the command
 line (which I've grown quite fond of). Even Windows has bash built into it
 (granted only win10 but still) :D
 We should be looking at this as an opportunity to educate people how to
 use new and exciting tools. Sure, npm can be fidgety, sometimes some js
 projects work with one version of npm & node, other with different one.
 But I've had same experience with ruby (where one project works on 1.9.1
 and not on 2.2.2 etc), and the development on those projects when compared
 to WordPress is just scary awful (the builds fall apart because hey,
 somebody removed a gem that existed n years ago and was used in the
 project). With WordPress I didn't have that experience. And I've learned a
 lot since I've started to work with it (and still do).

 Point I'm trying to make is that we should use this opportunity to create
 a good documentation and show people that it's not hard to use these
 tools. I mean everybody in JS world is using either yarn or npm. WordPress
 is often the first touch people have with development (usually when they
 have to modify themes). If we show them that they can learn to use modern
 tools that might inspire them to learn more by themselves and be a better
 developer.

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


More information about the wp-trac mailing list