From a1832c96e3fb581e49bed8e3cbb72b643dad130f Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Feb 2026 13:24:55 +0100 Subject: [PATCH] fix(strapi): use official upgrade tool instead of npm install Replace 'npm install' with 'npx @strapi/upgrade minor --yes' which properly updates dependencies in package.json and runs codemods. See https://docs.strapi.io/cms/upgrade-tool --- ct/strapi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/strapi.sh b/ct/strapi.sh index 7ddd45268..01efaebb9 100755 --- a/ct/strapi.sh +++ b/ct/strapi.sh @@ -36,7 +36,7 @@ function update_script() { msg_info "Updating Strapi" cd /opt/strapi - $STD npm install + $STD npx @strapi/upgrade minor --yes msg_ok "Updated Strapi" msg_info "Building Strapi"