The update command was still using v3 logic (git pull, setup.sh) which doesn't work for v4 binary distribution. Now it simply: 1. Downloads install.sh from main branch 2. Runs it (handles download, stop, replace, restart automatically) This is much simpler and matches how v4 is distributed. No more git, no more setup.sh, just download the latest binary.
37 lines
823 B
JSON
37 lines
823 B
JSON
{
|
|
"name": "@serve.zone/nupst",
|
|
"version": "4.0.7",
|
|
"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"
|
|
}
|
|
}
|