Skip to content

Commit af4245e

Browse files
committed
fix: update version number to 1.0.0 and adjust HTML asset references
1 parent 34f4471 commit af4245e

4 files changed

Lines changed: 29 additions & 28 deletions

File tree

.klondike/features.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projectName": "klondike-spec-cli",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"features": [
55
{
66
"id": "F001",

klondike-web/src/components/Layout.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ import { getApiBaseUrl, getWebSocketUrl } from '../utils/api'
2121
import { SessionBanner } from './SessionBanner'
2222
import { SkipLink } from '../utils/accessibility'
2323
import { SessionTimerWidget, useSessionTimer } from './SessionTimer'
24-
import { PresenceIndicator } from './PresenceIndicator'
2524
import { ThemeCustomizer, useTheme } from './ThemeCustomizer'
26-
import { OfflineIndicator } from './OfflineSupport'
2725

2826
interface ActiveSession {
2927
id: number;
@@ -257,20 +255,10 @@ export function Layout() {
257255
</button>
258256
<h1 className="ml-3 text-lg font-bold text-indigo-600 dark:text-indigo-400">♠️ Klondike</h1>
259257
</div>
260-
<div className="flex items-center gap-2">
261-
<OfflineIndicator />
262-
<PresenceIndicator />
263-
</div>
264258
</div>
265259

266260
{/* Main content */}
267261
<div className={`pt-16 md:pt-0 transition-all duration-200 ${sidebarCollapsed ? 'md:pl-16' : 'md:pl-64'}`}>
268-
{/* Desktop presence and offline indicators */}
269-
<div className="hidden md:flex justify-end items-center gap-4 px-4 md:px-8 pt-4">
270-
<OfflineIndicator />
271-
<PresenceIndicator />
272-
</div>
273-
274262
{/* Active session banner */}
275263
{activeSession && (
276264
<SessionBanner

scripts/publish.ps1

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ try {
145145
$currentVersion = Get-CurrentVersion
146146
if ($Version) {
147147
$newVersion = $Version -replace '^v', ''
148-
} else {
148+
}
149+
else {
149150
$newVersion = Get-BumpedVersion $currentVersion $Bump
150151
}
151152

@@ -181,7 +182,8 @@ try {
181182
throw "Aborted: Please commit or stash changes first"
182183
}
183184
}
184-
} else {
185+
}
186+
else {
185187
Write-Success "Working directory is clean"
186188
}
187189

@@ -190,15 +192,17 @@ try {
190192
Write-Step "2/6" "Running tests"
191193
if ($DryRun) {
192194
Write-Host "Would run: uv run pytest -v"
193-
} else {
195+
}
196+
else {
194197
$env:CI = "true"
195198
uv run pytest -v
196199
if ($LASTEXITCODE -ne 0) {
197200
throw "Tests failed! Fix issues before releasing."
198201
}
199202
Write-Success "All tests passed"
200203
}
201-
} else {
204+
}
205+
else {
202206
Write-Step "2/6" "Skipping tests (--SkipTests)"
203207
Write-Warning "Tests skipped - not recommended for production!"
204208
}
@@ -208,19 +212,22 @@ try {
208212
Write-Step "3/6" "Building web frontend"
209213
if ($DryRun) {
210214
Write-Host "Would run: npm run build (in klondike-web)"
211-
} else {
215+
}
216+
else {
212217
Push-Location (Join-Path $ProjectRoot "klondike-web")
213218
try {
214219
npm run build
215220
if ($LASTEXITCODE -ne 0) {
216221
throw "Web build failed!"
217222
}
218223
Write-Success "Web frontend built successfully"
219-
} finally {
224+
}
225+
finally {
220226
Pop-Location
221227
}
222228
}
223-
} else {
229+
}
230+
else {
224231
Write-Step "3/6" "Skipping web build (--SkipWebBuild)"
225232
}
226233

@@ -230,12 +237,14 @@ try {
230237
if ($gitStatus) {
231238
if ($DryRun) {
232239
Write-Host "Would commit changes with message: 'chore: prepare release $newVersion'"
233-
} else {
240+
}
241+
else {
234242
git add -A
235243
git commit -m "chore: prepare release $newVersion"
236244
Write-Success "Changes committed"
237245
}
238-
} else {
246+
}
247+
else {
239248
Write-Success "No changes to commit"
240249
}
241250

@@ -244,7 +253,8 @@ try {
244253
if ($DryRun) {
245254
Write-Host "Would create tag: $tagName"
246255
Write-Host "Would push to origin"
247-
} else {
256+
}
257+
else {
248258
# Push commits first
249259
Write-Host "Pushing commits..."
250260
git push origin HEAD
@@ -276,7 +286,8 @@ try {
276286
Write-Warning "DRY RUN completed - no changes were made"
277287
Write-Host ""
278288
Write-Host "To perform the actual release, run without -DryRun"
279-
} else {
289+
}
290+
else {
280291
Write-Host ""
281292
Write-Host "🎉 " -NoNewline
282293
Write-Host "Released $tagName!" -ForegroundColor Green
@@ -294,10 +305,12 @@ try {
294305
Write-Host " uv tool upgrade klondike-spec-cli"
295306
}
296307

297-
} catch {
308+
}
309+
catch {
298310
Write-Host ""
299311
Write-Error $_.Exception.Message
300312
exit 1
301-
} finally {
313+
}
314+
finally {
302315
Pop-Location
303316
}

src/klondike_spec_cli/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<link rel="icon" type="image/svg+xml" href="/klondike.svg" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>Klondike Spec - Project Management</title>
9-
<script type="module" crossorigin src="/assets/index-Der7-lRC.js"></script>
10-
<link rel="stylesheet" crossorigin href="/assets/index-DgiFVBcF.css">
9+
<script type="module" crossorigin src="/assets/index-NwtJe9nM.js"></script>
10+
<link rel="stylesheet" crossorigin href="/assets/index-D_Ej17zp.css">
1111
</head>
1212

1313
<body>

0 commit comments

Comments
 (0)