Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 4ba78d6

Browse files
authored
Merge pull request Varying-Vagrant-Vagrants#2696 from Varying-Vagrant-Vagrants/modify/node-20-default
Switch to Node 20 to match WP core defaults
2 parents 92263f5 + 19bd102 commit 4ba78d6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ permalink: /docs/en-US/changelog/
1010

1111
### Enhancements
1212

13-
* Switched the default PHP from v7.4 to v8.2 and default Node from v14 to v16 ( #2690 )
13+
* Switched the default PHP from v7.4 to v8.2 and ~default Node from v14 to v16~ ( #2690 )
14+
* Use Node 20 as the default version to match WP and Gutenberg ( #2696 )
1415
* WP Coding standards v3 ( #2688 )
1516
* VIP Coding standards v3 ( #2688 )
1617
* Better error messages with links to docs when trying to use a PHP version that isn't installed ( #2689 )

provision/core/node-nvm/provision.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ function vvv_nvm_setup() {
5353

5454
fi
5555

56-
vvv_info " - Installing Node 16 via nvm"
57-
nvm install 16
58-
nvm use 16
56+
vvv_info " - Installing Node 20 via nvm"
57+
nvm install 20
58+
nvm use 20
5959

6060
vvv_info " - Ensuring vagrant user owns its own nvm folder"
6161
chown -R vagrant:vagrant /home/vagrant/.nvm/

0 commit comments

Comments
 (0)