@nestia/sdk 3.8.0-dev.20240722 → 3.8.0-dev.20240725
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.
|
@@ -48,7 +48,7 @@ var NestiaConfigLoader;
|
|
|
48
48
|
const configFileName = typescript_1.default.findConfigFile(process.cwd(), typescript_1.default.sys.fileExists, project);
|
|
49
49
|
if (!configFileName)
|
|
50
50
|
throw new Error(`unable to find "${project}" file.`);
|
|
51
|
-
const { tsconfig } = yield (0, tsconfck_1.
|
|
51
|
+
const { tsconfig } = yield (0, tsconfck_1.parse)(configFileName);
|
|
52
52
|
const configFileText = JSON.stringify(tsconfig);
|
|
53
53
|
const { config } = typescript_1.default.parseConfigFileTextToJson(configFileName, configFileText);
|
|
54
54
|
return typescript_1.default.parseJsonConfigFileContent(config, typescript_1.default.sys, path_1.default.dirname(configFileName));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestiaConfigLoader.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfigLoader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,qCAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"NestiaConfigLoader.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfigLoader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,qCAAmC;AACnC,uCAAiC;AACjC,4DAA4B;AAC5B,kDAA0B;AAI1B,IAAiB,kBAAkB,CAsDlC;AAtDD,WAAiB,kBAAkB;IACpB,kCAAe,GAAG,CAC7B,OAAe,EACgB,EAAE;QACjC,MAAM,cAAc,GAAG,oBAAE,CAAC,cAAc,CACtC,OAAO,CAAC,GAAG,EAAE,EACb,oBAAE,CAAC,GAAG,CAAC,UAAU,EACjB,OAAO,CACR,CAAC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;;;;;;;;;;;;;;;;;;;;;uCAAO,eAAK,CAAC,MAAM;sCAAZ,eAAK,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAC,MAAM,EAAE;QAC9B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb;;;eAAmC,GAAG;gBACpC,GAAG,CAAC,OAAO,GAAG,YAAY,IAAI,SAAS,CAAC;YAC1C,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC,CAAA,CAAC;AACJ,CAAC,EAtDgB,kBAAkB,kCAAlB,kBAAkB,QAsDlC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/sdk",
|
|
3
|
-
"version": "3.8.0-dev.
|
|
3
|
+
"version": "3.8.0-dev.20240725",
|
|
4
4
|
"description": "Nestia SDK and Swagger generator",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -32,24 +32,24 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://nestia.io",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nestia/core": "^3.8.0-dev.
|
|
36
|
-
"@nestia/fetcher": "^3.8.0-dev.
|
|
35
|
+
"@nestia/core": "^3.8.0-dev.20240725",
|
|
36
|
+
"@nestia/fetcher": "^3.8.0-dev.20240725",
|
|
37
37
|
"@samchon/openapi": "^0.4.2",
|
|
38
|
-
"@wrtnio/openai-function-schema": "^0.2.
|
|
38
|
+
"@wrtnio/openai-function-schema": "^0.2.3",
|
|
39
39
|
"cli": "^1.0.1",
|
|
40
40
|
"get-function-location": "^2.0.0",
|
|
41
41
|
"glob": "^7.2.0",
|
|
42
42
|
"path-to-regexp": "^6.2.1",
|
|
43
43
|
"prettier": "^3.2.5",
|
|
44
44
|
"ts-node": ">=10.6.0",
|
|
45
|
-
"tsconfck": "^2.
|
|
45
|
+
"tsconfck": "^2.1.2",
|
|
46
46
|
"tsconfig-paths": "^4.1.1",
|
|
47
47
|
"tstl": "^3.0.0",
|
|
48
|
-
"typia": "
|
|
48
|
+
"typia": "^6.5.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@nestia/core": ">=3.8.0-dev.
|
|
52
|
-
"@nestia/fetcher": ">=3.8.0-dev.
|
|
51
|
+
"@nestia/core": ">=3.8.0-dev.20240725",
|
|
52
|
+
"@nestia/fetcher": ">=3.8.0-dev.20240725",
|
|
53
53
|
"@nestjs/common": ">=7.0.1",
|
|
54
54
|
"@nestjs/core": ">=7.0.1",
|
|
55
55
|
"reflect-metadata": ">=0.1.12",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import path from "path";
|
|
3
3
|
import { register } from "ts-node";
|
|
4
|
-
import {
|
|
4
|
+
import { parse } from "tsconfck";
|
|
5
5
|
import ts from "typescript";
|
|
6
6
|
import typia from "typia";
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ export namespace NestiaConfigLoader {
|
|
|
17
17
|
project,
|
|
18
18
|
);
|
|
19
19
|
if (!configFileName) throw new Error(`unable to find "${project}" file.`);
|
|
20
|
-
const { tsconfig } = await
|
|
20
|
+
const { tsconfig } = await parse(configFileName);
|
|
21
21
|
const configFileText = JSON.stringify(tsconfig);
|
|
22
22
|
const { config } = ts.parseConfigFileTextToJson(
|
|
23
23
|
configFileName,
|