rman 0.2.0 → 0.2.3

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.
@@ -100,7 +100,7 @@ class VersionCommand extends run_command_1.RunCommand {
100
100
  const newVer = newVersions[pkg.name];
101
101
  pkg.json.version = newVer;
102
102
  const f = path_1.default.join(pkg.dirname, 'package.json');
103
- const data = JSON.stringify(pkg.json, undefined, -2);
103
+ const data = JSON.stringify(pkg.json, undefined, 2);
104
104
  fs_1.default.writeFileSync(f, data, 'utf-8');
105
105
  npmlog_1.default.info(this.commandName, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), pkg.name, chalk_1.default.gray(figures_1.default.lineVerticalDashed0), 'Version changed from ' + chalk_1.default.cyan(oldVer) + ' to ' + chalk_1.default.cyan(newVer));
106
106
  return { code: 0 };
@@ -94,7 +94,7 @@ export class VersionCommand extends RunCommand {
94
94
  const newVer = newVersions[pkg.name];
95
95
  pkg.json.version = newVer;
96
96
  const f = path.join(pkg.dirname, 'package.json');
97
- const data = JSON.stringify(pkg.json, undefined, -2);
97
+ const data = JSON.stringify(pkg.json, undefined, 2);
98
98
  fs.writeFileSync(f, data, 'utf-8');
99
99
  logger.info(this.commandName, chalk.gray(figures.lineVerticalDashed0), pkg.name, chalk.gray(figures.lineVerticalDashed0), 'Version changed from ' + chalk.cyan(oldVer) + ' to ' + chalk.cyan(newVer));
100
100
  return { code: 0 };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.2.0",
4
+ "version": "0.2.3",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "contributors": [
@@ -43,7 +43,7 @@
43
43
  "npmlog": "^6.0.0",
44
44
  "package-json": "^7.0.0",
45
45
  "path-key": "^4.0.0",
46
- "power-tasks": "^0.0.1",
46
+ "power-tasks": "^0.0.2",
47
47
  "putil-merge": "^3.7.0",
48
48
  "putil-varhelpers": "^1.6.3",
49
49
  "semver": "^7.3.5",