Use hardlinks for PNPM packages (#8357)

This commit is contained in:
Mike Miller
2025-10-15 23:57:55 +03:00
committed by GitHub
parent d46c948f2d
commit 6e331d3456
2 changed files with 2 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ function update_script() {
rm -rf /opt/zigbee2mqtt/data
mv /opt/z2m_backup/data /opt/zigbee2mqtt
cd /opt/zigbee2mqtt
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
$STD pnpm install --frozen-lockfile
$STD pnpm build
msg_ok "Updated Zigbee2MQTT"