@react-native-oh/react-native-harmony-cli 0.0.26-1 → 0.0.26-10

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.
@@ -54,21 +54,16 @@ exports.commandVerifyPackageHarmony = {
54
54
  npmPackagePath: args.packagePath,
55
55
  hasHarmonyCode: args.hasHarmonyCode,
56
56
  checkNamesToSkip: args.checkNamesToSkip,
57
- })), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
57
+ })), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
58
58
  _c = _f.value;
59
59
  _d = false;
60
- try {
61
- const checkResult = _c;
62
- if (checkResult.type === 'START_PROCESS') {
63
- loader.start(chalk_1.default.gray(checkResult.name));
64
- }
65
- else if (checkResult.type === 'FINISHED_CHECKING') {
66
- checkResults.push(checkResult);
67
- logCheckResult(loader, checkResult);
68
- }
60
+ const checkResult = _c;
61
+ if (checkResult.type === 'START_PROCESS') {
62
+ loader.start(chalk_1.default.gray(checkResult.name));
69
63
  }
70
- finally {
71
- _d = true;
64
+ else if (checkResult.type === 'FINISHED_CHECKING') {
65
+ checkResults.push(checkResult);
66
+ logCheckResult(loader, checkResult);
72
67
  }
73
68
  }
74
69
  }
@@ -15,8 +15,9 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {
15
15
  var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
16
16
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
17
17
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
18
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
19
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
18
+ return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
19
+ function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
20
+ function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
20
21
  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
21
22
  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
22
23
  function fulfill(value) { resume("next", value); }
@@ -33,8 +34,8 @@ const tmp_1 = __importDefault(require("tmp"));
33
34
  const core_1 = require("../core");
34
35
  const checks_1 = require("./checks");
35
36
  const io_1 = require("../io");
36
- function verifyRNOHPackage({ npmPackagePath, hasHarmonyCode, checkNamesToSkip, }) {
37
- return __asyncGenerator(this, arguments, function* verifyRNOHPackage_1() {
37
+ function verifyRNOHPackage(_a) {
38
+ return __asyncGenerator(this, arguments, function* verifyRNOHPackage_1({ npmPackagePath, hasHarmonyCode, checkNamesToSkip, }) {
38
39
  const npmPackageJson = core_1.PackageJSON.fromProjectRootPath(npmPackagePath, npmPackagePath);
39
40
  const initialChecks = [
40
41
  (0, checks_1.createHarmonyDirExistsCheck)(npmPackagePath, hasHarmonyCode),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-oh/react-native-harmony-cli",
3
- "version": "0.0.26-1",
3
+ "version": "0.0.26-10",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",