@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 CHANGED
@@ -51,30 +51,34 @@ function _start() {
51
51
  value = _ref2[1];
52
52
  env[key] = value;
53
53
  });
54
- _context.next = 10;
54
+ if (!(env.ASG !== 'custom')) {
55
+ _context.next = 11;
56
+ break;
57
+ }
58
+ _context.next = 11;
55
59
  return fetchRemoteRepository();
56
- case 10:
60
+ case 11:
57
61
  if (!((infra === null || infra === void 0 ? void 0 : infra.arch) === 'PRO')) {
58
- _context.next = 15;
62
+ _context.next = 16;
59
63
  break;
60
64
  }
61
- _context.next = 13;
65
+ _context.next = 14;
62
66
  return exec('vue-cli-service', ['serve'], {
63
67
  env: env
64
68
  });
65
- case 13:
66
- _context.next = 18;
69
+ case 14:
70
+ _context.next = 19;
67
71
  break;
68
- case 15:
72
+ case 16:
69
73
  if (!((infra === null || infra === void 0 ? void 0 : infra.arch) === 'MAX')) {
70
- _context.next = 18;
74
+ _context.next = 19;
71
75
  break;
72
76
  }
73
- _context.next = 18;
77
+ _context.next = 19;
74
78
  return exec('max', ['dev'], {
75
79
  env: env
76
80
  });
77
- case 18:
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
- await fetchRemoteRepository();
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teams-max/mwsp",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "@teams-max/mwsp",
5
5
  "homepage": "https://gitlab.daikuan.qihoo.net/efficacy-fe/teams-max/-/tree/master/packages/mwsp",
6
6
  "repository": {