Sync shared snapshot from a90f4eb
Lint / Lint (push) Successful in 19s
Tests / Go backend (push) Successful in 18s
Tests / Dashboard checks (push) Successful in 28s
Docker / Docker Build & Push (push) Successful in 2m26s

This commit is contained in:
Gabriel20xx committed 2026-08-19 12:07:39 +02:00
1 parent 85f02a7327
commit 4e413a5cf6
4 files changed
+19 -6

No files matched your search

+7 -1
View File
@@ -103,7 +103,12 @@ function Convert-ToConsumerWebUiPackage {
$manifest = Get-Content -LiteralPath $PackagePath -Raw | ConvertFrom-Json
$manifest.files = @('src', 'README.md')
$manifest.dependencies = [pscustomobject]@{}
if ($null -ne $manifest.dependencies) {
$designTokensDependency = $manifest.dependencies.PSObject.Properties['@gabriel20xx/design-tokens']
if ($null -ne $designTokensDependency) {
$manifest.dependencies.PSObject.Properties.Remove('@gabriel20xx/design-tokens')
}
}
$manifest.svelte = './src/index.ts'
$manifest.types = './src/index.ts'
@@ -133,6 +138,7 @@ function Convert-ToConsumerWebUiSources {
if (Test-Path -LiteralPath $stylesPath) {
$styles = Get-Content -LiteralPath $stylesPath -Raw
$styles = $styles.Replace("@import '@gabriel20xx/design-tokens/theme.css';", "@import '../../../design-tokens/theme.css';")
$styles = $styles.Replace('@import "@gabriel20xx/design-tokens/theme.css";', "@import '../../../design-tokens/theme.css';")
Write-Utf8NoBom -Path $stylesPath -Content $styles
}