@ouro.bot/cli 0.1.0-alpha.112 → 0.1.0-alpha.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.113",
|
|
6
|
+
"changes": [
|
|
7
|
+
"`ouro changelog --from` now uses semver comparison instead of lexicographic string ordering, so alpha prerelease numbers sort correctly."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.112",
|
|
6
12
|
"changes": [
|
|
@@ -46,6 +46,7 @@ const crypto_1 = require("crypto");
|
|
|
46
46
|
const fs = __importStar(require("fs"));
|
|
47
47
|
const os = __importStar(require("os"));
|
|
48
48
|
const path = __importStar(require("path"));
|
|
49
|
+
const semver = __importStar(require("semver"));
|
|
49
50
|
const identity_1 = require("../identity");
|
|
50
51
|
const runtime_1 = require("../../nerves/runtime");
|
|
51
52
|
const store_file_1 = require("../../mind/friends/store-file");
|
|
@@ -2220,7 +2221,7 @@ async function runOuroCli(args, deps = createDefaultOuroCliDeps()) {
|
|
|
2220
2221
|
let filtered = entries;
|
|
2221
2222
|
if (command.from) {
|
|
2222
2223
|
const fromVersion = command.from;
|
|
2223
|
-
filtered = entries.filter((e) => e.version
|
|
2224
|
+
filtered = entries.filter((e) => semver.valid(e.version) && semver.gt(e.version, fromVersion));
|
|
2224
2225
|
}
|
|
2225
2226
|
if (filtered.length === 0) {
|
|
2226
2227
|
const message = "no changelog entries found.";
|