[wp-trac] [WordPress Trac] #59665: Fix CI jobs: update "packages" > "version" number in 6.5 package-lock.json file.

WordPress Trac noreply at wordpress.org
Tue Oct 17 20:12:05 UTC 2023


#59665: Fix CI jobs: update "packages" > "version" number in 6.5 package-lock.json
file.
------------------------------+--------------------
 Reporter:  hellofromTonya    |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  6.5
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 On `trunk` the [https://github.com/WordPress/wordpress-
 develop/actions/runs/6551538594/workflow Test npm],
 [https://github.com/WordPress/wordpress-
 develop/actions/runs/6551538601/job/17793054196 JS coding standards], and
 [https://github.com/WordPress/wordpress-develop/actions/runs/6551538598 JS
 Tests] CI jobs are failing on the following task:

 >Ensure version-controlled files are not modified or deleted.

 For example, here's the workflow of the JS coding standards task:

 {{{
 ##[debug]/usr/bin/bash -e /home/runner/work/_temp/e1a4dc15-be4a-4570-a40f-
 53f4b3dc8650.sh
 diff --git a/package-lock.json b/package-lock.json
 index bcd0df4..a925ec5 100644
 --- a/package-lock.json
 +++ b/package-lock.json
 @@ -6,7 +6,7 @@
         "packages": {
                 "": {
                         "name": "WordPress",
 -                       "version": "6.4.0",
 +                       "version": "6.5.0",
                         "license": "GPL-2.0-or-later",
                         "dependencies": {
                                 "@emotion/is-prop-valid": "0.8.8",
 }}}

 Notice it's flagging the `"version"` number in the `"packages"`.

 [56966] modified the first "version" number in the `package-lock.json`,
 but did not modify the "version" within the "packages".

 Looking at what's flagged, `6.5.0` is expected, not `6.4.0`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59665>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list