@nurix/nustack 0.23.2 → 0.23.4
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/dist/commands/harness.js +3 -3
- package/package.json +3 -3
package/dist/commands/harness.js
CHANGED
|
@@ -21,7 +21,7 @@ function rootOf(dir) {
|
|
|
21
21
|
return dir;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
async function
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.23.4",
|
|
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,
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@types/node": "^22.19.20",
|
|
36
36
|
"typescript": "^5.7.2",
|
|
37
37
|
"vitest": "^4.1.11",
|
|
38
|
-
"@nurix/nustack.
|
|
39
|
-
"@nurix/nustack.
|
|
38
|
+
"@nurix/nustack.studio": "0.0.0",
|
|
39
|
+
"@nurix/nustack.ui": "0.0.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|