[TikiWiki-commits] [Git][tikiwiki/tiki][27.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 <69a355a5ba8a6_3b18793c957c4@gitlab-sidekiq-low-urgency-cpu-bound-v2-7f6f7b97c5-wv9ht.mail>

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


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

See merge request tikiwiki/tiki!9671

(cherry picked from commit 0ebd95e99ca80c1f6fe19a17d8556612d6c507e0)

See merge request tikiwiki/tiki!9672

- - - - -


2 changed files:

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


Changes:

=====================================
doc/devtools/release.php
=====================================
@@ -635,7 +635,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
=====================================
@@ -736,7 +736,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/eb5ff25045b24f3bc6f0f8bf909987fc96998069

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/eb5ff25045b24f3bc6f0f8bf909987fc96998069
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.