WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#46706 closed defect (bug) (fixed)

Ignore Twenty Nineteen's node_modules directory in "jsvalidate:build" task

Reported by: SergeyBiryukov Owned by: SergeyBiryukov
Milestone: 5.2 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:
PR Number:

Description (last modified by SergeyBiryukov)

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.

Change History (3)

#1 @SergeyBiryukov
8 months ago

  • Description modified (diff)

#2 @SergeyBiryukov
8 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 45060:

Build/Test Tools: Exclude twentynineteen/node_modules from jsvalidate:build task.

Fixes #46706.

#3 @SergeyBiryukov
8 months ago

  • Component changed from Bundled Theme to Build/Test Tools
Note: See TracTickets for help on using tickets.