Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d0e3a4ae74 | |||
| 89ffd61717 | |||
| 60eadaf6a1 | |||
| bd52ba4cb2 |
14
changelog.md
14
changelog.md
@@ -1,5 +1,19 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-11-09 - 5.1.11 - fix(readme)
|
||||||
|
Update README installation instructions to recommend automated installer script and clarify npm installation
|
||||||
|
|
||||||
|
- Replace the previous 'Via npm (NEW! - Recommended)' section with a clear 'Automated Installer Script (Recommended)' section and example curl installer.
|
||||||
|
- Move npm installation instructions into an 'Alternative: Via npm' subsection and clarify that the npm package downloads the appropriate pre-compiled binary for the platform during installation.
|
||||||
|
- Remove the 'NEW!' badge and streamline notes about binary downloads and installation methods.
|
||||||
|
|
||||||
|
## 2025-10-23 - 5.1.10 - fix(config)
|
||||||
|
Synchronize deno.json version with package.json, tidy formatting, and add local tooling settings
|
||||||
|
|
||||||
|
- Bumped deno.json version to 5.1.9 to match package.json/commitinfo
|
||||||
|
- Reformatted deno.json arrays (lint, fmt, compilerOptions) for readability
|
||||||
|
- Added .claude/settings.local.json for local development/tooling permissions (no runtime behaviour changes)
|
||||||
|
|
||||||
## 2025-10-23 - 5.1.9 - fix(dev)
|
## 2025-10-23 - 5.1.9 - fix(dev)
|
||||||
Add local assistant permissions/settings file (.claude/settings.local.json)
|
Add local assistant permissions/settings file (.claude/settings.local.json)
|
||||||
|
|
||||||
|
|||||||
10
deno.json
10
deno.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/nupst",
|
"name": "@serve.zone/nupst",
|
||||||
"version": "5.1.8",
|
"version": "5.1.11",
|
||||||
"exports": "./mod.ts",
|
"exports": "./mod.ts",
|
||||||
"nodeModulesDir": "auto",
|
"nodeModulesDir": "auto",
|
||||||
"tasks": {
|
"tasks": {
|
||||||
@@ -15,7 +15,9 @@
|
|||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"rules": {
|
"rules": {
|
||||||
"tags": ["recommended"]
|
"tags": [
|
||||||
|
"recommended"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fmt": {
|
"fmt": {
|
||||||
@@ -26,7 +28,9 @@
|
|||||||
"singleQuote": true
|
"singleQuote": true
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["deno.window"],
|
"lib": [
|
||||||
|
"deno.window"
|
||||||
|
],
|
||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/nupst",
|
"name": "@serve.zone/nupst",
|
||||||
"version": "5.1.9",
|
"version": "5.1.11",
|
||||||
"description": "Network UPS Shutdown Tool - Monitor SNMP-enabled UPS devices and orchestrate graceful system shutdowns during power emergencies",
|
"description": "Network UPS Shutdown Tool - Monitor SNMP-enabled UPS devices and orchestrate graceful system shutdowns during power emergencies",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ups",
|
"ups",
|
||||||
|
|||||||
31
readme.md
31
readme.md
@@ -62,26 +62,7 @@ nupst service status
|
|||||||
|
|
||||||
## 📥 Installation
|
## 📥 Installation
|
||||||
|
|
||||||
### Via npm (NEW! - Recommended)
|
### Automated Installer Script (Recommended)
|
||||||
|
|
||||||
Install NUPST globally using npm:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install -g @serve.zone/nupst
|
|
||||||
```
|
|
||||||
|
|
||||||
**Benefits:**
|
|
||||||
|
|
||||||
- Automatic platform detection and binary download
|
|
||||||
- Downloads only the binary for your platform (~400-500MB)
|
|
||||||
- Easy updates via `npm update -g @serve.zone/nupst`
|
|
||||||
- Version management with npm
|
|
||||||
- Works with Node.js >=14
|
|
||||||
|
|
||||||
**Note:** The installation will download the appropriate binary from GitHub releases during the
|
|
||||||
postinstall step.
|
|
||||||
|
|
||||||
### Automated Installer Script
|
|
||||||
|
|
||||||
The installer script handles everything automatically:
|
The installer script handles everything automatically:
|
||||||
|
|
||||||
@@ -136,6 +117,16 @@ chmod +x nupst
|
|||||||
sudo mv nupst /usr/local/bin/nupst
|
sudo mv nupst /usr/local/bin/nupst
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Alternative: Via npm
|
||||||
|
|
||||||
|
Alternatively, NUPST can be installed via npm:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install -g @serve.zone/nupst
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** This method downloads the appropriate pre-compiled binary for your platform during installation.
|
||||||
|
|
||||||
### Verify Installation
|
### Verify Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/nupst',
|
name: '@serve.zone/nupst',
|
||||||
version: '5.1.9',
|
version: '5.1.11',
|
||||||
description: 'Network UPS Shutdown Tool - Monitor SNMP-enabled UPS devices and orchestrate graceful system shutdowns during power emergencies'
|
description: 'Network UPS Shutdown Tool - Monitor SNMP-enabled UPS devices and orchestrate graceful system shutdowns during power emergencies'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user