#59187 closed enhancement (fixed)
Bundled Themes need to be update to node 16
Reported by: | jivygraphics | Owned by: | desrosj |
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Build/Test Tools | Keywords: | good-first-bug has-patch needs-testing commit |
Focuses: | Cc: |
Description
Supplied patch should be the package.lock file.
Change History (17)
#1
@
16 months ago
- Component changed from General to Build/Test Tools
- Milestone changed from Awaiting Review to 6.4
#2
follow-up:
↓ 4
@
16 months ago
twentynineteen
might be fine. After a node 16 install/build no changes.
This ticket was mentioned in PR #5075 on WordPress/wordpress-develop by @mikestraw.
16 months ago
#3
- Keywords has-patch added; needs-patch removed
Updates twentynineteen package.json to Node 16.
Trac ticket: https://core.trac.wordpress.org/ticket/59187
#4
in reply to:
↑ 2
@
16 months ago
Replying to whyisjake:
twentynineteen
might be fine. After a node 16 install/build no changes.
I actually got changes: https://github.com/WordPress/wordpress-develop/pull/5075
Only three themes actually have a package.json
:
find . -name package.json ./wp-content/themes/twentynineteen/package.json ./wp-content/themes/twentytwentyone/package.json ./wp-content/themes/twentytwenty/package.json
This ticket was mentioned in PR #5077 on WordPress/wordpress-develop by @mikestraw.
16 months ago
#5
Updates twentytwenty package-lock.json to Node 16.
Trac ticket: https://core.trac.wordpress.org/ticket/59187
#6
follow-up:
↓ 7
@
16 months ago
Created separate patches for each theme that has a package.json
:
- twentynineteen: https://github.com/WordPress/wordpress-develop/pull/5075
- twentytwenty: https://github.com/WordPress/wordpress-develop/pull/5077
- twentytwentyone: https://github.com/WordPress/wordpress-develop/pull/5078
#7
in reply to:
↑ 6
@
16 months ago
Replying to mikestraw:
Created separate patches for each theme that has a
package.json
:
- twentynineteen: https://github.com/WordPress/wordpress-develop/pull/5075
- twentytwenty: https://github.com/WordPress/wordpress-develop/pull/5077
- twentytwentyone: https://github.com/WordPress/wordpress-develop/pull/5078
Mike! Thanks for pulling this!
This ticket was mentioned in PR #5078 on WordPress/wordpress-develop by @mikestraw.
16 months ago
#8
Updates twentytwentyone package.json to Node 16.
Trac ticket: https://core.trac.wordpress.org/ticket/59187
This ticket was mentioned in Slack in #core by mikestraw. View the logs.
15 months ago
#13
@
15 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
Looks like another step is needed for Twenty Twenty and Twenty Twenty-One. It seems that npm install
works but npm ci
fails because of how peer dependencies are resolved in npm >= 7.0.0.
We'll need to add an .npmrc
file with legacy-peer-deps = true
, similar to what's in the main project folder now.
Related: #56658.