@cenk1cenk2/oclif-common 6.4.13 → 6.4.14
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.89.0/helpers/decorate.js +10 -0
- package/dist/_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js +7 -0
- package/dist/_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateParam.js +9 -0
- package/dist/lib/config/config.module.js +2 -2
- package/dist/lib/config/config.service.js +8 -7
- package/dist/lib/fs/filesystem.module.js +2 -2
- package/dist/lib/fs/filesystem.service.js +3 -3
- package/dist/lib/locker/locker.module.js +2 -2
- package/dist/lib/locker/locker.service.js +3 -3
- package/dist/lib/logger/logger.module.js +2 -2
- package/dist/lib/logger/logger.service.js +3 -3
- package/dist/lib/logger/winston.service.js +6 -6
- package/dist/lib/logo/logo.module.js +2 -2
- package/dist/lib/logo/logo.service.js +3 -3
- package/dist/lib/parser/fts/env-parser.service.js +3 -3
- package/dist/lib/parser/fts/json-parser.service.js +3 -3
- package/dist/lib/parser/fts/yaml-parser.service.js +3 -3
- package/dist/lib/parser/parser.module.js +2 -2
- package/dist/lib/parser/parser.service.js +3 -3
- package/dist/lib/validator/validator.module.js +2 -2
- package/dist/lib/validator/validator.service.js +3 -3
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region \0@oxc-project+runtime@0.89.0/helpers/decorate.js
|
|
2
|
+
function __decorate(decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { __decorate };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { ConfigService } from "./config.service.js";
|
|
2
3
|
import { ParserModule } from "../parser/parser.module.js";
|
|
3
4
|
import { Global, Module } from "@nestjs/common";
|
|
4
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
5
5
|
|
|
6
6
|
//#region src/lib/config/config.module.ts
|
|
7
7
|
let ConfigModule = class ConfigModule$1 {};
|
|
8
|
-
ConfigModule =
|
|
8
|
+
ConfigModule = __decorate([Global(), Module({
|
|
9
9
|
imports: [ParserModule],
|
|
10
10
|
providers: [ConfigService],
|
|
11
11
|
exports: [ConfigService]
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { FileConstants } from "../../constants/file.constants.js";
|
|
2
2
|
import { ConfigEnvKeys, TOKEN_CONFIG_MODULE_OPTIONS } from "./config.constants.js";
|
|
3
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
4
|
+
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateParam.js";
|
|
5
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
3
6
|
import { LoggerService } from "../logger/logger.service.js";
|
|
4
7
|
import "../logger/index.js";
|
|
5
8
|
import { ParserService } from "../parser/parser.service.js";
|
|
@@ -10,9 +13,6 @@ import "../../utils/index.js";
|
|
|
10
13
|
import { Inject, Injectable } from "@nestjs/common";
|
|
11
14
|
import op from "object-path-immutable";
|
|
12
15
|
import { join } from "path";
|
|
13
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
14
|
-
import _decorateParam from "@oxc-project/runtime/helpers/decorateParam";
|
|
15
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
16
16
|
|
|
17
17
|
//#region src/lib/config/config.service.ts
|
|
18
18
|
var _ref, _ref2;
|
|
@@ -107,7 +107,8 @@ let ConfigService = class ConfigService$1 {
|
|
|
107
107
|
return op.set(config$1, variable.key, data);
|
|
108
108
|
};
|
|
109
109
|
parsed.forEach((variable) => {
|
|
110
|
-
let data
|
|
110
|
+
let data;
|
|
111
|
+
data = process.env[variable.env];
|
|
111
112
|
if (data) config = cb(config, variable, data);
|
|
112
113
|
if (variable.extensions && variable.extensions.length > 0) {
|
|
113
114
|
const timeout = 6e4;
|
|
@@ -138,10 +139,10 @@ let ConfigService = class ConfigService$1 {
|
|
|
138
139
|
return this.parser.write(path, data);
|
|
139
140
|
}
|
|
140
141
|
};
|
|
141
|
-
ConfigService =
|
|
142
|
+
ConfigService = __decorate([
|
|
142
143
|
Injectable(),
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
__decorateParam(2, Inject(TOKEN_CONFIG_MODULE_OPTIONS)),
|
|
145
|
+
__decorateMetadata("design:paramtypes", [
|
|
145
146
|
typeof (_ref = typeof ParserService !== "undefined" && ParserService) === "function" ? _ref : Object,
|
|
146
147
|
typeof (_ref2 = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref2 : Object,
|
|
147
148
|
Object
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { FileSystemService } from "./filesystem.service.js";
|
|
2
3
|
import { Global, Module } from "@nestjs/common";
|
|
3
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
4
4
|
|
|
5
5
|
//#region src/lib/fs/filesystem.module.ts
|
|
6
6
|
let FilesystemModule = class FilesystemModule$1 {};
|
|
7
|
-
FilesystemModule =
|
|
7
|
+
FilesystemModule = __decorate([Global(), Module({
|
|
8
8
|
providers: [FileSystemService],
|
|
9
9
|
exports: [FileSystemService]
|
|
10
10
|
})], FilesystemModule);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../logger/logger.service.js";
|
|
2
4
|
import "../logger/index.js";
|
|
3
5
|
import { Injectable } from "@nestjs/common";
|
|
4
6
|
import { dirname, extname } from "path";
|
|
5
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
6
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
7
7
|
import fs from "fs-extra";
|
|
8
8
|
|
|
9
9
|
//#region src/lib/fs/filesystem.service.ts
|
|
@@ -133,7 +133,7 @@ let FileSystemService = class FileSystemService$1 {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
FileSystemService =
|
|
136
|
+
FileSystemService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object])], FileSystemService);
|
|
137
137
|
|
|
138
138
|
//#endregion
|
|
139
139
|
export { FileSystemService };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { LoggerService } from "../logger/logger.service.js";
|
|
2
3
|
import "../logger/index.js";
|
|
3
4
|
import { FileSystemService } from "../fs/filesystem.service.js";
|
|
@@ -6,7 +7,6 @@ import { ParserService } from "../parser/parser.service.js";
|
|
|
6
7
|
import "../parser/index.js";
|
|
7
8
|
import { LockerService } from "./locker.service.js";
|
|
8
9
|
import { Module } from "@nestjs/common";
|
|
9
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
10
10
|
|
|
11
11
|
//#region src/lib/locker/locker.module.ts
|
|
12
12
|
var _LockerModule;
|
|
@@ -27,7 +27,7 @@ let LockerModule = _LockerModule = class LockerModule$1 {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
LockerModule = _LockerModule =
|
|
30
|
+
LockerModule = _LockerModule = __decorate([Module({})], LockerModule);
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export { LockerModule };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../logger/logger.service.js";
|
|
2
4
|
import "../logger/index.js";
|
|
3
5
|
import { FileSystemService } from "../fs/filesystem.service.js";
|
|
@@ -8,8 +10,6 @@ import "../../utils/index.js";
|
|
|
8
10
|
import "../parser/index.js";
|
|
9
11
|
import { Injectable } from "@nestjs/common";
|
|
10
12
|
import op from "object-path-immutable";
|
|
11
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
12
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
13
13
|
|
|
14
14
|
//#region src/lib/locker/locker.service.ts
|
|
15
15
|
var _ref, _ref2, _ref3;
|
|
@@ -159,7 +159,7 @@ let LockerService = class LockerService$1 {
|
|
|
159
159
|
return [];
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
|
-
LockerService =
|
|
162
|
+
LockerService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [
|
|
163
163
|
typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object,
|
|
164
164
|
typeof (_ref2 = typeof FileSystemService !== "undefined" && FileSystemService) === "function" ? _ref2 : Object,
|
|
165
165
|
typeof (_ref3 = typeof ParserService !== "undefined" && ParserService) === "function" ? _ref3 : Object,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { WinstonService } from "./winston.service.js";
|
|
2
3
|
import { LoggerService } from "./logger.service.js";
|
|
3
4
|
import { ConfigModule } from "../config/config.module.js";
|
|
4
5
|
import "../config/index.js";
|
|
5
6
|
import { Global, Module } from "@nestjs/common";
|
|
6
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/logger/logger.module.ts
|
|
9
9
|
let LoggerModule = class LoggerModule$1 {};
|
|
10
|
-
LoggerModule =
|
|
10
|
+
LoggerModule = __decorate([Global(), Module({
|
|
11
11
|
imports: [ConfigModule],
|
|
12
12
|
providers: [WinstonService, LoggerService],
|
|
13
13
|
exports: [LoggerService]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LogFieldStatus, LogLevels } from "./logger.constants.js";
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
2
4
|
import { WinstonService } from "./winston.service.js";
|
|
3
5
|
import { Injectable, Scope } from "@nestjs/common";
|
|
4
6
|
import { splat } from "listr2";
|
|
5
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
6
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/logger/logger.service.ts
|
|
9
9
|
var _ref;
|
|
@@ -65,7 +65,7 @@ let LoggerService = class LoggerService$1 {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
|
-
LoggerService =
|
|
68
|
+
LoggerService = __decorate([Injectable({ scope: Scope.TRANSIENT }), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof WinstonService !== "undefined" && WinstonService) === "function" ? _ref : Object])], LoggerService);
|
|
69
69
|
|
|
70
70
|
//#endregion
|
|
71
71
|
export { LoggerService };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TOKEN_CONFIG_MODULE_OPTIONS } from "../config/config.constants.js";
|
|
2
2
|
import { LogLevels } from "./logger.constants.js";
|
|
3
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
4
|
+
import { __decorateParam } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateParam.js";
|
|
5
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
3
6
|
import { Inject, Injectable } from "@nestjs/common";
|
|
4
7
|
import { color, figures } from "listr2";
|
|
5
8
|
import { EOL } from "os";
|
|
6
9
|
import winston, { format, transports } from "winston";
|
|
7
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
8
|
-
import _decorateParam from "@oxc-project/runtime/helpers/decorateParam";
|
|
9
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
10
10
|
|
|
11
11
|
//#region src/lib/logger/winston.service.ts
|
|
12
12
|
let WinstonService = class WinstonService$1 {
|
|
@@ -82,10 +82,10 @@ let WinstonService = class WinstonService$1 {
|
|
|
82
82
|
return `${coloring(icon)}${context ? " " + coloring(`[${context}]`) : ""}${status ? " " + coloring(`[${status}]`) : ""} ${msgColoring(message)}`;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
-
WinstonService =
|
|
85
|
+
WinstonService = __decorate([
|
|
86
86
|
Injectable(),
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
__decorateParam(0, Inject(TOKEN_CONFIG_MODULE_OPTIONS)),
|
|
88
|
+
__decorateMetadata("design:paramtypes", [Object])
|
|
89
89
|
], WinstonService);
|
|
90
90
|
|
|
91
91
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { LogoService } from "./logo.service.js";
|
|
2
3
|
import { Module } from "@nestjs/common";
|
|
3
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
4
4
|
|
|
5
5
|
//#region src/lib/logo/logo.module.ts
|
|
6
6
|
let LogoModule = class LogoModule$1 {};
|
|
7
|
-
LogoModule =
|
|
7
|
+
LogoModule = __decorate([Module({
|
|
8
8
|
providers: [LogoService],
|
|
9
9
|
exports: [LogoService]
|
|
10
10
|
})], LogoModule);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { ConfigService } from "../config/config.service.js";
|
|
2
4
|
import "../config/index.js";
|
|
3
5
|
import { TOKEN_LOGO_GENERATOR } from "./logo.constants.js";
|
|
4
6
|
import { Injectable } from "@nestjs/common";
|
|
5
7
|
import { EOL } from "os";
|
|
6
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
7
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
8
8
|
import { ModuleRef } from "@nestjs/core";
|
|
9
9
|
|
|
10
10
|
//#region src/lib/logo/logo.service.ts
|
|
@@ -37,7 +37,7 @@ let LogoService = class LogoService$1 {
|
|
|
37
37
|
process.stdout.write(data.join(" ") + EOL);
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
LogoService =
|
|
40
|
+
LogoService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof ConfigService !== "undefined" && ConfigService) === "function" ? _ref : Object, typeof (_ref2 = typeof ModuleRef !== "undefined" && ModuleRef) === "function" ? _ref2 : Object])], LogoService);
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { LogoService };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../../logger/logger.service.js";
|
|
2
4
|
import "../../logger/index.js";
|
|
3
5
|
import { Injectable } from "@nestjs/common";
|
|
4
6
|
import { EOL } from "os";
|
|
5
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
6
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/parser/fts/env-parser.service.ts
|
|
9
9
|
var _ref;
|
|
@@ -36,7 +36,7 @@ let EnvironmentVariableParser = class EnvironmentVariableParser$1 {
|
|
|
36
36
|
return Object.entries(data).map(([k, v]) => `${k}=${v}`).join(EOL) + EOL;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
EnvironmentVariableParser =
|
|
39
|
+
EnvironmentVariableParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object])], EnvironmentVariableParser);
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
export { EnvironmentVariableParser };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../../logger/logger.service.js";
|
|
2
4
|
import "../../logger/index.js";
|
|
3
5
|
import { Injectable } from "@nestjs/common";
|
|
4
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
5
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
6
6
|
|
|
7
7
|
//#region src/lib/parser/fts/json-parser.service.ts
|
|
8
8
|
var _ref;
|
|
@@ -26,7 +26,7 @@ let JsonParser = class JsonParser$1 {
|
|
|
26
26
|
return JSON.stringify(data, null, 2);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
JsonParser =
|
|
29
|
+
JsonParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object])], JsonParser);
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
32
|
export { JsonParser };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../../logger/logger.service.js";
|
|
2
4
|
import "../../logger/index.js";
|
|
3
5
|
import { Injectable } from "@nestjs/common";
|
|
4
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
5
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
6
6
|
import { parse, stringify } from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/parser/fts/yaml-parser.service.ts
|
|
@@ -27,7 +27,7 @@ let YamlParser = class YamlParser$1 {
|
|
|
27
27
|
return stringify(data, { prettyErrors: true });
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
YamlParser =
|
|
30
|
+
YamlParser = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object])], YamlParser);
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export { YamlParser };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { FilesystemModule } from "../fs/filesystem.module.js";
|
|
2
3
|
import "../fs/index.js";
|
|
3
4
|
import { ParserService } from "./parser.service.js";
|
|
4
5
|
import { Global, Module } from "@nestjs/common";
|
|
5
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
6
6
|
|
|
7
7
|
//#region src/lib/parser/parser.module.ts
|
|
8
8
|
let ParserModule = class ParserModule$1 {};
|
|
9
|
-
ParserModule =
|
|
9
|
+
ParserModule = __decorate([Global(), Module({
|
|
10
10
|
imports: [FilesystemModule],
|
|
11
11
|
providers: [ParserService],
|
|
12
12
|
exports: [ParserService]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../logger/logger.service.js";
|
|
2
4
|
import "../logger/index.js";
|
|
3
5
|
import { FileSystemService } from "../fs/filesystem.service.js";
|
|
4
6
|
import "../fs/index.js";
|
|
5
7
|
import { Injectable } from "@nestjs/common";
|
|
6
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
7
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
8
8
|
import { ModuleRef } from "@nestjs/core";
|
|
9
9
|
|
|
10
10
|
//#region src/lib/parser/parser.service.ts
|
|
@@ -66,7 +66,7 @@ let ParserService = class ParserService$1 {
|
|
|
66
66
|
return parser.stringify(data);
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
ParserService =
|
|
69
|
+
ParserService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [
|
|
70
70
|
typeof (_ref = typeof ModuleRef !== "undefined" && ModuleRef) === "function" ? _ref : Object,
|
|
71
71
|
typeof (_ref2 = typeof FileSystemService !== "undefined" && FileSystemService) === "function" ? _ref2 : Object,
|
|
72
72
|
typeof (_ref3 = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref3 : Object
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
2
|
import { ValidatorService } from "./validator.service.js";
|
|
2
3
|
import { Global, Module } from "@nestjs/common";
|
|
3
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
4
4
|
|
|
5
5
|
//#region src/lib/validator/validator.module.ts
|
|
6
6
|
let ValidatorModule = class ValidatorModule$1 {};
|
|
7
|
-
ValidatorModule =
|
|
7
|
+
ValidatorModule = __decorate([Global(), Module({
|
|
8
8
|
providers: [ValidatorService],
|
|
9
9
|
exports: [ValidatorService]
|
|
10
10
|
})], ValidatorModule);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.89.0/helpers/decorate.js";
|
|
1
3
|
import { LoggerService } from "../logger/logger.service.js";
|
|
2
4
|
import "../logger/index.js";
|
|
3
5
|
import { TOKEN_VALIDATOR_SERVICE_OPTIONS } from "./validator.constants.js";
|
|
4
6
|
import { Injectable } from "@nestjs/common";
|
|
5
|
-
import _decorateMetadata from "@oxc-project/runtime/helpers/decorateMetadata";
|
|
6
|
-
import _decorate from "@oxc-project/runtime/helpers/decorate";
|
|
7
7
|
import { ModuleRef } from "@nestjs/core";
|
|
8
8
|
import { plainToClass } from "class-transformer";
|
|
9
9
|
import { validate, validateSync } from "class-validator";
|
|
@@ -71,7 +71,7 @@ let ValidatorService = class ValidatorService$1 {
|
|
|
71
71
|
if (err.children) err.children.forEach((children) => this.logValidationError(children));
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
|
-
ValidatorService =
|
|
74
|
+
ValidatorService = __decorate([Injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof LoggerService !== "undefined" && LoggerService) === "function" ? _ref : Object, typeof (_ref2 = typeof ModuleRef !== "undefined" && ModuleRef) === "function" ? _ref2 : Object])], ValidatorService);
|
|
75
75
|
|
|
76
76
|
//#endregion
|
|
77
77
|
export { ValidatorService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/oclif-common",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.14",
|
|
4
4
|
"description": "Oclif common package for oclif2 projects.",
|
|
5
5
|
"repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@nestjs/common": "^11.1.6",
|
|
51
51
|
"@nestjs/core": "^11.1.6",
|
|
52
|
-
"@oxc-project/runtime": "^0.
|
|
52
|
+
"@oxc-project/runtime": "^0.89.0",
|
|
53
53
|
"deepmerge": "^4.3.1",
|
|
54
54
|
"object-path-immutable": "^4.1.2",
|
|
55
55
|
"reflect-metadata": "^0.2.1",
|