[wp-trac] [WordPress Trac] #59663: Bump the minimum required version of Node.js to 20.x
WordPress Trac
noreply at wordpress.org
Sat Dec 23 15:13:55 UTC 2023
#59663: Bump the minimum required version of Node.js to 20.x
------------------------------+-----------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+-----------------------
Comment (by kraftbj):
I also have an automatic function to nvm in a new directory. Looking it
up, it is the ohmyzsh-included nvm plugin which runs `nvm install` only if
the version of node in `.nvmrc` is not installed and `nvm use` instead:
https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/nvm/nvm.plugin.zsh
IMO, if the version in nvmrc could be met by versions not meeting
package.json, one or the other should be adjusted (e.g. why 20.10 vs 20.x
as the minimum? Is there a functional reason why 20.10 is the minimum of
the LTS?)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59663#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list