🐛 fix: resolve CI/CD build failures for manacore-web and todo-web

- Replace lucide-svelte with @lucide/svelte (Svelte 5 runes compatible)
- Add shared-splitscreen and shared-types to todo-web Dockerfile
- Update pnpm-lock.yaml with new dependencies

The old lucide-svelte package used $$props (Svelte 4 syntax) which
fails in Svelte 5 runes mode. The new @lucide/svelte package is
built specifically for Svelte 5.
This commit is contained in:
Wuesteon 2025-12-15 19:40:19 +01:00
parent 44e28bbba8
commit 263d779436
5 changed files with 17 additions and 15 deletions

View file

@ -37,6 +37,8 @@ COPY packages/shared-profile-ui ./packages/shared-profile-ui
COPY packages/shared-ui ./packages/shared-ui
COPY packages/shared-utils ./packages/shared-utils
COPY packages/shared-tags ./packages/shared-tags
COPY packages/shared-splitscreen ./packages/shared-splitscreen
COPY packages/shared-types ./packages/shared-types
# Copy todo packages and web
COPY apps/todo/packages ./apps/todo/packages

View file

@ -44,7 +44,7 @@
"d3-transition": "^3.0.0",
"d3-zoom": "^3.0.0",
"date-fns": "^4.1.0",
"lucide-svelte": "^0.468.0"
"@lucide/svelte": "^0.561.0"
},
"devDependencies": {
"@types/d3-force": "^3.0.10",

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { ChevronDown, ChevronUp } from 'lucide-svelte';
import { ChevronDown, ChevronUp } from '@lucide/svelte';
interface Props {
/** Whether immersive mode is currently enabled */

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { Search, ZoomIn, ZoomOut, RotateCcw, Filter, X, Focus, Keyboard } from 'lucide-svelte';
import { Search, ZoomIn, ZoomOut, RotateCcw, Filter, X, Focus, Keyboard } from '@lucide/svelte';
import type { NetworkTag } from './network.types';
interface Props {

24
pnpm-lock.yaml generated
View file

@ -4320,6 +4320,9 @@ importers:
packages/shared-ui:
dependencies:
'@lucide/svelte':
specifier: ^0.561.0
version: 0.561.0(svelte@5.44.0)
'@manacore/shared-branding':
specifier: workspace:*
version: link:../shared-branding
@ -4347,9 +4350,6 @@ importers:
date-fns:
specifier: ^4.1.0
version: 4.1.0
lucide-svelte:
specifier: ^0.468.0
version: 0.468.0(svelte@5.44.0)
svelte:
specifier: ^5.0.0
version: 5.44.0
@ -7769,6 +7769,11 @@ packages:
resolution: {integrity: sha512-ajBvlKpWucBB17FuQYUShqpqy8GRgYEpJW0vWJbUu1CV9lWyrDCapy0lScU8T8Z6qn49sSwJB3+M+evYIdGg+A==}
engines: {node: '>= 0.4'}
'@lucide/svelte@0.561.0':
resolution: {integrity: sha512-vofKV2UFVrKE6I4ewKJ3dfCXSV6iP6nWVmiM83MLjsU91EeJcEg7LoWUABLp/aOTxj1HQNbJD1f3g3L0JQgH9A==}
peerDependencies:
svelte: ^5
'@lukeed/csprng@1.1.0':
resolution: {integrity: sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==}
engines: {node: '>=8'}
@ -15315,11 +15320,6 @@ packages:
lru-queue@0.1.0:
resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==}
lucide-svelte@0.468.0:
resolution: {integrity: sha512-n0ecAFtCY5LEeL+PJ1Xj4n3c2gzj8tMpak0KMGnvoSJEjCsCnRB0mekBtJZAo7beyynW9Qj5Um1KfMBAeTNplw==}
peerDependencies:
svelte: ^3 || ^4 || ^5.0.0-next.42
lucide-svelte@0.556.0:
resolution: {integrity: sha512-OUj2xk403WslZAIGnEF5wvw/A7QAUXebDWNFajU/INY9XPWRZZZdcr+h6zB6XAzd84F7lPZqiEi42JVjXtcBYw==}
peerDependencies:
@ -24387,6 +24387,10 @@ snapshots:
dependencies:
call-bind: 1.0.8
'@lucide/svelte@0.561.0(svelte@5.44.0)':
dependencies:
svelte: 5.44.0
'@lukeed/csprng@1.1.0': {}
'@mapbox/node-pre-gyp@1.0.11':
@ -37078,10 +37082,6 @@ snapshots:
dependencies:
es5-ext: 0.10.64
lucide-svelte@0.468.0(svelte@5.44.0):
dependencies:
svelte: 5.44.0
lucide-svelte@0.556.0(svelte@5.44.0):
dependencies:
svelte: 5.44.0