@sevenvip666/rop 0.1.19 → 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.
@@ -339,6 +339,7 @@ var getFlutterEnv = function (projectPath) {
339
339
  basePath: dir + '/build',
340
340
  appName: doc.name,
341
341
  version: doc.version.split('+')[0],
342
+ flutterVersion: doc.version,
342
343
  };
343
344
  }
344
345
  else {
@@ -1276,7 +1277,7 @@ var init = function () { return __awaiter(void 0, void 0, void 0, function () {
1276
1277
  init = new InitApi();
1277
1278
  return [4 /*yield*/, init.initProjectConfigJson(framework)];
1278
1279
  case 19:
1279
- if (!_a.sent()) return [3 /*break*/, 23];
1280
+ _a.sent();
1280
1281
  return [4 /*yield*/, init.initRopConfig(projectId, accessKey, teamSign)];
1281
1282
  case 20:
1282
1283
  _a.sent();
@@ -1297,11 +1298,10 @@ var init = function () { return __awaiter(void 0, void 0, void 0, function () {
1297
1298
  case Framework.FLUTTER:
1298
1299
  break;
1299
1300
  }
1300
- _a.label = 23;
1301
- case 23: return [2 /*return*/, {
1302
- projectId: projectId,
1303
- accessKey: accessKey,
1304
- }];
1301
+ return [2 /*return*/, {
1302
+ projectId: projectId,
1303
+ accessKey: accessKey,
1304
+ }];
1305
1305
  }
1306
1306
  });
1307
1307
  }); };
@@ -1529,7 +1529,7 @@ var setHost = function (host) {
1529
1529
  };
1530
1530
 
1531
1531
  var program = new Command();
1532
- program.name('rop').description('CLI to some JavaScript string utilities').version('0.1.0');
1532
+ program.name('rop').description('CLI to some JavaScript string utilities').version('0.1.21');
1533
1533
  program
1534
1534
  .command('login')
1535
1535
  .description('login')
@@ -2,5 +2,6 @@ export declare const getFlutterEnv: (projectPath?: string) => {
2
2
  basePath: string;
3
3
  appName: string;
4
4
  version: string;
5
+ flutterVersion: string;
5
6
  };
6
7
  export declare function getDir(root: string): string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sevenvip666/rop",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "files": [
5
5
  "dist"
6
6
  ],