mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-02 17:05:55 +01: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user