Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Node 20 to match WP core defaults #2696

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ permalink: /docs/en-US/changelog/

### Enhancements

* Switched the default PHP from v7.4 to v8.2 and default Node from v14 to v16 ( #2690 )
* Switched the default PHP from v7.4 to v8.2 and ~default Node from v14 to v16~ ( #2690 )
* Use Node 20 as the default version to match WP and Gutenberg ( #2696 )
* WP Coding standards v3 ( #2688 )
* VIP Coding standards v3 ( #2688 )
* Better error messages with links to docs when trying to use a PHP version that isn't installed ( #2689 )
Expand Down
6 changes: 3 additions & 3 deletions provision/core/node-nvm/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ function vvv_nvm_setup() {

fi

vvv_info " - Installing Node 16 via nvm"
nvm install 16
nvm use 16
vvv_info " - Installing Node 20 via nvm"
nvm install 20
nvm use 20

vvv_info " - Ensuring vagrant user owns its own nvm folder"
chown -R vagrant:vagrant /home/vagrant/.nvm/
Expand Down
Loading