mirror of
https://github.com/Routstr/routstrd.git
synced 2026-07-30 15:46:14 +00:00
- Extract version-checking logic into src/utils/update-checker.ts (shared between CLI and TUI) - Updating routstrd... bun add v1.2.22 (6bafe260) installed routstrd@0.3.10 with binaries: - routstrd [649.00ms] done routstrd updated successfully. Updating cocod... bun add v1.2.22 (6bafe260) installed @routstr/cocod@0.0.24 with binaries: - cocod [692.00ms] done cocod updated successfully. Both routstrd and cocod have been updated! Using remote daemon — skipping routstrd daemon restart. cocod daemon was not running — skipping restart. ✓ All daemons restarted successfully. now checks npm for the latest version of each package and only reinstalls when a newer version is available; skips daemon restart when nothing was updated - TUI shows a bold yellow 'UPDATE AVAILABLE' banner below the header on all tabs when a new version is detected - TUI checks for updates at most every 210 minutes to avoid spamming the npm registry; first check fires 3s after startup (non-blocking) - Bump version to 0.3.11
39 lines
1022 B
JSON
39 lines
1022 B
JSON
{
|
|
"name": "routstrd",
|
|
"version": "0.3.11",
|
|
"module": "src/index.ts",
|
|
"type": "module",
|
|
"private": false,
|
|
"bin": {
|
|
"routstrd": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"start": "bun src/index.ts start",
|
|
"monitor": "bun src/index.ts monitor",
|
|
"lint": "tsc --noEmit",
|
|
"test": "bun test",
|
|
"build": "mkdir -p dist/daemon && bun build src/index.ts --target=bun --outfile=dist/index.js && bun build src/daemon/index.ts --target=bun --outfile=dist/daemon/index.js",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/qrcode": "^1.5.6"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@cashu/cashu-ts": "^4.3.0",
|
|
"@routstr/sdk": "^0.3.18",
|
|
"applesauce-core": "^5.1.0",
|
|
"applesauce-relay": "^5.1.0",
|
|
"applesauce-wallet-connect": "^6.0.0",
|
|
"commander": "^14.0.2",
|
|
"nostr-tools": "^2.12.0",
|
|
"qrcode": "^1.5.4",
|
|
"rxjs": "^7.8.1",
|
|
"yaml": "^2.9.0",
|
|
"zustand": "^5.0.5"
|
|
}
|
|
}
|