@teams-max/mwsp 2.0.11 → 2.0.12
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/es/cli/start.js +14 -10
- package/lib/cli/start.js +3 -1
- package/package.json +1 -1
package/es/cli/start.js
CHANGED
|
@@ -51,30 +51,34 @@ function _start() {
|
|
|
51
51
|
value = _ref2[1];
|
|
52
52
|
env[key] = value;
|
|
53
53
|
});
|
|
54
|
-
|
|
54
|
+
if (!(env.ASG !== 'custom')) {
|
|
55
|
+
_context.next = 11;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
_context.next = 11;
|
|
55
59
|
return fetchRemoteRepository();
|
|
56
|
-
case
|
|
60
|
+
case 11:
|
|
57
61
|
if (!((infra === null || infra === void 0 ? void 0 : infra.arch) === 'PRO')) {
|
|
58
|
-
_context.next =
|
|
62
|
+
_context.next = 16;
|
|
59
63
|
break;
|
|
60
64
|
}
|
|
61
|
-
_context.next =
|
|
65
|
+
_context.next = 14;
|
|
62
66
|
return exec('vue-cli-service', ['serve'], {
|
|
63
67
|
env: env
|
|
64
68
|
});
|
|
65
|
-
case
|
|
66
|
-
_context.next =
|
|
69
|
+
case 14:
|
|
70
|
+
_context.next = 19;
|
|
67
71
|
break;
|
|
68
|
-
case
|
|
72
|
+
case 16:
|
|
69
73
|
if (!((infra === null || infra === void 0 ? void 0 : infra.arch) === 'MAX')) {
|
|
70
|
-
_context.next =
|
|
74
|
+
_context.next = 19;
|
|
71
75
|
break;
|
|
72
76
|
}
|
|
73
|
-
_context.next =
|
|
77
|
+
_context.next = 19;
|
|
74
78
|
return exec('max', ['dev'], {
|
|
75
79
|
env: env
|
|
76
80
|
});
|
|
77
|
-
case
|
|
81
|
+
case 19:
|
|
78
82
|
case "end":
|
|
79
83
|
return _context.stop();
|
|
80
84
|
}
|
package/lib/cli/start.js
CHANGED
|
@@ -49,7 +49,9 @@ async function start() {
|
|
|
49
49
|
Object.entries(allowEnvParams).forEach(([key, value]) => {
|
|
50
50
|
env[key] = value;
|
|
51
51
|
});
|
|
52
|
-
|
|
52
|
+
if (env.ASG !== "custom") {
|
|
53
|
+
await fetchRemoteRepository();
|
|
54
|
+
}
|
|
53
55
|
if ((infra == null ? void 0 : infra.arch) === "PRO") {
|
|
54
56
|
await exec("vue-cli-service", ["serve"], {
|
|
55
57
|
env
|