@nemus-cli/nemus 0.2.8 → 0.2.9

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.md CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.9] - 2026-08-26
11
+
12
+ ### Fixed
13
+
14
+ - Synced `package-lock.json` to the current version (it had drifted to 0.2.7
15
+ while package.json was 0.2.8, because the ink/React upgrade regenerated the
16
+ lockfile before the version bump).
17
+
18
+ ### Added
19
+
20
+ - CI guard `scripts/check-lock-version.js` — fails PR CI (and the release verify
21
+ step) if `package-lock.json`'s `version` / `packages[""]` drift from
22
+ package.json, so a stale lockfile can't reach `npm ci` at release time.
23
+
10
24
  ## [0.2.8] - 2026-08-26
11
25
 
12
26
  ### Changed
@@ -181,7 +195,8 @@ Initial open-source release of **Nemus**.
181
195
  - Automatic retries with backoff on flaky network operations.
182
196
  - Optional shell integration (auto-cd on create + quick-navigate helper).
183
197
 
184
- [Unreleased]: https://github.com/me-public/nemus/compare/v0.2.8...HEAD
198
+ [Unreleased]: https://github.com/me-public/nemus/compare/v0.2.9...HEAD
199
+ [0.2.9]: https://github.com/me-public/nemus/compare/v0.2.8...v0.2.9
185
200
  [0.2.8]: https://github.com/me-public/nemus/compare/v0.2.7...v0.2.8
186
201
  [0.2.7]: https://github.com/me-public/nemus/compare/v0.2.6...v0.2.7
187
202
  [0.2.6]: https://github.com/me-public/nemus/compare/v0.2.5...v0.2.6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemus-cli/nemus",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Nemus — a CLI for managing multi-repository workspaces. Create, sync, and operate across dozens of repos with a single command, and wire them up to your favorite coding agent.",
5
5
  "keywords": [
6
6
  "workspace",
@@ -0,0 +1,43 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * CI guard: fail if package-lock.json's version fields drift from package.json.
4
+ *
5
+ * A stale lockfile version makes `npm ci` fail at release time (npm errors on a
6
+ * package.json/lock mismatch before build/publish run). This catches the drift
7
+ * in PR CI instead. Checks both the lockfile root `version` and the self entry
8
+ * at `packages[""]`.
9
+ *
10
+ * Usage: node scripts/check-lock-version.js
11
+ * Exit 0 when consistent, 1 (with an ::error:: annotation) otherwise.
12
+ */
13
+ 'use strict';
14
+
15
+ const fs = require('fs');
16
+ const path = require('path');
17
+
18
+ function read(file) {
19
+ return JSON.parse(fs.readFileSync(path.join(__dirname, '..', file), 'utf8'));
20
+ }
21
+
22
+ const pkg = read('package.json');
23
+ const lock = read('package-lock.json');
24
+
25
+ const pkgV = pkg.version;
26
+ const rootV = lock.version;
27
+ const selfV = lock.packages && lock.packages[''] && lock.packages[''].version;
28
+
29
+ const errs = [];
30
+ if (rootV !== pkgV) {
31
+ errs.push(`package-lock.json root version "${rootV}" != package.json "${pkgV}"`);
32
+ }
33
+ if (selfV !== pkgV) {
34
+ errs.push(`package-lock.json packages[""] version "${selfV}" != package.json "${pkgV}"`);
35
+ }
36
+
37
+ if (errs.length) {
38
+ console.error('::error::' + errs.join('; '));
39
+ console.error('Fix: run `npm install --package-lock-only` and commit package-lock.json.');
40
+ process.exit(1);
41
+ }
42
+
43
+ console.log(`\u2713 package-lock.json version matches package.json (${pkgV})`);