feat(packaging): Add npm packaging and installer: wrapper, postinstall downloader, publish workflow, and packaging files
This commit is contained in:
19
readme.md
19
readme.md
@@ -52,7 +52,24 @@ nupst service status
|
||||
|
||||
## 📥 Installation
|
||||
|
||||
### Automated Installer (Recommended)
|
||||
### Via npm (NEW! - 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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user