Removed the last remaining ugly ASCII boxes: - Version info box (┌─┐│└┘) that appeared at top - Async version check box that ended randomly in middle - Configuration error box Now status output is 100% clean and beautiful with just colored text: ● Service: active (running) PID: 9120 Memory: 45.7M CPU: 190ms UPS Devices (2): ⚠ Test UPS (SNMP v1) - On Battery Battery: 100% ✓ Runtime: 48 min Host: 192.168.187.140:161 ◯ Test UPS (SNMP v3) - Unknown Battery: 0% ⚠ Runtime: 0 min Host: 192.168.187.140:161 No boxes, just beautiful colored output with symbols! Bumped to v4.1.0 to mark completion of beautiful CLI feature.
37 lines
823 B
JSON
37 lines
823 B
JSON
{
|
|
"name": "@serve.zone/nupst",
|
|
"version": "4.1.0",
|
|
"exports": "./mod.ts",
|
|
"tasks": {
|
|
"dev": "deno run --allow-all mod.ts",
|
|
"compile": "deno task compile:all",
|
|
"compile:all": "bash scripts/compile-all.sh",
|
|
"test": "deno test --allow-all test/",
|
|
"test:watch": "deno test --allow-all --watch test/",
|
|
"check": "deno check mod.ts",
|
|
"fmt": "deno fmt",
|
|
"lint": "deno lint"
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"tags": ["recommended"]
|
|
}
|
|
},
|
|
"fmt": {
|
|
"useTabs": false,
|
|
"lineWidth": 100,
|
|
"indentWidth": 2,
|
|
"semiColons": true,
|
|
"singleQuote": true
|
|
},
|
|
"compilerOptions": {
|
|
"lib": ["deno.window"],
|
|
"strict": true
|
|
},
|
|
"imports": {
|
|
"@std/cli": "jsr:@std/cli@^1.0.0",
|
|
"@std/fmt": "jsr:@std/fmt@^1.0.0",
|
|
"@std/path": "jsr:@std/path@^1.0.0"
|
|
}
|
|
}
|