mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-16 07:41:11 +02:00
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
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Strapi"
|
msg_info "Updating Strapi"
|
||||||
cd /opt/strapi
|
cd /opt/strapi
|
||||||
$STD npm install
|
$STD npx @strapi/upgrade minor --yes
|
||||||
msg_ok "Updated Strapi"
|
msg_ok "Updated Strapi"
|
||||||
|
|
||||||
msg_info "Building Strapi"
|
msg_info "Building Strapi"
|
||||||
|
|||||||
Reference in New Issue
Block a user