Repository: jhipster/jhipster-lite
Pull request #10365 (2024-07-22 05:43:33)

chore(deps): replace dependency npm-run-all with npm-run-all2 5.0.0
Fixes #10344


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactory.java
index 477eaa0f4..92e710169 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactory.java
@@ -1,7 +1,7 @@
 package tech.jhipster.lite.generator.server.springboot.thymeleaf.template.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.*;
-import static tech.jhipster.lite.module.domain.packagejson.VersionSource.*;
+import static tech.jhipster.lite.module.domain.packagejson.VersionSource.COMMON;
 
 import java.util.regex.Pattern;
 import tech.jhipster.lite.generator.client.common.domain.ClientsModulesFactory;
@@ -91,7 +91,7 @@ public class ThymeleafTemplateModuleFactory {
         .addDevDependency(packageName("browser-sync"), COMMON)
         .addDevDependency(packageName("cssnano"), COMMON)
         .addDevDependency(packageName("mkdirp"), COMMON)
-        .addDevDependency(packageName("npm-run-all"), COMMON)
+        .addDevDependency(packageName("npm-run-all2"), COMMON)
         .addDevDependency(packageName("onchange"), COMMON)
         .addDevDependency(packageName("path-exists-cli"), COMMON)
         .addDevDependency(packageName("postcss"), COMMON)
diff --git a/src/main/resources/generator/dependencies/common/package.json b/src/main/resources/generator/dependencies/common/package.json
index 6abce2095..4c6cc862f 100644
--- a/src/main/resources/generator/dependencies/common/package.json
+++ b/src/main/resources/generator/dependencies/common/package.json
@@ -29,7 +29,7 @@
     "mkdirp": "3.0.1",
     "node": "20.15.1",
     "npm": "10.8.2",
-    "npm-run-all": "4.1.5",
+    "npm-run-all2": "5.0.0",
     "onchange": "7.1.0",
     "path-exists-cli": "2.0.0",
     "postcss": "8.4.39",


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactoryTest.java
index a46ec83eb..e09b707e8 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/thymeleaf/template/domain/ThymeleafTemplateModuleFactoryTest.java
@@ -32,7 +32,7 @@ class ThymeleafTemplateModuleFactoryTest {
         .containing(nodeDependency("browser-sync"))
         .containing(nodeDependency("cssnano"))
         .containing(nodeDependency("mkdirp"))
-        .containing(nodeDependency("npm-run-all"))
+        .containing(nodeDependency("npm-run-all2"))
         .containing(nodeDependency("onchange"))
         .containing(nodeDependency("path-exists-cli"))
         .containing(nodeDependency("postcss"))