@nuucognition/ops-cli 0.1.0-dev.1 → 0.1.0-dev.3

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/bin/ops-prod.js CHANGED
@@ -24,13 +24,13 @@ const entrypoint = join(packageRoot, 'dist', 'index.js');
24
24
  // bin/stale.js, so it skips them and runs no git command.
25
25
  if (existsSync(join(packageRoot, 'src'))) {
26
26
  const { warnIfBuildStale } = await import('@nuucognition/cli-core/launch').catch(() => ({ warnIfBuildStale() {} }));
27
- warnIfBuildStale({ cli: 'ops', distEntry: entrypoint, rebuildHint: 'Run: ndv build ops prod' });
27
+ warnIfBuildStale({ cli: 'ops', distEntry: entrypoint, rebuildHint: 'Run: ops update' });
28
28
  // The prod bundle keeps its mode, so it never runs the source: when it is
29
29
  // older than the source of this checkout, one warning says so (none under --json).
30
30
  const stale = await import('./stale.js').catch(() => null);
31
31
  const staleSha = stale ? stale.staleAgainstSource(packageRoot, join(packageRoot, 'dist')) : null;
32
32
  if (staleSha && !stale.wantsJson()) {
33
- process.stderr.write(`warning: the ops bundle (dist, built from ${staleSha.slice(0, 7)}) is older than the source of this checkout: a newer command can be missing. Next: ndv build ops prod\n`);
33
+ process.stderr.write(`warning: the ops bundle (dist, built from ${staleSha.slice(0, 7)}) is older than the source of this checkout: a newer command can be missing. Next: ops update\n`);
34
34
  }
35
35
  }
36
36
 
@@ -1,8 +1,7 @@
1
1
  {
2
- "sha": "81c4e2d0264df606bbce54e25ff7740133ee8741",
3
- "tree": "8aa4d81a6803a956b49735589585b1d08da87e2a",
4
- "dirty": true,
5
- "builtAt": "2026-10-22T22:07:21.621Z",
6
- "mode": "prod",
7
- "links": []
2
+ "sha": null,
3
+ "tree": null,
4
+ "dirty": false,
5
+ "builtAt": "2026-11-08T22:30:05.955Z",
6
+ "mode": "prod"
8
7
  }