This is an automated email from the ASF dual-hosted git repository. danwatford pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 9888b854a1 Implemented: Upgrade to node.js v20 (OFBIZ-12901) 9888b854a1 is described below commit 9888b854a14db366445a7345e33349d0c686c1c4 Author: Daniel Watford <dan...@watfordconsulting.com> AuthorDate: Sat Feb 17 13:20:34 2024 +0000 Implemented: Upgrade to node.js v20 (OFBIZ-12901) Node.js and NPM are used during the OFBiz build to retrieve module dependencies and to build some example plugin React components. Upgraded Node.js from v16 to v20 since v16 is end-of-life. --- build.gradle | 2 +- buildSrc/src/main/groovy/ofbiz-node-conventions.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a18972055a..7c06ac9744 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ plugins { id 'com.github.ben-manes.versions' version '0.47.0' apply false id "com.github.ManifestClasspath" version "0.1.0-RELEASE" id "com.github.jakemarsden.git-hooks" version "0.0.2" - id "com.github.node-gradle.node" version '3.5.1' apply false + id "com.github.node-gradle.node" version '7.0.2' apply false } /* OWASP plugin diff --git a/buildSrc/src/main/groovy/ofbiz-node-conventions.gradle b/buildSrc/src/main/groovy/ofbiz-node-conventions.gradle index 6e5d707748..284175ff2a 100644 --- a/buildSrc/src/main/groovy/ofbiz-node-conventions.gradle +++ b/buildSrc/src/main/groovy/ofbiz-node-conventions.gradle @@ -42,7 +42,7 @@ plugins { node { download = true - version = "16.13.1" + version = "20.11.1" // If environment variable CI is set, use 'npm ci' instead of 'npm install' to populate node_modules. npmInstallCommand = System.getenv("CI") ? 'ci' : 'install'