@tsed/cli-core 6.0.3 → 6.1.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.
|
@@ -116,7 +116,9 @@ let ProjectPackageJson = class ProjectPackageJson {
|
|
|
116
116
|
addDevDependencies(modules, scope = {}) {
|
|
117
117
|
const replacer = (match, key) => getValue(key, scope);
|
|
118
118
|
Object.entries(modules).forEach(([pkg, version]) => {
|
|
119
|
-
|
|
119
|
+
if (!this.dependencies[pkg]) {
|
|
120
|
+
this.addDevDependency(pkg, (version || "").replace(/{{([\w.]+)}}/gi, replacer));
|
|
121
|
+
}
|
|
120
122
|
});
|
|
121
123
|
return this;
|
|
122
124
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-core",
|
|
3
3
|
"description": "Build your CLI with TypeScript and Decorators",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"uuid": "^10.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@tsed/typescript": "6.
|
|
69
|
+
"@tsed/typescript": "6.1.1",
|
|
70
70
|
"@types/commander": "2.12.2",
|
|
71
71
|
"@types/consolidate": "0.14.4",
|
|
72
72
|
"@types/figures": "3.0.1",
|