nestia 2.0.1-dev.20220412 → 2.0.1-dev.20220413
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/package.json +1 -1
- package/src/NestiaApplication.ts +3 -3
- package/src/analyses/ControllerAnalyzer.ts +2 -2
- package/src/analyses/GenericAnalyzer.ts +1 -1
- package/src/analyses/ImportAnalyzer.ts +1 -1
- package/src/analyses/ReflectAnalyzer.ts +1 -1
- package/src/analyses/SourceFinder.ts +2 -2
- package/src/bin/nestia.ts +3 -3
- package/src/executable/sdk.ts +4 -4
- package/src/generates/FileGenerator.ts +1 -1
- package/src/generates/FunctionGenerator.ts +1 -1
- package/src/generates/SdkGenerator.ts +1 -1
- package/src/structures/IRoute.ts +1 -1
- package/src/utils/DirectoryUtil.ts +1 -1
- package/src/utils/ImportDictionary.ts +1 -1
- package/tsconfig.json +1 -1
package/package.json
CHANGED
package/src/NestiaApplication.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
import tsc from "typescript";
|
|
4
4
|
import { Pair } from "tstl/utility/Pair";
|
|
5
5
|
import { Singleton } from "tstl/thread/Singleton";
|
|
6
6
|
|
package/src/bin/nestia.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ts-node
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import cp from "child_process";
|
|
4
|
+
import fs from "fs";
|
|
5
5
|
import { CompilerOptions } from "../internal/CompilerOptions";
|
|
6
6
|
|
|
7
7
|
import { stripJsonComments } from "../utils/stripJsonComments";
|
|
@@ -122,7 +122,7 @@ async function tsconfig(task: () => void): Promise<void>
|
|
|
122
122
|
throw error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
async function main()
|
|
125
|
+
async function main()
|
|
126
126
|
{
|
|
127
127
|
if (process.argv[2] === "install")
|
|
128
128
|
await install();
|
package/src/executable/sdk.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import cli from "cli";
|
|
2
|
+
import fs from "fs";
|
|
3
|
+
import path from "path";
|
|
4
|
+
import tsc from "typescript";
|
|
5
5
|
import { Primitive } from "nestia-fetcher";
|
|
6
6
|
|
|
7
7
|
import { IConfiguration } from "../IConfiguration";
|
package/src/structures/IRoute.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
18
18
|
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
|
19
19
|
// "outFile": "./", /* Concatenate and emit output to single file. */
|
|
20
|
-
|
|
20
|
+
"outDir": "./lib", /* Redirect output structure to the directory. */
|
|
21
21
|
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
|
22
22
|
// "composite": true, /* Enable project compilation */
|
|
23
23
|
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|