rman 0.26.0 → 0.26.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.
package/cjs/cli.js CHANGED
@@ -36,7 +36,7 @@ async function runCli(options) {
36
36
  .help('help').alias('help', 'h')
37
37
  .showHelpOnFail(false, 'Run with --help for available options')
38
38
  .fail((msg, err) => {
39
- if (!err.logged) {
39
+ if (!err?.logged) {
40
40
  const text = (msg
41
41
  ? msg + '\n\n' + chalk_1.default.whiteBright('Run with --help for available options')
42
42
  : (err ? err.message : ''));
package/esm/cli.js CHANGED
@@ -30,7 +30,7 @@ export async function runCli(options) {
30
30
  .help('help').alias('help', 'h')
31
31
  .showHelpOnFail(false, 'Run with --help for available options')
32
32
  .fail((msg, err) => {
33
- if (!err.logged) {
33
+ if (!err?.logged) {
34
34
  const text = (msg
35
35
  ? msg + '\n\n' + chalk.whiteBright('Run with --help for available options')
36
36
  : (err ? err.message : ''));
@@ -16,7 +16,7 @@ export interface RunPathOptions {
16
16
  */
17
17
  readonly execPath?: string;
18
18
  }
19
- export declare type ProcessEnv = Record<string, string | undefined>;
19
+ export type ProcessEnv = Record<string, string | undefined>;
20
20
  export interface EnvOptions {
21
21
  /**
22
22
  The working directory.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.26.0",
4
+ "version": "0.26.1",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "contributors": [
@@ -23,11 +23,12 @@
23
23
  "rman": "bin/rman.mjs"
24
24
  },
25
25
  "type": "module",
26
- "main": "cjs/index.js",
27
- "module": "esm/index.js",
28
26
  "types": "esm/index.d.ts",
29
27
  "exports": {
30
- ".": "./cjs/index.js",
28
+ ".": {
29
+ "require": "./cjs/index.js",
30
+ "default": "./esm/index.js"
31
+ },
31
32
  "./cjs": "./cjs/index.js",
32
33
  "./esm": "./esm/index.js"
33
34
  },
@@ -41,7 +42,7 @@
41
42
  "ini": "^3.0.1",
42
43
  "is-ci": "^3.0.1",
43
44
  "js-yaml": "^4.1.0",
44
- "npmlog": "^6.0.2",
45
+ "npmlog": "^7.0.1",
45
46
  "path-key": "^4.0.0",
46
47
  "power-tasks": "^1.5.0",
47
48
  "putil-merge": "^3.9.0",
@@ -50,38 +51,38 @@
50
51
  "signal-exit": "^3.0.7",
51
52
  "strict-typed-events": "^2.3.1",
52
53
  "strip-color": "^0.1.0",
53
- "yargs": "^17.6.0"
54
+ "yargs": "^17.6.2"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@babel/eslint-parser": "^7.19.1",
57
58
  "@types/envinfo": "^7.8.1",
58
59
  "@types/ini": "^1.3.31",
59
60
  "@types/is-ci": "^3.0.0",
60
- "@types/jest": "^29.1.2",
61
+ "@types/jest": "^29.2.3",
61
62
  "@types/js-yaml": "^4.0.5",
62
- "@types/node": "^18.8.4",
63
+ "@types/node": "^18.11.9",
63
64
  "@types/npmlog": "^4.1.4",
64
- "@types/semver": "^7.3.12",
65
+ "@types/semver": "^7.3.13",
65
66
  "@types/signal-exit": "^3.0.1",
66
67
  "@types/strip-color": "^0.1.0",
67
- "@types/yargs": "^17.0.13",
68
- "@typescript-eslint/eslint-plugin": "^5.40.0",
69
- "@typescript-eslint/parser": "^5.40.0",
70
- "eslint": "8.25.0",
68
+ "@types/yargs": "^17.0.14",
69
+ "@typescript-eslint/eslint-plugin": "^5.44.0",
70
+ "@typescript-eslint/parser": "^5.44.0",
71
+ "eslint": "^8.28.0",
71
72
  "eslint-config-google": "^0.14.0",
72
73
  "eslint-plugin-import": "^2.26.0",
73
74
  "eslint-plugin-security": "^1.5.0",
74
75
  "eslint-plugin-simple-import-sort": "^8.0.0",
75
76
  "eslint-plugin-unused-imports": "^2.0.0",
76
- "jest": "^29.1.2",
77
- "prettier": "^2.7.1",
77
+ "jest": "^29.3.1",
78
+ "prettier": "^2.8.0",
78
79
  "ts-cleanup": "^0.2.5",
79
- "ts-gems": "^2.2.1",
80
+ "ts-gems": "^2.3.0",
80
81
  "ts-jest": "^29.0.3",
81
82
  "ts-loader": "^9.4.1",
82
83
  "ts-node": "^10.9.1",
83
84
  "tsconfig-paths": "^4.1.0",
84
- "typescript": "^4.8.4"
85
+ "typescript": "^4.9.3"
85
86
  },
86
87
  "engines": {
87
88
  "node": ">=14.0",