Silence npm ci logging

This commit is contained in:
Phillip Webb
2024-03-28 22:29:40 -07:00
parent 70a4bc8023
commit e460929aa6

View File

@@ -101,7 +101,7 @@ public class AntoraConventions {
environment.put("npm_config_omit", "optional");
environment.put("npm_config_update_notifier", "false");
npmInstallTask.getEnvironment().set(environment);
npmInstallTask.getNpmCommand().set(List.of("ci", "--quiet"));
npmInstallTask.getNpmCommand().set(List.of("ci", "--silent", "--no-progress"));
}
private ExtractVersionConstraints addDependencyVersionsTask(Project project) {