@enspirit/emb 0.14.0 → 0.14.1
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/README.md
CHANGED
|
@@ -50,7 +50,9 @@ export class ContainerExecOperation extends AbstractOperation {
|
|
|
50
50
|
process.stdin.pipe(stream);
|
|
51
51
|
}
|
|
52
52
|
const out = input.interactive ? process.stdout : this.out;
|
|
53
|
-
|
|
53
|
+
if (out) {
|
|
54
|
+
exec.modem.demuxStream(stream, out, out);
|
|
55
|
+
}
|
|
54
56
|
await new Promise((resolve, reject) => {
|
|
55
57
|
const onError = (err) => reject(err);
|
|
56
58
|
const onEnd = async () => {
|
|
@@ -75,7 +75,7 @@ export class RunTasksOperation {
|
|
|
75
75
|
async runDocker(task, out) {
|
|
76
76
|
const { monorepo, compose } = getContext();
|
|
77
77
|
const containerID = await compose.getContainer(task.component);
|
|
78
|
-
return monorepo.run(new ContainerExecOperation(), {
|
|
78
|
+
return monorepo.run(new ContainerExecOperation(task.interactive ? undefined : out), {
|
|
79
79
|
container: containerID,
|
|
80
80
|
script: task.script,
|
|
81
81
|
interactive: task.interactive || false,
|
package/oclif.manifest.json
CHANGED
|
@@ -821,121 +821,6 @@
|
|
|
821
821
|
"push.js"
|
|
822
822
|
]
|
|
823
823
|
},
|
|
824
|
-
"resources:build": {
|
|
825
|
-
"aliases": [],
|
|
826
|
-
"args": {
|
|
827
|
-
"component": {
|
|
828
|
-
"description": "List of resources to build (defaults to all)",
|
|
829
|
-
"name": "component",
|
|
830
|
-
"required": false
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"description": "Build the resources of the monorepo",
|
|
834
|
-
"examples": [
|
|
835
|
-
"<%= config.bin %> <%= command.id %> build --flavor development"
|
|
836
|
-
],
|
|
837
|
-
"flags": {
|
|
838
|
-
"json": {
|
|
839
|
-
"description": "Format output as json.",
|
|
840
|
-
"helpGroup": "GLOBAL",
|
|
841
|
-
"name": "json",
|
|
842
|
-
"allowNo": false,
|
|
843
|
-
"type": "boolean"
|
|
844
|
-
},
|
|
845
|
-
"verbose": {
|
|
846
|
-
"name": "verbose",
|
|
847
|
-
"allowNo": true,
|
|
848
|
-
"type": "boolean"
|
|
849
|
-
},
|
|
850
|
-
"flavor": {
|
|
851
|
-
"description": "Specify the flavor to use.",
|
|
852
|
-
"name": "flavor",
|
|
853
|
-
"required": false,
|
|
854
|
-
"hasDynamicHelp": false,
|
|
855
|
-
"multiple": false,
|
|
856
|
-
"type": "option"
|
|
857
|
-
},
|
|
858
|
-
"dry-run": {
|
|
859
|
-
"description": "Do not build the resources but only produce build meta information",
|
|
860
|
-
"name": "dry-run",
|
|
861
|
-
"required": false,
|
|
862
|
-
"allowNo": false,
|
|
863
|
-
"type": "boolean"
|
|
864
|
-
},
|
|
865
|
-
"force": {
|
|
866
|
-
"char": "f",
|
|
867
|
-
"description": "Bypass the cache and force the build",
|
|
868
|
-
"name": "force",
|
|
869
|
-
"required": false,
|
|
870
|
-
"allowNo": false,
|
|
871
|
-
"type": "boolean"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"hasDynamicHelp": false,
|
|
875
|
-
"hiddenAliases": [],
|
|
876
|
-
"id": "resources:build",
|
|
877
|
-
"pluginAlias": "@enspirit/emb",
|
|
878
|
-
"pluginName": "@enspirit/emb",
|
|
879
|
-
"pluginType": "core",
|
|
880
|
-
"strict": false,
|
|
881
|
-
"enableJsonFlag": true,
|
|
882
|
-
"isESM": true,
|
|
883
|
-
"relativePath": [
|
|
884
|
-
"dist",
|
|
885
|
-
"src",
|
|
886
|
-
"cli",
|
|
887
|
-
"commands",
|
|
888
|
-
"resources",
|
|
889
|
-
"build.js"
|
|
890
|
-
]
|
|
891
|
-
},
|
|
892
|
-
"resources": {
|
|
893
|
-
"aliases": [],
|
|
894
|
-
"args": {},
|
|
895
|
-
"description": "List resources.",
|
|
896
|
-
"examples": [
|
|
897
|
-
"<%= config.bin %> <%= command.id %>"
|
|
898
|
-
],
|
|
899
|
-
"flags": {
|
|
900
|
-
"json": {
|
|
901
|
-
"description": "Format output as json.",
|
|
902
|
-
"helpGroup": "GLOBAL",
|
|
903
|
-
"name": "json",
|
|
904
|
-
"allowNo": false,
|
|
905
|
-
"type": "boolean"
|
|
906
|
-
},
|
|
907
|
-
"verbose": {
|
|
908
|
-
"name": "verbose",
|
|
909
|
-
"allowNo": true,
|
|
910
|
-
"type": "boolean"
|
|
911
|
-
},
|
|
912
|
-
"flavor": {
|
|
913
|
-
"description": "Specify the flavor to use.",
|
|
914
|
-
"name": "flavor",
|
|
915
|
-
"required": false,
|
|
916
|
-
"hasDynamicHelp": false,
|
|
917
|
-
"multiple": false,
|
|
918
|
-
"type": "option"
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
"hasDynamicHelp": false,
|
|
922
|
-
"hiddenAliases": [],
|
|
923
|
-
"id": "resources",
|
|
924
|
-
"pluginAlias": "@enspirit/emb",
|
|
925
|
-
"pluginName": "@enspirit/emb",
|
|
926
|
-
"pluginType": "core",
|
|
927
|
-
"strict": true,
|
|
928
|
-
"enableJsonFlag": true,
|
|
929
|
-
"isESM": true,
|
|
930
|
-
"relativePath": [
|
|
931
|
-
"dist",
|
|
932
|
-
"src",
|
|
933
|
-
"cli",
|
|
934
|
-
"commands",
|
|
935
|
-
"resources",
|
|
936
|
-
"index.js"
|
|
937
|
-
]
|
|
938
|
-
},
|
|
939
824
|
"kubernetes:logs": {
|
|
940
825
|
"aliases": [
|
|
941
826
|
"logs"
|
|
@@ -1158,6 +1043,121 @@
|
|
|
1158
1043
|
"shell.js"
|
|
1159
1044
|
]
|
|
1160
1045
|
},
|
|
1046
|
+
"resources:build": {
|
|
1047
|
+
"aliases": [],
|
|
1048
|
+
"args": {
|
|
1049
|
+
"component": {
|
|
1050
|
+
"description": "List of resources to build (defaults to all)",
|
|
1051
|
+
"name": "component",
|
|
1052
|
+
"required": false
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
"description": "Build the resources of the monorepo",
|
|
1056
|
+
"examples": [
|
|
1057
|
+
"<%= config.bin %> <%= command.id %> build --flavor development"
|
|
1058
|
+
],
|
|
1059
|
+
"flags": {
|
|
1060
|
+
"json": {
|
|
1061
|
+
"description": "Format output as json.",
|
|
1062
|
+
"helpGroup": "GLOBAL",
|
|
1063
|
+
"name": "json",
|
|
1064
|
+
"allowNo": false,
|
|
1065
|
+
"type": "boolean"
|
|
1066
|
+
},
|
|
1067
|
+
"verbose": {
|
|
1068
|
+
"name": "verbose",
|
|
1069
|
+
"allowNo": true,
|
|
1070
|
+
"type": "boolean"
|
|
1071
|
+
},
|
|
1072
|
+
"flavor": {
|
|
1073
|
+
"description": "Specify the flavor to use.",
|
|
1074
|
+
"name": "flavor",
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"hasDynamicHelp": false,
|
|
1077
|
+
"multiple": false,
|
|
1078
|
+
"type": "option"
|
|
1079
|
+
},
|
|
1080
|
+
"dry-run": {
|
|
1081
|
+
"description": "Do not build the resources but only produce build meta information",
|
|
1082
|
+
"name": "dry-run",
|
|
1083
|
+
"required": false,
|
|
1084
|
+
"allowNo": false,
|
|
1085
|
+
"type": "boolean"
|
|
1086
|
+
},
|
|
1087
|
+
"force": {
|
|
1088
|
+
"char": "f",
|
|
1089
|
+
"description": "Bypass the cache and force the build",
|
|
1090
|
+
"name": "force",
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"allowNo": false,
|
|
1093
|
+
"type": "boolean"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"hasDynamicHelp": false,
|
|
1097
|
+
"hiddenAliases": [],
|
|
1098
|
+
"id": "resources:build",
|
|
1099
|
+
"pluginAlias": "@enspirit/emb",
|
|
1100
|
+
"pluginName": "@enspirit/emb",
|
|
1101
|
+
"pluginType": "core",
|
|
1102
|
+
"strict": false,
|
|
1103
|
+
"enableJsonFlag": true,
|
|
1104
|
+
"isESM": true,
|
|
1105
|
+
"relativePath": [
|
|
1106
|
+
"dist",
|
|
1107
|
+
"src",
|
|
1108
|
+
"cli",
|
|
1109
|
+
"commands",
|
|
1110
|
+
"resources",
|
|
1111
|
+
"build.js"
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
"resources": {
|
|
1115
|
+
"aliases": [],
|
|
1116
|
+
"args": {},
|
|
1117
|
+
"description": "List resources.",
|
|
1118
|
+
"examples": [
|
|
1119
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1120
|
+
],
|
|
1121
|
+
"flags": {
|
|
1122
|
+
"json": {
|
|
1123
|
+
"description": "Format output as json.",
|
|
1124
|
+
"helpGroup": "GLOBAL",
|
|
1125
|
+
"name": "json",
|
|
1126
|
+
"allowNo": false,
|
|
1127
|
+
"type": "boolean"
|
|
1128
|
+
},
|
|
1129
|
+
"verbose": {
|
|
1130
|
+
"name": "verbose",
|
|
1131
|
+
"allowNo": true,
|
|
1132
|
+
"type": "boolean"
|
|
1133
|
+
},
|
|
1134
|
+
"flavor": {
|
|
1135
|
+
"description": "Specify the flavor to use.",
|
|
1136
|
+
"name": "flavor",
|
|
1137
|
+
"required": false,
|
|
1138
|
+
"hasDynamicHelp": false,
|
|
1139
|
+
"multiple": false,
|
|
1140
|
+
"type": "option"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"hasDynamicHelp": false,
|
|
1144
|
+
"hiddenAliases": [],
|
|
1145
|
+
"id": "resources",
|
|
1146
|
+
"pluginAlias": "@enspirit/emb",
|
|
1147
|
+
"pluginName": "@enspirit/emb",
|
|
1148
|
+
"pluginType": "core",
|
|
1149
|
+
"strict": true,
|
|
1150
|
+
"enableJsonFlag": true,
|
|
1151
|
+
"isESM": true,
|
|
1152
|
+
"relativePath": [
|
|
1153
|
+
"dist",
|
|
1154
|
+
"src",
|
|
1155
|
+
"cli",
|
|
1156
|
+
"commands",
|
|
1157
|
+
"resources",
|
|
1158
|
+
"index.js"
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
1161
|
"tasks": {
|
|
1162
1162
|
"aliases": [],
|
|
1163
1163
|
"args": {},
|
|
@@ -1264,5 +1264,5 @@
|
|
|
1264
1264
|
]
|
|
1265
1265
|
}
|
|
1266
1266
|
},
|
|
1267
|
-
"version": "0.14.
|
|
1267
|
+
"version": "0.14.1"
|
|
1268
1268
|
}
|