@clickview/ship-it 0.0.4-dev.2 → 0.0.4-dev.4

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.
@@ -82,30 +82,28 @@ var ReleaseCommand = /** @class */ (function () {
82
82
  // cont = await this.validateDescriptionsTask.run(options);
83
83
  if (!cont)
84
84
  return [2 /*return*/, false];
85
- return [4 /*yield*/, this.validateCommitsTask.run(options)];
86
- case 3:
87
- cont = _a.sent();
85
+ // cont = await this.validateCommitsTask.run(options);
88
86
  if (!cont)
89
87
  return [2 /*return*/, false];
90
88
  return [4 /*yield*/, this.createBranchTask.run(options)];
91
- case 4:
89
+ case 3:
92
90
  cont = _a.sent();
93
91
  if (!cont)
94
92
  return [2 /*return*/, false];
95
93
  return [4 /*yield*/, this.bumpVersionTxtTask.run(options)];
96
- case 5:
94
+ case 4:
97
95
  cont = _a.sent();
98
96
  if (!cont)
99
97
  return [2 /*return*/, false];
100
98
  return [4 /*yield*/, this.createMergeRequestTask.run(options)];
101
- case 6:
99
+ case 5:
102
100
  cont = _a.sent();
103
101
  if (!cont)
104
102
  return [2 /*return*/, false];
105
103
  if (!options.triggerMonorepoBuild)
106
104
  return [2 /*return*/, false];
107
105
  return [4 /*yield*/, this.startMonorepoBuildTask.run(options)];
108
- case 7: return [2 /*return*/, _a.sent()];
106
+ case 6: return [2 /*return*/, _a.sent()];
109
107
  }
110
108
  });
111
109
  });
@@ -89,11 +89,12 @@ var BumpPackagesTask = /** @class */ (function () {
89
89
  return [4 /*yield*/, this.getLernaCommand(options)];
90
90
  case 2:
91
91
  lernaVersionCmd = _a.sent();
92
+ console.log("Found lerna command ".concat(lernaVersionCmd, " but running dev versioning script for testing purposes"));
92
93
  if (!lernaVersionCmd) {
93
94
  utils_1.Logger.logError('Something went wrong while trying to detect which versioning script to run with Lerna.');
94
95
  return [2 /*return*/, false];
95
96
  }
96
- (0, child_process_1.execSync)(lernaVersionCmd);
97
+ (0, child_process_1.execSync)("lerna version prepatch --preid dev ".concat(SHARED_LERNA_OPTIONS));
97
98
  utils_1.Logger.logSuccess('Successfully executed Lerna versioning command.');
98
99
  return [2 /*return*/, true];
99
100
  }
@@ -7,6 +7,7 @@ exports.Versions = void 0;
7
7
  var semver_1 = __importDefault(require("semver"));
8
8
  exports.Versions = {
9
9
  getNextVersion: function (currentVersion, type) {
10
+ return '9.9.9';
10
11
  var curr = new semver_1.default.SemVer(currentVersion);
11
12
  switch (type) {
12
13
  case 'major':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/ship-it",
3
- "version": "0.0.4-dev.2",
3
+ "version": "0.0.4-dev.4",
4
4
  "description": "Release Manager",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {