[wp-trac] [WordPress Trac] #46706: Ignore Twenty Nineteen's node_modules directory in "jsvalidate:build" task

WordPress Trac noreply at wordpress.org
Thu Mar 28 21:11:17 UTC 2019


#46706: Ignore Twenty Nineteen's node_modules directory in "jsvalidate:build" task
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.2
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+---------------------
Description changed by SergeyBiryukov:

Old description:

> Twenty Nineteen uses npm to run various run build tasks: `node-sass`,
> `rtlcss`, etc.
>
> Once you run `npm install` in the theme's directory, `grunt build` core
> task fails due to `jsvalidate:build` attempting to validate files in
> `twentynineteen/node_modules`. This directory should be excluded from the
> task.

New description:

 Twenty Nineteen uses npm to run various build tasks: `node-sass`,
 `rtlcss`, etc.

 Once you run `npm install` in the theme's directory, `grunt build` core
 task fails due to `jsvalidate:build` attempting to validate files in
 `twentynineteen/node_modules`. This directory should be excluded from the
 task.

--

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


More information about the wp-trac mailing list