rman 0.26.1 → 0.27.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 sqbjs
3
+ Copyright (c) 2020 Panates
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -37,6 +37,13 @@ class Repository extends package_js_1.Package {
37
37
  ...pkg.json.peerDependencies,
38
38
  ...pkg.json.optionalDependencies
39
39
  };
40
+ const configDeps = this.config.packages?.[pkg.name]?.dependencies;
41
+ if (configDeps) {
42
+ if (Array.isArray(configDeps))
43
+ configDeps.forEach(x => o[x] = o[x] || '*');
44
+ else
45
+ Object.assign(o, configDeps);
46
+ }
40
47
  const dependencies = [];
41
48
  for (const k of Object.keys(o)) {
42
49
  const p = this.getPackage(k);
@@ -31,6 +31,13 @@ export class Repository extends Package {
31
31
  ...pkg.json.peerDependencies,
32
32
  ...pkg.json.optionalDependencies
33
33
  };
34
+ const configDeps = this.config.packages?.[pkg.name]?.dependencies;
35
+ if (configDeps) {
36
+ if (Array.isArray(configDeps))
37
+ configDeps.forEach(x => o[x] = o[x] || '*');
38
+ else
39
+ Object.assign(o, configDeps);
40
+ }
34
41
  const dependencies = [];
35
42
  for (const k of Object.keys(o)) {
36
43
  const p = this.getPackage(k);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.26.1",
4
+ "version": "0.27.0",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "contributors": [
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@netlify/parse-npm-script": "^0.1.2",
37
- "chalk": "^5.1.2",
37
+ "chalk": "^5.2.0",
38
38
  "easy-table": "^1.2.0",
39
39
  "envinfo": "^7.8.1",
40
40
  "fast-glob": "^3.2.12",
@@ -44,7 +44,7 @@
44
44
  "js-yaml": "^4.1.0",
45
45
  "npmlog": "^7.0.1",
46
46
  "path-key": "^4.0.0",
47
- "power-tasks": "^1.5.0",
47
+ "power-tasks": "^1.6.1",
48
48
  "putil-merge": "^3.9.0",
49
49
  "putil-varhelpers": "^1.6.4",
50
50
  "semver": "^7.3.8",
@@ -58,31 +58,31 @@
58
58
  "@types/envinfo": "^7.8.1",
59
59
  "@types/ini": "^1.3.31",
60
60
  "@types/is-ci": "^3.0.0",
61
- "@types/jest": "^29.2.3",
61
+ "@types/jest": "^29.2.4",
62
62
  "@types/js-yaml": "^4.0.5",
63
- "@types/node": "^18.11.9",
63
+ "@types/node": "^18.11.18",
64
64
  "@types/npmlog": "^4.1.4",
65
65
  "@types/semver": "^7.3.13",
66
66
  "@types/signal-exit": "^3.0.1",
67
67
  "@types/strip-color": "^0.1.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",
68
+ "@types/yargs": "^17.0.17",
69
+ "@typescript-eslint/eslint-plugin": "^5.47.1",
70
+ "@typescript-eslint/parser": "^5.47.1",
71
+ "eslint": "^8.30.0",
72
72
  "eslint-config-google": "^0.14.0",
73
73
  "eslint-plugin-import": "^2.26.0",
74
74
  "eslint-plugin-security": "^1.5.0",
75
75
  "eslint-plugin-simple-import-sort": "^8.0.0",
76
76
  "eslint-plugin-unused-imports": "^2.0.0",
77
77
  "jest": "^29.3.1",
78
- "prettier": "^2.8.0",
78
+ "prettier": "^2.8.1",
79
79
  "ts-cleanup": "^0.2.5",
80
80
  "ts-gems": "^2.3.0",
81
81
  "ts-jest": "^29.0.3",
82
- "ts-loader": "^9.4.1",
82
+ "ts-loader": "^9.4.2",
83
83
  "ts-node": "^10.9.1",
84
- "tsconfig-paths": "^4.1.0",
85
- "typescript": "^4.9.3"
84
+ "tsconfig-paths": "^4.1.1",
85
+ "typescript": "^4.9.4"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=14.0",