rman 0.28.0 → 0.28.1

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.
@@ -9,8 +9,8 @@ class BuildCommand extends run_command_js_1.RunCommand {
9
9
  this.repository = repository;
10
10
  }
11
11
  }
12
- BuildCommand.commandName = 'build';
13
12
  exports.BuildCommand = BuildCommand;
13
+ BuildCommand.commandName = 'build';
14
14
  (function (BuildCommand) {
15
15
  function initCli(repository, program) {
16
16
  program.command({
@@ -29,5 +29,4 @@ exports.BuildCommand = BuildCommand;
29
29
  });
30
30
  }
31
31
  BuildCommand.initCli = initCli;
32
- })(BuildCommand = exports.BuildCommand || (exports.BuildCommand = {}));
33
- exports.BuildCommand = BuildCommand;
32
+ })(BuildCommand || (exports.BuildCommand = BuildCommand = {}));
@@ -14,8 +14,8 @@ class ChangedCommand extends list_command_js_1.ListCommand {
14
14
  return !!(inf.isDirty || inf.isCommitted);
15
15
  }
16
16
  }
17
- ChangedCommand.commandName = 'changed';
18
17
  exports.ChangedCommand = ChangedCommand;
18
+ ChangedCommand.commandName = 'changed';
19
19
  (function (ChangedCommand) {
20
20
  function initCli(repository, program) {
21
21
  program.command({
@@ -35,5 +35,4 @@ exports.ChangedCommand = ChangedCommand;
35
35
  });
36
36
  }
37
37
  ChangedCommand.initCli = initCli;
38
- })(ChangedCommand = exports.ChangedCommand || (exports.ChangedCommand = {}));
39
- exports.ChangedCommand = ChangedCommand;
38
+ })(ChangedCommand || (exports.ChangedCommand = ChangedCommand = {}));
@@ -53,8 +53,8 @@ class CleanInstallCommand extends run_command_js_1.RunCommand {
53
53
  }
54
54
  }
55
55
  }
56
- CleanInstallCommand.commandName = 'ci';
57
56
  exports.CleanInstallCommand = CleanInstallCommand;
57
+ CleanInstallCommand.commandName = 'ci';
58
58
  (function (CleanInstallCommand) {
59
59
  CleanInstallCommand.cliCommandOptions = {
60
60
  ...run_command_js_1.RunCommand.cliCommandOptions
@@ -75,5 +75,4 @@ exports.CleanInstallCommand = CleanInstallCommand;
75
75
  });
76
76
  }
77
77
  CleanInstallCommand.initCli = initCli;
78
- })(CleanInstallCommand = exports.CleanInstallCommand || (exports.CleanInstallCommand = {}));
79
- exports.CleanInstallCommand = CleanInstallCommand;
78
+ })(CleanInstallCommand || (exports.CleanInstallCommand = CleanInstallCommand = {}));
@@ -40,8 +40,8 @@ class ExecuteCommand extends multi_task_command_js_1.MultiTaskCommand {
40
40
  return tasks;
41
41
  }
42
42
  }
43
- ExecuteCommand.commandName = 'exec';
44
43
  exports.ExecuteCommand = ExecuteCommand;
44
+ ExecuteCommand.commandName = 'exec';
45
45
  (function (ExecuteCommand) {
46
46
  ExecuteCommand.cliCommandOptions = {
47
47
  ...multi_task_command_js_1.MultiTaskCommand.cliCommandOptions
@@ -75,5 +75,4 @@ exports.ExecuteCommand = ExecuteCommand;
75
75
  });
76
76
  }
77
77
  ExecuteCommand.initCli = initCli;
78
- })(ExecuteCommand = exports.ExecuteCommand || (exports.ExecuteCommand = {}));
79
- exports.ExecuteCommand = ExecuteCommand;
78
+ })(ExecuteCommand || (exports.ExecuteCommand = ExecuteCommand = {}));
@@ -43,8 +43,8 @@ class InfoCommand extends command_js_1.Command {
43
43
  }
44
44
  }
45
45
  }
46
- InfoCommand.commandName = 'info';
47
46
  exports.InfoCommand = InfoCommand;
47
+ InfoCommand.commandName = 'info';
48
48
  (function (InfoCommand) {
49
49
  function initCli(repository, program) {
50
50
  program.command({
@@ -63,5 +63,4 @@ exports.InfoCommand = InfoCommand;
63
63
  });
64
64
  }
65
65
  InfoCommand.initCli = initCli;
66
- })(InfoCommand = exports.InfoCommand || (exports.InfoCommand = {}));
67
- exports.InfoCommand = InfoCommand;
66
+ })(InfoCommand || (exports.InfoCommand = InfoCommand = {}));
@@ -97,8 +97,8 @@ class ListCommand extends command_js_1.Command {
97
97
  return arr;
98
98
  }
99
99
  }
100
- ListCommand.commandName = 'list';
101
100
  exports.ListCommand = ListCommand;
101
+ ListCommand.commandName = 'list';
102
102
  (function (ListCommand) {
103
103
  ListCommand.cliCommandOptions = {
104
104
  'short': {
@@ -139,5 +139,4 @@ exports.ListCommand = ListCommand;
139
139
  });
140
140
  }
141
141
  ListCommand.initCli = initCli;
142
- })(ListCommand = exports.ListCommand || (exports.ListCommand = {}));
143
- exports.ListCommand = ListCommand;
142
+ })(ListCommand || (exports.ListCommand = ListCommand = {}));
@@ -67,4 +67,4 @@ exports.MultiTaskCommand = MultiTaskCommand;
67
67
  default: true
68
68
  }
69
69
  };
70
- })(MultiTaskCommand = exports.MultiTaskCommand || (exports.MultiTaskCommand = {}));
70
+ })(MultiTaskCommand || (exports.MultiTaskCommand = MultiTaskCommand = {}));
@@ -75,8 +75,8 @@ class PublishCommand extends run_command_js_1.RunCommand {
75
75
  return super._exec(pkg, command, args, options);
76
76
  }
77
77
  }
78
- PublishCommand.commandName = 'publish';
79
78
  exports.PublishCommand = PublishCommand;
79
+ PublishCommand.commandName = 'publish';
80
80
  (function (PublishCommand) {
81
81
  PublishCommand.cliCommandOptions = {
82
82
  ...run_command_js_1.RunCommand.cliCommandOptions,
@@ -113,5 +113,4 @@ exports.PublishCommand = PublishCommand;
113
113
  });
114
114
  }
115
115
  PublishCommand.initCli = initCli;
116
- })(PublishCommand = exports.PublishCommand || (exports.PublishCommand = {}));
117
- exports.PublishCommand = PublishCommand;
116
+ })(PublishCommand || (exports.PublishCommand = PublishCommand = {}));
@@ -91,8 +91,8 @@ class RunCommand extends multi_task_command_js_1.MultiTaskCommand {
91
91
  return r;
92
92
  }
93
93
  }
94
- RunCommand.commandName = 'run';
95
94
  exports.RunCommand = RunCommand;
95
+ RunCommand.commandName = 'run';
96
96
  (function (RunCommand) {
97
97
  RunCommand.cliCommandOptions = {
98
98
  ...multi_task_command_js_1.MultiTaskCommand.cliCommandOptions
@@ -126,5 +126,4 @@ exports.RunCommand = RunCommand;
126
126
  });
127
127
  }
128
128
  RunCommand.initCli = initCli;
129
- })(RunCommand = exports.RunCommand || (exports.RunCommand = {}));
130
- exports.RunCommand = RunCommand;
129
+ })(RunCommand || (exports.RunCommand = RunCommand = {}));
@@ -153,8 +153,8 @@ class VersionCommand extends run_command_js_1.RunCommand {
153
153
  return super._exec(pkg, command, args, options);
154
154
  }
155
155
  }
156
- VersionCommand.commandName = 'version';
157
156
  exports.VersionCommand = VersionCommand;
157
+ VersionCommand.commandName = 'version';
158
158
  (function (VersionCommand) {
159
159
  VersionCommand.cliCommandOptions = {
160
160
  'unified': {
@@ -197,5 +197,4 @@ exports.VersionCommand = VersionCommand;
197
197
  });
198
198
  }
199
199
  VersionCommand.initCli = initCli;
200
- })(VersionCommand = exports.VersionCommand || (exports.VersionCommand = {}));
201
- exports.VersionCommand = VersionCommand;
200
+ })(VersionCommand || (exports.VersionCommand = VersionCommand = {}));
@@ -121,4 +121,4 @@ exports.Command = Command;
121
121
  return result;
122
122
  }
123
123
  Command.composeOptions = composeOptions;
124
- })(Command = exports.Command || (exports.Command = {}));
124
+ })(Command || (exports.Command = Command = {}));
@@ -1,13 +1,12 @@
1
1
  import { Command } from '../core/command.js';
2
2
  import { RunCommand } from './run-command.js';
3
- class BuildCommand extends RunCommand {
3
+ export class BuildCommand extends RunCommand {
4
4
  constructor(repository, options) {
5
5
  super(repository, 'build', options);
6
6
  this.repository = repository;
7
7
  }
8
8
  }
9
9
  BuildCommand.commandName = 'build';
10
- export { BuildCommand };
11
10
  (function (BuildCommand) {
12
11
  function initCli(repository, program) {
13
12
  program.command({
@@ -1,6 +1,6 @@
1
1
  import { Command } from '../core/command.js';
2
2
  import { ListCommand } from './list-command.js';
3
- class ChangedCommand extends ListCommand {
3
+ export class ChangedCommand extends ListCommand {
4
4
  constructor(repository, options) {
5
5
  super(repository, options);
6
6
  this.repository = repository;
@@ -12,7 +12,6 @@ class ChangedCommand extends ListCommand {
12
12
  }
13
13
  }
14
14
  ChangedCommand.commandName = 'changed';
15
- export { ChangedCommand };
16
15
  (function (ChangedCommand) {
17
16
  function initCli(repository, program) {
18
17
  program.command({
@@ -5,7 +5,7 @@ import { Task } from 'power-tasks';
5
5
  import { Command } from '../core/command.js';
6
6
  import { fsDelete, fsExists } from '../utils/file-utils.js';
7
7
  import { RunCommand } from './run-command.js';
8
- class CleanInstallCommand extends RunCommand {
8
+ export class CleanInstallCommand extends RunCommand {
9
9
  constructor(repository, options) {
10
10
  super(repository, 'ci', options);
11
11
  this.repository = repository;
@@ -48,7 +48,6 @@ class CleanInstallCommand extends RunCommand {
48
48
  }
49
49
  }
50
50
  CleanInstallCommand.commandName = 'ci';
51
- export { CleanInstallCommand };
52
51
  (function (CleanInstallCommand) {
53
52
  CleanInstallCommand.cliCommandOptions = {
54
53
  ...RunCommand.cliCommandOptions
@@ -4,7 +4,7 @@ import { Task } from 'power-tasks';
4
4
  import { Command } from '../core/command.js';
5
5
  import { exec } from '../utils/exec.js';
6
6
  import { MultiTaskCommand } from './multi-task-command.js';
7
- class ExecuteCommand extends MultiTaskCommand {
7
+ export class ExecuteCommand extends MultiTaskCommand {
8
8
  constructor(repository, cmd, argv, options) {
9
9
  super(repository, options);
10
10
  this.repository = repository;
@@ -35,7 +35,6 @@ class ExecuteCommand extends MultiTaskCommand {
35
35
  }
36
36
  }
37
37
  ExecuteCommand.commandName = 'exec';
38
- export { ExecuteCommand };
39
38
  (function (ExecuteCommand) {
40
39
  ExecuteCommand.cliCommandOptions = {
41
40
  ...MultiTaskCommand.cliCommandOptions
@@ -2,7 +2,7 @@ import chalk from 'chalk';
2
2
  import envinfo from 'envinfo';
3
3
  import semver from 'semver';
4
4
  import { Command } from '../core/command.js';
5
- class InfoCommand extends Command {
5
+ export class InfoCommand extends Command {
6
6
  async _execute() {
7
7
  const systemInfo = JSON.parse(await envinfo.run({
8
8
  System: ['OS', 'CPU', 'Memory', 'Shell'],
@@ -38,7 +38,6 @@ class InfoCommand extends Command {
38
38
  }
39
39
  }
40
40
  InfoCommand.commandName = 'info';
41
- export { InfoCommand };
42
41
  (function (InfoCommand) {
43
42
  function initCli(repository, program) {
44
43
  program.command({
@@ -4,7 +4,7 @@ import logger from 'npmlog';
4
4
  import path from 'path';
5
5
  import { Command } from '../core/command.js';
6
6
  import { GitHelper } from '../utils/git-utils.js';
7
- class ListCommand extends Command {
7
+ export class ListCommand extends Command {
8
8
  constructor(repository, options) {
9
9
  super(options);
10
10
  this.repository = repository;
@@ -92,7 +92,6 @@ class ListCommand extends Command {
92
92
  }
93
93
  }
94
94
  ListCommand.commandName = 'list';
95
- export { ListCommand };
96
95
  (function (ListCommand) {
97
96
  ListCommand.cliCommandOptions = {
98
97
  'short': {
@@ -4,7 +4,7 @@ import path from 'path';
4
4
  import { Command } from '../core/command.js';
5
5
  import { NpmHelper } from '../utils/npm-utils.js';
6
6
  import { RunCommand } from './run-command.js';
7
- class PublishCommand extends RunCommand {
7
+ export class PublishCommand extends RunCommand {
8
8
  constructor(repository, options) {
9
9
  super(repository, 'publish', {
10
10
  ...options,
@@ -70,7 +70,6 @@ class PublishCommand extends RunCommand {
70
70
  }
71
71
  }
72
72
  PublishCommand.commandName = 'publish';
73
- export { PublishCommand };
74
73
  (function (PublishCommand) {
75
74
  PublishCommand.cliCommandOptions = {
76
75
  ...RunCommand.cliCommandOptions,
@@ -5,7 +5,7 @@ import parseNpmScript from '@netlify/parse-npm-script';
5
5
  import { Command } from '../core/command.js';
6
6
  import { exec } from '../utils/exec.js';
7
7
  import { MultiTaskCommand } from './multi-task-command.js';
8
- class RunCommand extends MultiTaskCommand {
8
+ export class RunCommand extends MultiTaskCommand {
9
9
  constructor(repository, script, options) {
10
10
  super(repository, options);
11
11
  this.repository = repository;
@@ -86,7 +86,6 @@ class RunCommand extends MultiTaskCommand {
86
86
  }
87
87
  }
88
88
  RunCommand.commandName = 'run';
89
- export { RunCommand };
90
89
  (function (RunCommand) {
91
90
  RunCommand.cliCommandOptions = {
92
91
  ...MultiTaskCommand.cliCommandOptions
@@ -7,7 +7,7 @@ import stripColor from 'strip-color';
7
7
  import { Command } from '../core/command.js';
8
8
  import { GitHelper } from '../utils/git-utils.js';
9
9
  import { RunCommand } from './run-command.js';
10
- class VersionCommand extends RunCommand {
10
+ export class VersionCommand extends RunCommand {
11
11
  constructor(repository, bump, options) {
12
12
  super(repository, 'version', options);
13
13
  this.repository = repository;
@@ -148,7 +148,6 @@ class VersionCommand extends RunCommand {
148
148
  }
149
149
  }
150
150
  VersionCommand.commandName = 'version';
151
- export { VersionCommand };
152
151
  (function (VersionCommand) {
153
152
  VersionCommand.cliCommandOptions = {
154
153
  'unified': {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.28.0",
4
+ "version": "0.28.1",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "contributors": [
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/panates/rman.git"
12
+ "url": "git+https://github.com/panates/rman.git"
13
13
  },
14
14
  "keywords": [
15
15
  "javascript",
@@ -34,55 +34,55 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@netlify/parse-npm-script": "^0.1.2",
37
- "chalk": "^5.2.0",
37
+ "chalk": "^5.3.0",
38
38
  "easy-table": "^1.2.0",
39
- "envinfo": "^7.8.1",
40
- "fast-glob": "^3.2.12",
41
- "figures": "^5.0.0",
42
- "ini": "^4.1.0",
39
+ "envinfo": "^7.13.0",
40
+ "fast-glob": "^3.3.2",
41
+ "figures": "^6.1.0",
42
+ "ini": "^4.1.3",
43
43
  "is-ci": "^3.0.1",
44
44
  "js-yaml": "^4.1.0",
45
45
  "npmlog": "^7.0.1",
46
46
  "path-key": "^4.0.0",
47
- "power-tasks": "^1.7.0",
48
- "putil-merge": "^3.10.3",
47
+ "power-tasks": "^1.7.3",
48
+ "putil-merge": "^3.12.1",
49
49
  "putil-varhelpers": "^1.6.5",
50
- "semver": "^7.5.1",
51
- "signal-exit": "^4.0.2",
52
- "strict-typed-events": "^2.3.1",
50
+ "semver": "^7.6.2",
51
+ "signal-exit": "^4.1.0",
52
+ "strict-typed-events": "^2.3.3",
53
53
  "strip-color": "^0.1.0",
54
54
  "yargs": "^17.7.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@babel/eslint-parser": "^7.21.8",
58
- "@types/envinfo": "^7.8.1",
59
- "@types/ini": "^1.3.31",
60
- "@types/is-ci": "^3.0.0",
61
- "@types/jest": "^29.5.1",
62
- "@types/js-yaml": "^4.0.5",
63
- "@types/node": "^20.1.5",
64
- "@types/npmlog": "^4.1.4",
65
- "@types/semver": "^7.5.0",
66
- "@types/signal-exit": "^3.0.1",
67
- "@types/strip-color": "^0.1.0",
68
- "@types/yargs": "^17.0.24",
69
- "@typescript-eslint/eslint-plugin": "^5.59.6",
70
- "@typescript-eslint/parser": "^5.59.6",
71
- "eslint": "^8.40.0",
57
+ "@babel/eslint-parser": "^7.24.7",
58
+ "@types/envinfo": "^7.8.4",
59
+ "@types/ini": "^4.1.0",
60
+ "@types/is-ci": "^3.0.4",
61
+ "@types/jest": "^29.5.12",
62
+ "@types/js-yaml": "^4.0.9",
63
+ "@types/node": "^20.14.2",
64
+ "@types/npmlog": "^7.0.0",
65
+ "@types/semver": "^7.5.8",
66
+ "@types/signal-exit": "^3.0.4",
67
+ "@types/strip-color": "^0.1.2",
68
+ "@types/yargs": "^17.0.32",
69
+ "@typescript-eslint/eslint-plugin": "^7.12.0",
70
+ "@typescript-eslint/parser": "^7.12.0",
71
+ "eslint": "^8.57.0",
72
72
  "eslint-config-google": "^0.14.0",
73
- "eslint-plugin-import": "^2.27.5",
74
- "eslint-plugin-security": "^1.7.1",
75
- "eslint-plugin-simple-import-sort": "^10.0.0",
76
- "eslint-plugin-unused-imports": "^2.0.0",
77
- "jest": "^29.5.0",
78
- "prettier": "^2.8.8",
73
+ "eslint-plugin-import-x": "^0.5.1",
74
+ "eslint-plugin-security": "^3.0.0",
75
+ "eslint-plugin-simple-import-sort": "^12.1.0",
76
+ "eslint-plugin-unused-imports": "^3.2.0",
77
+ "jest": "^29.7.0",
78
+ "prettier": "^3.3.1",
79
79
  "ts-cleanup": "^0.2.6",
80
- "ts-gems": "^2.4.0",
81
- "ts-jest": "^29.1.0",
82
- "ts-loader": "^9.4.2",
83
- "ts-node": "^10.9.1",
80
+ "ts-gems": "^3.4.0",
81
+ "ts-jest": "^29.1.4",
82
+ "ts-loader": "^9.5.1",
83
+ "ts-node": "^10.9.2",
84
84
  "tsconfig-paths": "^4.2.0",
85
- "typescript": "^5.0.4"
85
+ "typescript": "^5.4.5"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=16.0",