[wp-trac] [WordPress Trac] #64221: Reclassify `json2php` as a `devDependency`

WordPress Trac noreply at wordpress.org
Tue Feb 17 18:22:55 UTC 2026


#64221: Reclassify `json2php` as a `devDependency`
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:  desrosj
     Type:  task (blessed)                       |      Status:  reviewing
 Priority:  normal                               |   Milestone:  7.0
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch changes-    |     Focuses:  tests
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch changes-
     requested


Comment:

 @dilip2615 are you still seeing the `copy:block-json` script locally? That
 Grunt script was removed in [61438], so I'm not sure how `npx grunt copy
 :block-json` did not return an error for you in your testing.

 The new build script still depends on `json2php`, so moving to
 `devDependency` does still make sense.

 The PR has a merge conflict, though (likely caused by [61438]), so that
 needs to be refreshed in order to retest.

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


More information about the wp-trac mailing list