The version check was comparing "4.0.8" (no prefix) with "v4.0.8" (with prefix), causing it to always think an update was available. Now both versions are normalized to have the "v" prefix before comparison, so "Already up to date!" works correctly.
37 lines
823 B
JSON
37 lines
823 B
JSON
{
|
|
"name": "@serve.zone/nupst",
|
|
"version": "4.0.9",
|
|
"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"
|
|
}
|
|
}
|