@gadmin2n/cli 0.0.125 → 0.0.127
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.
|
@@ -33,8 +33,11 @@ class AbstractPackageManager {
|
|
|
33
33
|
try {
|
|
34
34
|
const commandArgs = `${this.cli.install} ${this.cli.silentFlag}`;
|
|
35
35
|
const collect = true;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
// 绝对路径直接使用;相对路径保持原有 kebab-case 规范化 + cwd 拼接逻辑
|
|
37
|
+
const resolvedDir = (0, path_1.isAbsolute)(directory)
|
|
38
|
+
? directory
|
|
39
|
+
: (0, path_1.join)(process.cwd(), (0, formatting_1.normalizeToKebabOrSnakeCase)(directory));
|
|
40
|
+
yield this.runner.run(commandArgs, collect, resolvedDir);
|
|
38
41
|
spinner.succeed();
|
|
39
42
|
}
|
|
40
43
|
catch (_a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gadmin2n/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.127",
|
|
4
4
|
"description": "Gadmin - modern, fast, powerful node.js web framework (@cli)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@angular-devkit/core": "13.3.2",
|
|
48
48
|
"@angular-devkit/schematics": "13.3.2",
|
|
49
49
|
"@angular-devkit/schematics-cli": "13.3.2",
|
|
50
|
-
"@gadmin2n/schematics": "^0.0.
|
|
50
|
+
"@gadmin2n/schematics": "^0.0.98",
|
|
51
51
|
"abc": "^0.6.1",
|
|
52
52
|
"chalk": "3.0.0",
|
|
53
53
|
"chokidar": "3.5.3",
|