@tomflow/proflow-platform-cli 0.1.20 → 0.1.21
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
|
@@ -6,7 +6,7 @@ export declare const behaviorAdapter: {
|
|
|
6
6
|
readonly ok: true;
|
|
7
7
|
readonly status: "SUCCEEDED";
|
|
8
8
|
readonly moduleRef: "platform-cli";
|
|
9
|
-
readonly moduleVersion: "0.1.
|
|
9
|
+
readonly moduleVersion: "0.1.21";
|
|
10
10
|
};
|
|
11
11
|
observedEffects: never[];
|
|
12
12
|
}>;
|
|
@@ -16,7 +16,7 @@ export declare const behaviorAdapter: {
|
|
|
16
16
|
readonly ok: true;
|
|
17
17
|
readonly status: "SUCCEEDED";
|
|
18
18
|
readonly moduleRef: "platform-cli";
|
|
19
|
-
readonly moduleVersion: "0.1.
|
|
19
|
+
readonly moduleVersion: "0.1.21";
|
|
20
20
|
};
|
|
21
21
|
observedEffects: never[];
|
|
22
22
|
}>;
|
|
@@ -26,7 +26,7 @@ export declare const behaviorAdapter: {
|
|
|
26
26
|
ok: true;
|
|
27
27
|
status: "SUCCEEDED";
|
|
28
28
|
moduleRef: "platform-cli";
|
|
29
|
-
moduleVersion: "0.1.
|
|
29
|
+
moduleVersion: "0.1.21";
|
|
30
30
|
data: {
|
|
31
31
|
readonly setupStatus: "READY";
|
|
32
32
|
readonly runtimeStatus: "NOT_APPLICABLE";
|
|
@@ -40,7 +40,7 @@ export declare const behaviorAdapter: {
|
|
|
40
40
|
readonly ok: true;
|
|
41
41
|
readonly status: "SUCCEEDED";
|
|
42
42
|
readonly moduleRef: "platform-cli";
|
|
43
|
-
readonly moduleVersion: "0.1.
|
|
43
|
+
readonly moduleVersion: "0.1.21";
|
|
44
44
|
};
|
|
45
45
|
observedEffects: never[];
|
|
46
46
|
}>;
|
|
@@ -50,7 +50,7 @@ export declare const behaviorAdapter: {
|
|
|
50
50
|
ok: true;
|
|
51
51
|
status: "SUCCEEDED";
|
|
52
52
|
moduleRef: "platform-cli";
|
|
53
|
-
moduleVersion: "0.1.
|
|
53
|
+
moduleVersion: "0.1.21";
|
|
54
54
|
data: {
|
|
55
55
|
docs: string;
|
|
56
56
|
setup: string;
|
|
@@ -64,7 +64,7 @@ export declare const behaviorAdapter: {
|
|
|
64
64
|
readonly ok: true;
|
|
65
65
|
readonly status: "SUCCEEDED";
|
|
66
66
|
readonly moduleRef: "platform-cli";
|
|
67
|
-
readonly moduleVersion: "0.1.
|
|
67
|
+
readonly moduleVersion: "0.1.21";
|
|
68
68
|
};
|
|
69
69
|
observedEffects: never[];
|
|
70
70
|
}>;
|
|
@@ -74,7 +74,7 @@ export declare const behaviorAdapter: {
|
|
|
74
74
|
readonly ok: true;
|
|
75
75
|
readonly status: "SUCCEEDED";
|
|
76
76
|
readonly moduleRef: "platform-cli";
|
|
77
|
-
readonly moduleVersion: "0.1.
|
|
77
|
+
readonly moduleVersion: "0.1.21";
|
|
78
78
|
};
|
|
79
79
|
observedEffects: never[];
|
|
80
80
|
}>;
|
|
@@ -3,7 +3,7 @@ export declare const descriptor: {
|
|
|
3
3
|
readonly contractVersion: "1.0.0";
|
|
4
4
|
readonly moduleRef: "platform-cli";
|
|
5
5
|
readonly packageName: "@tomflow/proflow-platform-cli";
|
|
6
|
-
readonly moduleVersion: "0.1.
|
|
6
|
+
readonly moduleVersion: "0.1.21";
|
|
7
7
|
readonly kind: "cli";
|
|
8
8
|
readonly templateVersion: "1.0.0";
|
|
9
9
|
readonly platformCompatibility: ">=1.0.0 <2.0.0";
|
|
@@ -3,7 +3,7 @@ export const descriptor = {
|
|
|
3
3
|
contractVersion: "1.0.0",
|
|
4
4
|
moduleRef: "platform-cli",
|
|
5
5
|
packageName: "@tomflow/proflow-platform-cli",
|
|
6
|
-
moduleVersion: "0.1.
|
|
6
|
+
moduleVersion: "0.1.21",
|
|
7
7
|
kind: "cli",
|
|
8
8
|
templateVersion: "1.0.0",
|
|
9
9
|
platformCompatibility: ">=1.0.0 <2.0.0",
|
package/dist/src/cli.js
CHANGED
|
@@ -203,6 +203,7 @@ async function validateInstalledPackageSet(root, candidates, previousManaged) {
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
async function handleInstall(root, runtime) {
|
|
206
|
+
const metadata = await ensureWorkspaceMetadata(root);
|
|
206
207
|
const discovered = await discoverRegistryModules({
|
|
207
208
|
workspaceRoot: root,
|
|
208
209
|
...(runtime.registryRunner === undefined
|
|
@@ -228,7 +229,6 @@ async function handleInstall(root, runtime) {
|
|
|
228
229
|
: { executableAvailable: runtime.executableAvailable }),
|
|
229
230
|
});
|
|
230
231
|
await validateInstalledPackageSet(root, discovered.candidates, previousManaged);
|
|
231
|
-
const metadata = await ensureWorkspaceMetadata(root);
|
|
232
232
|
const { catalog, modules } = await buildContext(root);
|
|
233
233
|
const moduleInstall = await installModulesThin(catalog, modules, root);
|
|
234
234
|
return outcome("install", batchStatus(moduleInstall), root, {
|
|
@@ -70,7 +70,8 @@ export async function setupModulesThin(catalog, modules, workspaceRoot, target)
|
|
|
70
70
|
}
|
|
71
71
|
export async function startModulesThin(catalog, modules, workspaceRoot) {
|
|
72
72
|
const results = [];
|
|
73
|
-
|
|
73
|
+
const modulesInOrder = ordered(modules);
|
|
74
|
+
for (const module of modulesInOrder) {
|
|
74
75
|
const status = await dispatchModuleCommand(catalog, module, "status", context(workspaceRoot));
|
|
75
76
|
if (!succeeded(status.result))
|
|
76
77
|
return {
|
|
@@ -89,6 +90,8 @@ export async function startModulesThin(catalog, modules, workspaceRoot) {
|
|
|
89
90
|
setupStatus: observed.setupStatus,
|
|
90
91
|
},
|
|
91
92
|
};
|
|
93
|
+
}
|
|
94
|
+
for (const module of modulesInOrder) {
|
|
92
95
|
const started = await dispatchModuleCommand(catalog, module, "start", context(workspaceRoot));
|
|
93
96
|
results.push(started);
|
|
94
97
|
if (!succeeded(started.result))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomflow/proflow-platform-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"SETUP.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tomflow/proflow-module-contract": "^0.1.
|
|
26
|
+
"@tomflow/proflow-module-contract": "^0.1.7"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@tomflow/proflow-
|
|
30
|
-
"@tomflow/proflow-
|
|
29
|
+
"@tomflow/proflow-deployment-conformance": "^0.1.5",
|
|
30
|
+
"@tomflow/proflow-module-template": "^0.1.5"
|
|
31
31
|
},
|
|
32
32
|
"description": "Thin Platform CLI for Module discovery, documentation, package synchronization and lifecycle orchestration.",
|
|
33
33
|
"keywords": [
|
package/proflow.module.json
CHANGED