@cenk1cenk2/oclif-common 7.0.21 → 7.0.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/_virtual/{_@oxc-project_runtime@0.127.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/decorate.mjs +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.127.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/decorateMetadata.mjs +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.127.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/decorateParam.mjs +1 -1
- package/dist/commands/base.command.d.mts +3 -4
- package/dist/index.d.mts +1 -1
- package/dist/lib/config/config.module.mjs +1 -1
- package/dist/lib/config/config.service.mjs +8 -6
- package/dist/lib/fs/filesystem.interface.d.mts +1 -1
- package/dist/lib/fs/filesystem.module.mjs +1 -1
- package/dist/lib/fs/filesystem.service.mjs +4 -4
- package/dist/lib/locker/locker.module.mjs +1 -1
- package/dist/lib/locker/locker.service.mjs +9 -6
- package/dist/lib/logger/logger.module.mjs +1 -1
- package/dist/lib/logger/logger.service.mjs +4 -4
- package/dist/lib/logger/winston.service.mjs +4 -3
- package/dist/lib/logo/logo.module.mjs +1 -1
- package/dist/lib/logo/logo.service.mjs +5 -4
- package/dist/lib/parser/fts/env-parser.service.mjs +4 -4
- package/dist/lib/parser/fts/json-parser.service.mjs +4 -4
- package/dist/lib/parser/fts/yaml-parser.service.mjs +4 -4
- package/dist/lib/parser/parser.module.mjs +1 -1
- package/dist/lib/parser/parser.service.mjs +8 -6
- package/dist/lib/validator/validator.module.mjs +1 -1
- package/dist/lib/validator/validator.service.mjs +5 -4
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -6,15 +6,14 @@ import { INestApplicationContext } from "@nestjs/common";
|
|
|
6
6
|
import { Manager } from "@listr2/manager";
|
|
7
7
|
import { Command } from "@oclif/core";
|
|
8
8
|
import { ListrContext, ListrTaskWrapper } from "listr2";
|
|
9
|
-
import * as _$_oclif_core_lib_interfaces0 from "@oclif/core/lib/interfaces";
|
|
10
9
|
import { ChildProcess } from "child_process";
|
|
11
10
|
|
|
12
11
|
//#region src/commands/base.command.d.ts
|
|
13
12
|
declare abstract class Command$1<T extends typeof Command = typeof Command, Ctx extends ListrContext = ListrContext> extends Command {
|
|
14
13
|
static baseFlags: {
|
|
15
|
-
"log-level":
|
|
16
|
-
ci:
|
|
17
|
-
json:
|
|
14
|
+
"log-level": import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
15
|
+
ci: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
18
17
|
};
|
|
19
18
|
logger: LoggerService;
|
|
20
19
|
tasks: Manager<Ctx>;
|
package/dist/index.d.mts
CHANGED
|
@@ -48,4 +48,4 @@ import { HelpGroups } from "./constants/help-groups.constants.mjs";
|
|
|
48
48
|
import { notFoundHook } from "./hooks/not-found.hook.mjs";
|
|
49
49
|
import { updateNotifierHook } from "./hooks/update-notifier.hook.mjs";
|
|
50
50
|
import { DynamicModule, Inject } from "@nestjs/common";
|
|
51
|
-
export { Arg, ArgInput, Args, ClassType, CliModule, CliModuleOptions, Command, CommonLockerData, ConfigIterator, ConfigModule, ConfigModuleOptions, ConfigService, DeepPartial, type DynamicModule, EnvironmentVariableParser, FileConstants, FileSystemService, FilesystemModule, Flag, FlagInput, Flags, GenericParser, GlobalConfig, HelpGroups, InferArgs, InferFlags, InferredFlags, Inject, JsonParser, LockData, LockableData, LockerModule, LockerService, LockerServiceOptions, LogFieldStatus, LogLevels, LoggerFormat, LoggerModule, LoggerService, LogoGeneratorFn, LogoModule, LogoService, MergeStrategy, ParserModule, ParserService, PipeProcessToLoggerOptions, RegisterHook, SetCtxAssignOptions, SetCtxDefaultsOptions, ShouldRunAfterHook, ShouldRunBeforeHook, TOKEN_LOGO_GENERATOR, TOKEN_VALIDATOR_SERVICE_OPTIONS, UnlockData, ValidatorModule, ValidatorService, ValidatorServiceOptions, Winston, WinstonService, YamlParser, fs, isDebug, isHookedWithRegister, isHookedWithShouldRunAfter, isHookedWithShouldRunBefore, isSilent, isVerbose, merge, notFoundHook, pipeProcessThroughListr, pipeProcessToLogger, setCtxAssign, setCtxDefaults, setup, uniqueArrayFilter, updateNotifierHook, ux };
|
|
51
|
+
export { type Arg, type ArgInput, Args, type ClassType, CliModule, type CliModuleOptions, Command, type CommonLockerData, type ConfigIterator, ConfigModule, type ConfigModuleOptions, ConfigService, type DeepPartial, type DynamicModule, EnvironmentVariableParser, FileConstants, FileSystemService, FilesystemModule, type Flag, type FlagInput, Flags, GenericParser, type GlobalConfig, HelpGroups, InferArgs, InferFlags, type InferredFlags, Inject, JsonParser, type LockData, type LockableData, LockerModule, LockerService, type LockerServiceOptions, LogFieldStatus, LogLevels, type LoggerFormat, LoggerModule, LoggerService, type LogoGeneratorFn, LogoModule, LogoService, MergeStrategy, ParserModule, ParserService, type PipeProcessToLoggerOptions, RegisterHook, SetCtxAssignOptions, SetCtxDefaultsOptions, ShouldRunAfterHook, ShouldRunBeforeHook, TOKEN_LOGO_GENERATOR, TOKEN_VALIDATOR_SERVICE_OPTIONS, type UnlockData, ValidatorModule, ValidatorService, type ValidatorServiceOptions, type Winston, WinstonService, YamlParser, type fs, isDebug, isHookedWithRegister, isHookedWithShouldRunAfter, isHookedWithShouldRunBefore, isSilent, isVerbose, merge, notFoundHook, pipeProcessThroughListr, pipeProcessToLogger, setCtxAssign, setCtxDefaults, setup, uniqueArrayFilter, updateNotifierHook, ux };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { ConfigService } from "./config.service.mjs";
|
|
3
3
|
import { ParserModule } from "../parser/parser.module.mjs";
|
|
4
4
|
import { Global, Module } from "@nestjs/common";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FileConstants } from "../../constants/file.constants.mjs";
|
|
2
2
|
import { TOKEN_CONFIG_MODULE_OPTIONS } from "./config.constants.mjs";
|
|
3
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
4
|
+
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateParam.mjs";
|
|
5
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
6
6
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
7
7
|
import "../logger/index.mjs";
|
|
8
8
|
import { ParserService } from "../parser/parser.service.mjs";
|
|
@@ -15,8 +15,10 @@ import op from "object-path-immutable";
|
|
|
15
15
|
import { join } from "path";
|
|
16
16
|
|
|
17
17
|
//#region src/lib/config/config.service.ts
|
|
18
|
-
var _ref, _ref2;
|
|
19
18
|
let ConfigService = class ConfigService {
|
|
19
|
+
parser;
|
|
20
|
+
logger;
|
|
21
|
+
options;
|
|
20
22
|
defaults;
|
|
21
23
|
root;
|
|
22
24
|
config;
|
|
@@ -143,8 +145,8 @@ ConfigService = __decorate([
|
|
|
143
145
|
Injectable(),
|
|
144
146
|
__decorateParam(2, Inject(TOKEN_CONFIG_MODULE_OPTIONS)),
|
|
145
147
|
__decorateMetadata("design:paramtypes", [
|
|
146
|
-
typeof
|
|
147
|
-
typeof
|
|
148
|
+
typeof ParserService === "undefined" ? Object : ParserService,
|
|
149
|
+
typeof LoggerService === "undefined" ? Object : LoggerService,
|
|
148
150
|
Object
|
|
149
151
|
])
|
|
150
152
|
], ConfigService);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import fs$1 from "fs-extra";
|
|
2
|
-
export {
|
|
2
|
+
export type { fs$1 as fs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { FileSystemService } from "./filesystem.service.mjs";
|
|
3
3
|
import { Global, Module } from "@nestjs/common";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
4
4
|
import "../logger/index.mjs";
|
|
5
5
|
import { Injectable } from "@nestjs/common";
|
|
@@ -7,8 +7,8 @@ import { dirname, extname } from "path";
|
|
|
7
7
|
import fs from "fs-extra";
|
|
8
8
|
|
|
9
9
|
//#region src/lib/fs/filesystem.service.ts
|
|
10
|
-
var _ref;
|
|
11
10
|
let FileSystemService = class FileSystemService {
|
|
11
|
+
logger;
|
|
12
12
|
extra = fs;
|
|
13
13
|
constructor(logger) {
|
|
14
14
|
this.logger = logger;
|
|
@@ -133,7 +133,7 @@ let FileSystemService = class FileSystemService {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
FileSystemService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
136
|
+
FileSystemService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof LoggerService === "undefined" ? Object : LoggerService])], FileSystemService);
|
|
137
137
|
|
|
138
138
|
//#endregion
|
|
139
139
|
export { FileSystemService };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
3
3
|
import "../logger/index.mjs";
|
|
4
4
|
import { FileSystemService } from "../fs/filesystem.service.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
4
4
|
import "../logger/index.mjs";
|
|
5
5
|
import { FileSystemService } from "../fs/filesystem.service.mjs";
|
|
@@ -12,8 +12,11 @@ import { Injectable } from "@nestjs/common";
|
|
|
12
12
|
import op from "object-path-immutable";
|
|
13
13
|
|
|
14
14
|
//#region src/lib/locker/locker.service.ts
|
|
15
|
-
var _ref, _ref2, _ref3;
|
|
16
15
|
let LockerService = class LockerService {
|
|
16
|
+
logger;
|
|
17
|
+
fs;
|
|
18
|
+
parser;
|
|
19
|
+
options;
|
|
17
20
|
op = op;
|
|
18
21
|
toLock = [];
|
|
19
22
|
toUnlock = [];
|
|
@@ -160,9 +163,9 @@ let LockerService = class LockerService {
|
|
|
160
163
|
}
|
|
161
164
|
};
|
|
162
165
|
LockerService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [
|
|
163
|
-
typeof
|
|
164
|
-
typeof
|
|
165
|
-
typeof
|
|
166
|
+
typeof LoggerService === "undefined" ? Object : LoggerService,
|
|
167
|
+
typeof FileSystemService === "undefined" ? Object : FileSystemService,
|
|
168
|
+
typeof ParserService === "undefined" ? Object : ParserService,
|
|
166
169
|
Object
|
|
167
170
|
])], LockerService);
|
|
168
171
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { WinstonService } from "./winston.service.mjs";
|
|
3
3
|
import { LoggerService } from "./logger.service.mjs";
|
|
4
4
|
import { ConfigModule } from "../config/config.module.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LogFieldStatus, LogLevels } from "./logger.constants.mjs";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
4
4
|
import { WinstonService } from "./winston.service.mjs";
|
|
5
5
|
import { Injectable, Scope } from "@nestjs/common";
|
|
6
6
|
import { splat } from "listr2";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/logger/logger.service.ts
|
|
9
|
-
var _ref;
|
|
10
9
|
let LoggerService = class LoggerService {
|
|
10
|
+
winston;
|
|
11
11
|
context;
|
|
12
12
|
constructor(winston) {
|
|
13
13
|
this.winston = winston;
|
|
@@ -65,7 +65,7 @@ let LoggerService = class LoggerService {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
|
-
LoggerService = __decorate([Injectable({ scope: Scope.TRANSIENT }), __decorateMetadata("design:paramtypes", [typeof
|
|
68
|
+
LoggerService = __decorate([Injectable({ scope: Scope.TRANSIENT }), __decorateMetadata("design:paramtypes", [typeof WinstonService === "undefined" ? Object : WinstonService])], LoggerService);
|
|
69
69
|
|
|
70
70
|
//#endregion
|
|
71
71
|
export { LoggerService };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TOKEN_CONFIG_MODULE_OPTIONS } from "../config/config.constants.mjs";
|
|
2
2
|
import { LogLevels } from "./logger.constants.mjs";
|
|
3
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
4
|
+
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateParam.mjs";
|
|
5
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
6
6
|
import { Inject, Injectable } from "@nestjs/common";
|
|
7
7
|
import { color, figures } from "listr2";
|
|
8
8
|
import { EOL } from "os";
|
|
@@ -10,6 +10,7 @@ import winston, { format, transports } from "winston";
|
|
|
10
10
|
|
|
11
11
|
//#region src/lib/logger/winston.service.ts
|
|
12
12
|
let WinstonService = class WinstonService {
|
|
13
|
+
options;
|
|
13
14
|
instance;
|
|
14
15
|
constructor(options) {
|
|
15
16
|
this.options = options;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { LogoService } from "./logo.service.mjs";
|
|
3
3
|
import { Module } from "@nestjs/common";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { ConfigService } from "../config/config.service.mjs";
|
|
4
4
|
import "../config/index.mjs";
|
|
5
5
|
import { TOKEN_LOGO_GENERATOR } from "./logo.constants.mjs";
|
|
@@ -8,8 +8,9 @@ import { EOL } from "os";
|
|
|
8
8
|
import { ModuleRef } from "@nestjs/core";
|
|
9
9
|
|
|
10
10
|
//#region src/lib/logo/logo.service.ts
|
|
11
|
-
var _ref, _ref2;
|
|
12
11
|
let LogoService = class LogoService {
|
|
12
|
+
cs;
|
|
13
|
+
moduleRef;
|
|
13
14
|
generator;
|
|
14
15
|
constructor(cs, moduleRef) {
|
|
15
16
|
this.cs = cs;
|
|
@@ -37,7 +38,7 @@ let LogoService = class LogoService {
|
|
|
37
38
|
process.stdout.write(data.join(" ") + EOL);
|
|
38
39
|
}
|
|
39
40
|
};
|
|
40
|
-
LogoService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
41
|
+
LogoService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof ConfigService === "undefined" ? Object : ConfigService, typeof ModuleRef === "undefined" ? Object : ModuleRef])], LogoService);
|
|
41
42
|
|
|
42
43
|
//#endregion
|
|
43
44
|
export { LogoService };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../../logger/logger.service.mjs";
|
|
4
4
|
import "../../logger/index.mjs";
|
|
5
5
|
import { Injectable } from "@nestjs/common";
|
|
6
6
|
import { EOL } from "os";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/parser/fts/env-parser.service.ts
|
|
9
|
-
var _ref;
|
|
10
9
|
let EnvironmentVariableParser = class EnvironmentVariableParser {
|
|
10
|
+
logger;
|
|
11
11
|
extensions = ["env"];
|
|
12
12
|
LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
|
|
13
13
|
constructor(logger) {
|
|
@@ -36,7 +36,7 @@ let EnvironmentVariableParser = class EnvironmentVariableParser {
|
|
|
36
36
|
return Object.entries(data).map(([k, v]) => `${k}=${v}`).join(EOL) + EOL;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
EnvironmentVariableParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
39
|
+
EnvironmentVariableParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof LoggerService === "undefined" ? Object : LoggerService])], EnvironmentVariableParser);
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
export { EnvironmentVariableParser };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../../logger/logger.service.mjs";
|
|
4
4
|
import "../../logger/index.mjs";
|
|
5
5
|
import { Injectable } from "@nestjs/common";
|
|
6
6
|
|
|
7
7
|
//#region src/lib/parser/fts/json-parser.service.ts
|
|
8
|
-
var _ref;
|
|
9
8
|
let JsonParser = class JsonParser {
|
|
9
|
+
logger;
|
|
10
10
|
extensions = ["json"];
|
|
11
11
|
constructor(logger) {
|
|
12
12
|
this.logger = logger;
|
|
@@ -26,7 +26,7 @@ let JsonParser = class JsonParser {
|
|
|
26
26
|
return JSON.stringify(data, null, 2);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
JsonParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
29
|
+
JsonParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof LoggerService === "undefined" ? Object : LoggerService])], JsonParser);
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
32
|
export { JsonParser };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../../logger/logger.service.mjs";
|
|
4
4
|
import "../../logger/index.mjs";
|
|
5
5
|
import { Injectable } from "@nestjs/common";
|
|
6
6
|
import { parse, stringify } from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/parser/fts/yaml-parser.service.ts
|
|
9
|
-
var _ref;
|
|
10
9
|
let YamlParser = class YamlParser {
|
|
10
|
+
logger;
|
|
11
11
|
extensions = ["yaml", "yml"];
|
|
12
12
|
constructor(logger) {
|
|
13
13
|
this.logger = logger;
|
|
@@ -27,7 +27,7 @@ let YamlParser = class YamlParser {
|
|
|
27
27
|
return stringify(data, { prettyErrors: true });
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
YamlParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
30
|
+
YamlParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof LoggerService === "undefined" ? Object : LoggerService])], YamlParser);
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export { YamlParser };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { FilesystemModule } from "../fs/filesystem.module.mjs";
|
|
3
3
|
import "../fs/index.mjs";
|
|
4
4
|
import { ParserService } from "./parser.service.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
4
4
|
import "../logger/index.mjs";
|
|
5
5
|
import { FileSystemService } from "../fs/filesystem.service.mjs";
|
|
@@ -8,8 +8,10 @@ import { Injectable } from "@nestjs/common";
|
|
|
8
8
|
import { ModuleRef } from "@nestjs/core";
|
|
9
9
|
|
|
10
10
|
//#region src/lib/parser/parser.service.ts
|
|
11
|
-
var _ref, _ref2, _ref3;
|
|
12
11
|
let ParserService = class ParserService {
|
|
12
|
+
moduleRef;
|
|
13
|
+
fs;
|
|
14
|
+
logger;
|
|
13
15
|
instances = [];
|
|
14
16
|
constructor(moduleRef, fs, logger) {
|
|
15
17
|
this.moduleRef = moduleRef;
|
|
@@ -67,9 +69,9 @@ let ParserService = class ParserService {
|
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
71
|
ParserService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [
|
|
70
|
-
typeof
|
|
71
|
-
typeof
|
|
72
|
-
typeof
|
|
72
|
+
typeof ModuleRef === "undefined" ? Object : ModuleRef,
|
|
73
|
+
typeof FileSystemService === "undefined" ? Object : FileSystemService,
|
|
74
|
+
typeof LoggerService === "undefined" ? Object : LoggerService
|
|
73
75
|
])], ParserService);
|
|
74
76
|
|
|
75
77
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
2
2
|
import { ValidatorService } from "./validator.service.mjs";
|
|
3
3
|
import { Global, Module } from "@nestjs/common";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.mjs";
|
|
3
3
|
import { LoggerService } from "../logger/logger.service.mjs";
|
|
4
4
|
import "../logger/index.mjs";
|
|
5
5
|
import { TOKEN_VALIDATOR_SERVICE_OPTIONS } from "./validator.constants.mjs";
|
|
@@ -9,8 +9,9 @@ import { plainToClass } from "class-transformer";
|
|
|
9
9
|
import { validate, validateSync } from "class-validator";
|
|
10
10
|
|
|
11
11
|
//#region src/lib/validator/validator.service.ts
|
|
12
|
-
var _ref, _ref2;
|
|
13
12
|
let ValidatorService = class ValidatorService {
|
|
13
|
+
logger;
|
|
14
|
+
moduleRef;
|
|
14
15
|
options;
|
|
15
16
|
constructor(logger, moduleRef) {
|
|
16
17
|
this.logger = logger;
|
|
@@ -71,7 +72,7 @@ let ValidatorService = class ValidatorService {
|
|
|
71
72
|
if (err.children) err.children.forEach((children) => this.logValidationError(children));
|
|
72
73
|
}
|
|
73
74
|
};
|
|
74
|
-
ValidatorService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof
|
|
75
|
+
ValidatorService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof LoggerService === "undefined" ? Object : LoggerService, typeof ModuleRef === "undefined" ? Object : ModuleRef])], ValidatorService);
|
|
75
76
|
|
|
76
77
|
//#endregion
|
|
77
78
|
export { ValidatorService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/oclif-common",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.22",
|
|
4
4
|
"description": "Oclif common package for oclif2 projects.",
|
|
5
5
|
"repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
|
|
6
6
|
"type": "module",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@nestjs/common": "^11.1.
|
|
49
|
-
"@nestjs/core": "^11.1.
|
|
50
|
-
"@oxc-project/runtime": "^0.
|
|
48
|
+
"@nestjs/common": "^11.1.23",
|
|
49
|
+
"@nestjs/core": "^11.1.23",
|
|
50
|
+
"@oxc-project/runtime": "^0.132.0",
|
|
51
51
|
"deepmerge": "^4.3.1",
|
|
52
52
|
"object-path-immutable": "^4.1.2",
|
|
53
53
|
"reflect-metadata": "^0.2.1",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@listr2/manager": "^4.2.1",
|
|
58
|
-
"@oclif/core": "^4.
|
|
58
|
+
"@oclif/core": "^4.11.3",
|
|
59
59
|
"@types/fs-extra": "^11.0.4",
|
|
60
60
|
"@types/through": "^0.0.33",
|
|
61
61
|
"@types/update-notifier": "^6.0.8",
|
|
62
62
|
"class-transformer": "^0.5.1",
|
|
63
63
|
"class-validator": "^0.15.1",
|
|
64
|
-
"fs-extra": "^11.3.
|
|
64
|
+
"fs-extra": "^11.3.5",
|
|
65
65
|
"listr2": "^10.2.1",
|
|
66
66
|
"source-map-support": "^0.5.21",
|
|
67
|
-
"yaml": "^2.
|
|
67
|
+
"yaml": "^2.9.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@listr2/manager": ">= 1",
|