fix(deploy): update package-lock.json for consistent npm ci deployments

- Removed package-lock.json from .gitignore to ensure it is tracked.
- Added locks for backend, frontend, and repo root to maintain version consistency during deployments with npm ci.
- Updated backend with a new script for lockfile synchronization and added a description note.
This commit is contained in:
Torsten Schulz (local)
2026-03-27 09:20:37 +01:00
parent 17325a5263
commit 085333db29
2 changed files with 1470 additions and 4 deletions

View File

@@ -27,6 +27,7 @@
class="menu-icon"
>&nbsp;</span>
<span class="mainmenuitem__label">{{ $t(`navigation.${key}`) }}</span>
<span v-if="item.disabled" class="menu-lock-badge">18+</span>
<span v-if="hasTopLevelSubmenu(item)" class="mainmenuitem__caret">&#x25BE;</span>
<!-- Untermenü Ebene 1 -->
@@ -48,6 +49,7 @@
class="submenu-icon"
>&nbsp;</span>
<span>{{ subitem?.label || $t(`navigation.m-${key}.${subkey}`) }}</span>
<span v-if="subitem.disabled" class="menu-lock-badge">18+</span>
<span
v-if="hasSecondLevelSubmenu(subitem, subkey)"
class="subsubmenu"
@@ -123,6 +125,7 @@
class="submenu-icon"
>&nbsp;</span>
<span>{{ subsubitem?.label || $t(`navigation.m-${key}.m-${subkey}.${subsubkey}`) }}</span>
<span v-if="subsubitem.disabled" class="menu-lock-badge">18+</span>
</li>
</ul>
</li>
@@ -463,6 +466,7 @@ export default {
event.stopPropagation();
if (item?.disabled) {
this.handleDisabledItem(item);
return;
}
@@ -524,6 +528,16 @@ export default {
}
this.handleItem(item, event);
},
handleDisabledItem(item) {
const isEroticEntry = item?.path?.startsWith('/socialnetwork/erotic')
|| item?.action === 'openEroticChat';
if (isEroticEntry) {
this.$router.push('/socialnetwork/erotic/access');
this.collapseMenus();
}
}
}
};
@@ -619,14 +633,14 @@ ul {
.mainmenuitem--disabled,
.submenu-item--disabled {
opacity: 0.55;
cursor: not-allowed;
opacity: 0.72;
cursor: help;
}
.mainmenuitem--disabled:hover {
transform: none;
background-color: transparent;
border-color: transparent;
background-color: rgba(248, 162, 43, 0.1);
border-color: rgba(248, 162, 43, 0.15);
}
.mainmenuitem--active {
@@ -645,6 +659,18 @@ ul {
color: rgba(95, 75, 57, 0.7);
}
.menu-lock-badge {
display: inline-flex;
margin-left: 6px;
padding: 2px 6px;
border-radius: 999px;
background: rgba(164, 98, 72, 0.14);
color: var(--color-text-secondary);
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.04em;
}
a {
text-decoration: none;
}