spliit: install missing deepmerge transitive dep before build

Spliit imports deepmerge in src/i18n/request.ts but does not declare it
in package.json; Next.js 16 Turbopack rejects phantom dependencies, so
the build fails with 'Module not found: deepmerge'.
This commit is contained in:
A
2026-05-17 11:22:47 +02:00
parent 6cc6168c38
commit dc5eae95d8
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ function update_script() {
cd /opt/spliit
set -a && source /opt/spliit/.env && set +a
$STD npm install
$STD npm install deepmerge
$STD npm run build
msg_ok "Built Application"

View File

@@ -41,6 +41,7 @@ msg_info "Building Application"
cd /opt/spliit
set -a && source /opt/spliit/.env && set +a
$STD npm install
$STD npm install deepmerge
$STD npm run build
msg_ok "Built Application"