[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Setup: use correct npm ci command

"MAGENE Sem Joel \(@Jomagene\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69a35076cf1b4_3b1879b423996@gitlab-sidekiq-low-urgency-cpu-bound-v2-7f6f7b97c5-mgbpv.mail>

MAGENE Sem Joel pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
0ebd95e9 by MAGENE Sem Joel at 2026-02-28T20:22:06+00:00
[BP][FIX] Setup: use correct npm ci command
---
* [FIX] Setup: fix clean-install command syntax

See merge request tikiwiki/tiki!9671

- - - - -


2 changed files:

- doc/devtools/release.php
- setup.sh


Changes:

=====================================
doc/devtools/release.php
=====================================
@@ -639,7 +639,7 @@ function build_packages($releaseVersion)
     }
 
     echo "Running node install and build\n";
-    $npmInstall = "cd $sourceDir; npm install --clean-install --engine-strict";
+    $npmInstall = "cd $sourceDir; npm clean-install --engine-strict";
     exec($npmInstall, $npmInstallOutput, $npmInstallExitCode);
     if ($npmInstallExitCode !== 0) {
         error("npm install failed. Exiting.", $npmInstallExitCode);


=====================================
setup.sh
=====================================
@@ -715,7 +715,7 @@ npm_setup() {
 
     echo "Running node install and build"
     set -x
-    npm install --clean-install --engine-strict
+    npm clean-install --engine-strict
     {
         exitCode=$?
         if [ $exitCode -ne 0 ]; then



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0ebd95e99ca80c1f6fe19a17d8556612d6c507e0

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0ebd95e99ca80c1f6fe19a17d8556612d6c507e0
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.