omegon 0.10.6 → 0.10.7

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.
Files changed (2) hide show
  1. package/bin/omegon.mjs +8 -0
  2. package/package.json +1 -1
package/bin/omegon.mjs CHANGED
@@ -112,6 +112,14 @@ function forceQuietStartup() {
112
112
  settings.collapseChangelog = true;
113
113
  changed = true;
114
114
  }
115
+ // Belt-and-suspenders: force lastChangelogVersion to a sentinel that is always
116
+ // semver-greater than any upstream changelog entry. This prevents the upstream
117
+ // "Updated to vX.Y.Z" banner even if PI_SKIP_VERSION_CHECK is somehow not set.
118
+ const SENTINEL_VERSION = "999.0.0";
119
+ if (settings.lastChangelogVersion !== SENTINEL_VERSION) {
120
+ settings.lastChangelogVersion = SENTINEL_VERSION;
121
+ changed = true;
122
+ }
115
123
  if (changed) {
116
124
  writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + "\n", "utf8");
117
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omegon",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "Omegon — an opinionated distribution of pi (by Mario Zechner) with extensions for lifecycle management, memory, orchestration, and visualization",
5
5
  "bin": {
6
6
  "omegon": "bin/omegon.mjs",