@cenk1cenk2/oclif-common 6.3.20 → 6.3.22
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/dist/index.js +18 -18
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -12,16 +12,16 @@ import { Command as BaseCommand, Flags } from "@oclif/core";
|
|
|
12
12
|
import { createInterface } from "readline";
|
|
13
13
|
|
|
14
14
|
// src/constants/file.constants.ts
|
|
15
|
-
var FileConstants
|
|
16
|
-
(function(FileConstants2) {
|
|
15
|
+
var FileConstants = /* @__PURE__ */ function(FileConstants2) {
|
|
17
16
|
FileConstants2["CONFIG_SERVICE_DEFAULTS_DIR"] = "config";
|
|
18
|
-
|
|
17
|
+
return FileConstants2;
|
|
18
|
+
}({});
|
|
19
19
|
|
|
20
20
|
// src/constants/help-groups.constants.ts
|
|
21
|
-
var HelpGroups
|
|
22
|
-
(function(HelpGroups2) {
|
|
21
|
+
var HelpGroups = /* @__PURE__ */ function(HelpGroups2) {
|
|
23
22
|
HelpGroups2["CLI"] = "CLI";
|
|
24
|
-
|
|
23
|
+
return HelpGroups2;
|
|
24
|
+
}({});
|
|
25
25
|
|
|
26
26
|
// src/lib/config/config.service.ts
|
|
27
27
|
import { Inject as Inject2, Injectable as Injectable5 } from "@nestjs/common";
|
|
@@ -29,13 +29,13 @@ import op from "object-path-immutable";
|
|
|
29
29
|
import { join } from "path";
|
|
30
30
|
|
|
31
31
|
// src/lib/config/config.constants.ts
|
|
32
|
-
var ConfigEnvKeys
|
|
33
|
-
(function(ConfigEnvKeys2) {
|
|
32
|
+
var ConfigEnvKeys = /* @__PURE__ */ function(ConfigEnvKeys2) {
|
|
34
33
|
ConfigEnvKeys2["NAME"] = "__name";
|
|
35
34
|
ConfigEnvKeys2["PARSER"] = "__format";
|
|
36
35
|
ConfigEnvKeys2["ELEMENT"] = "__element";
|
|
37
36
|
ConfigEnvKeys2["ELEMENT_REPLACER"] = "${i}";
|
|
38
|
-
|
|
37
|
+
return ConfigEnvKeys2;
|
|
38
|
+
}({});
|
|
39
39
|
var TOKEN_CONFIG_MODULE_OPTIONS = Symbol("TOKEN_CONFIG_MODULE_OPTIONS");
|
|
40
40
|
|
|
41
41
|
// src/lib/logger/pipe/pipe-process-to-listr.ts
|
|
@@ -50,8 +50,7 @@ __name(pipeProcessThroughListr, "pipeProcessThroughListr");
|
|
|
50
50
|
import { Writable } from "stream";
|
|
51
51
|
|
|
52
52
|
// src/lib/logger/logger.constants.ts
|
|
53
|
-
var LogLevels
|
|
54
|
-
(function(LogLevels2) {
|
|
53
|
+
var LogLevels = /* @__PURE__ */ function(LogLevels2) {
|
|
55
54
|
LogLevels2["SILENT"] = "SILENT";
|
|
56
55
|
LogLevels2["DIRECT"] = "DIRECT";
|
|
57
56
|
LogLevels2["FATAL"] = "FATAL";
|
|
@@ -61,15 +60,16 @@ var LogLevels;
|
|
|
61
60
|
LogLevels2["VERBOSE"] = "VERBOSE";
|
|
62
61
|
LogLevels2["DEBUG"] = "DEBUG";
|
|
63
62
|
LogLevels2["TRACE"] = "TRACE";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
return LogLevels2;
|
|
64
|
+
}({});
|
|
65
|
+
var LogFieldStatus = /* @__PURE__ */ function(LogFieldStatus2) {
|
|
67
66
|
LogFieldStatus2["RUN"] = "run";
|
|
68
67
|
LogFieldStatus2["END"] = "end";
|
|
69
68
|
LogFieldStatus2["STAGE"] = "stage";
|
|
70
69
|
LogFieldStatus2["EXIT"] = "exit";
|
|
71
70
|
LogFieldStatus2["TERMINATE"] = "terminate";
|
|
72
|
-
|
|
71
|
+
return LogFieldStatus2;
|
|
72
|
+
}({});
|
|
73
73
|
|
|
74
74
|
// src/lib/logger/pipe/pipe-process-to-logger.ts
|
|
75
75
|
function pipeProcessToLogger(logger, instance, options) {
|
|
@@ -706,11 +706,11 @@ function isHookedWithRegister(command) {
|
|
|
706
706
|
__name(isHookedWithRegister, "isHookedWithRegister");
|
|
707
707
|
|
|
708
708
|
// src/utils/merge.constants.ts
|
|
709
|
-
var MergeStrategy
|
|
710
|
-
(function(MergeStrategy2) {
|
|
709
|
+
var MergeStrategy = /* @__PURE__ */ function(MergeStrategy2) {
|
|
711
710
|
MergeStrategy2["OVERWRITE"] = "OVERWRITE";
|
|
712
711
|
MergeStrategy2["EXTEND"] = "EXTEND";
|
|
713
|
-
|
|
712
|
+
return MergeStrategy2;
|
|
713
|
+
}({});
|
|
714
714
|
|
|
715
715
|
// src/utils/merge.ts
|
|
716
716
|
import deepmerge from "deepmerge";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/oclif-common",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.22",
|
|
4
4
|
"description": "Oclif common package for oclif2 projects.",
|
|
5
5
|
"repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
|
|
6
6
|
"type": "module",
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@nestjs/common": "^10.4.
|
|
70
|
-
"@nestjs/core": "^10.4.
|
|
69
|
+
"@nestjs/common": "^10.4.7",
|
|
70
|
+
"@nestjs/core": "^10.4.7",
|
|
71
71
|
"deepmerge": "^4.3.1",
|
|
72
72
|
"object-path-immutable": "^4.1.2",
|
|
73
73
|
"reflect-metadata": "^0.2.1",
|
|
74
|
-
"winston": "^3.
|
|
74
|
+
"winston": "^3.16.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@listr2/manager": "^2.0.13",
|
|
78
|
-
"@oclif/core": "^4.0.
|
|
78
|
+
"@oclif/core": "^4.0.31",
|
|
79
79
|
"@types/fs-extra": "^11.0.4",
|
|
80
80
|
"@types/through": "^0.0.33",
|
|
81
81
|
"@types/update-notifier": "^6.0.8",
|
|
@@ -85,6 +85,6 @@
|
|
|
85
85
|
"fs-extra": "^11.2.0",
|
|
86
86
|
"listr2": "^8.2.5",
|
|
87
87
|
"source-map-support": "^0.5.21",
|
|
88
|
-
"yaml": "^2.
|
|
88
|
+
"yaml": "^2.6.0"
|
|
89
89
|
}
|
|
90
90
|
}
|