@nurix/nustack 0.23.1 → 0.23.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.
@@ -21,7 +21,7 @@ function rootOf(dir) {
21
21
  return dir;
22
22
  }
23
23
  }
24
- async function cloudHarness(command, json, root, options, globals) {
24
+ async function resolveProjectHarness(command, json, root, options, globals) {
25
25
  const project = await resolveProjectId(root, options);
26
26
  if (!project.ok) {
27
27
  emitFail(command, json, "PROJECT_CONTEXT_MISSING", project.message);
@@ -43,7 +43,7 @@ export async function runHarnessMount(target, options, globals) {
43
43
  let manifestUrl = options.manifest ?? null;
44
44
  let projectId = null;
45
45
  if (!manifestUrl) {
46
- const cloud = await cloudHarness("harness mount", json, root, options, globals);
46
+ const cloud = await resolveProjectHarness("harness mount", json, root, options, globals);
47
47
  if (!cloud)
48
48
  return;
49
49
  projectId = cloud.projectId;
@@ -70,7 +70,7 @@ export async function runHarnessMount(target, options, globals) {
70
70
  export async function runHarnessStatus(options, globals) {
71
71
  const json = options.json === true;
72
72
  const root = rootOf(process.cwd());
73
- const cloud = await cloudHarness("harness status", json, root, options, globals);
73
+ const cloud = await resolveProjectHarness("harness status", json, root, options, globals);
74
74
  if (!cloud)
75
75
  return;
76
76
  const mounted = await readMountState(root);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/nustack",
3
- "version": "0.23.1",
3
+ "version": "0.23.3",
4
4
  "description": "The nustack CLI — bootstrap NuStack services into a repo via the NuStack discovery plane.",
5
5
  "type": "module",
6
6
  "private": false,