@adonisjs/assembler 5.9.0 → 5.9.2
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/build/commands/Build.d.ts +37 -37
- package/build/commands/Build.js +138 -138
- package/build/commands/Invoke.d.ts +34 -34
- package/build/commands/Invoke.js +221 -221
- package/build/commands/Make/Base.d.ts +30 -30
- package/build/commands/Make/Base.js +75 -75
- package/build/commands/Make/Command.d.ts +35 -35
- package/build/commands/Make/Command.js +82 -82
- package/build/commands/Make/Controller.d.ts +37 -37
- package/build/commands/Make/Controller.js +89 -89
- package/build/commands/Make/Exception.d.ts +32 -32
- package/build/commands/Make/Exception.js +75 -75
- package/build/commands/Make/Listener.d.ts +30 -30
- package/build/commands/Make/Listener.js +70 -70
- package/build/commands/Make/Middleware.d.ts +31 -31
- package/build/commands/Make/Middleware.js +87 -87
- package/build/commands/Make/PreloadFile.d.ts +38 -38
- package/build/commands/Make/PreloadFile.js +157 -157
- package/build/commands/Make/Provider.d.ts +31 -31
- package/build/commands/Make/Provider.js +114 -114
- package/build/commands/Make/Suite.d.ts +41 -41
- package/build/commands/Make/Suite.js +120 -120
- package/build/commands/Make/Test.d.ts +35 -35
- package/build/commands/Make/Test.js +96 -96
- package/build/commands/Make/Validator.d.ts +31 -31
- package/build/commands/Make/Validator.js +71 -71
- package/build/commands/Make/View.d.ts +30 -30
- package/build/commands/Make/View.js +70 -70
- package/build/commands/Serve.d.ts +33 -33
- package/build/commands/Serve.js +112 -112
- package/build/commands/Test.d.ts +57 -57
- package/build/commands/Test.js +159 -159
- package/build/commands/TypeCheck.d.ts +16 -16
- package/build/commands/TypeCheck.js +85 -85
- package/build/config/paths.d.ts +7 -7
- package/build/config/paths.js +18 -18
- package/build/register.d.ts +1 -1
- package/build/register.js +15 -15
- package/build/src/AssetsBundler/index.d.ts +76 -76
- package/build/src/AssetsBundler/index.js +216 -216
- package/build/src/Compiler/index.d.ts +62 -62
- package/build/src/Compiler/index.js +287 -287
- package/build/src/Contracts/index.d.ts +8 -8
- package/build/src/Contracts/index.js +10 -10
- package/build/src/DevServer/index.d.ts +70 -70
- package/build/src/DevServer/index.js +306 -306
- package/build/src/EnvParser/index.d.ts +23 -23
- package/build/src/EnvParser/index.js +52 -52
- package/build/src/HttpServer/index.d.ts +34 -34
- package/build/src/HttpServer/index.js +87 -87
- package/build/src/Manifest/index.d.ts +32 -32
- package/build/src/Manifest/index.js +88 -88
- package/build/src/RcFile/index.d.ts +72 -72
- package/build/src/RcFile/index.js +174 -174
- package/build/src/Test/index.d.ts +75 -75
- package/build/src/Test/index.js +346 -346
- package/build/src/Test/process.d.ts +22 -22
- package/build/src/Test/process.js +68 -68
- package/build/src/Ts/index.d.ts +24 -24
- package/build/src/Ts/index.js +55 -55
- package/build/src/requireHook/index.d.ts +5 -5
- package/build/src/requireHook/index.js +28 -28
- package/build/src/requireHook/ioc-transformer.d.ts +6 -6
- package/build/src/requireHook/ioc-transformer.js +21 -21
- package/package.json +1 -1
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { logger as uiLogger } from '@poppinss/cliui';
|
|
2
|
-
/**
|
|
3
|
-
* Exposes the API to build the AdonisJs project for development or
|
|
4
|
-
* production. The production build has it's own set of node_modules
|
|
5
|
-
*/
|
|
6
|
-
export declare class Compiler {
|
|
7
|
-
appRoot: string;
|
|
8
|
-
private encoreArgs;
|
|
9
|
-
private buildAssets;
|
|
10
|
-
private logger;
|
|
11
|
-
/**
|
|
12
|
-
* Reference to typescript compiler
|
|
13
|
-
*/
|
|
14
|
-
private ts;
|
|
15
|
-
/**
|
|
16
|
-
* Reference to rc File
|
|
17
|
-
*/
|
|
18
|
-
private rcFile;
|
|
19
|
-
constructor(appRoot: string, encoreArgs: string[], buildAssets: boolean, logger?: typeof uiLogger, tsconfig?: string);
|
|
20
|
-
/**
|
|
21
|
-
* Returns relative unix path from the project root. Used for
|
|
22
|
-
* display only
|
|
23
|
-
*/
|
|
24
|
-
private getRelativeUnixPath;
|
|
25
|
-
/**
|
|
26
|
-
* Cleans up the build directory
|
|
27
|
-
*/
|
|
28
|
-
private cleanupBuildDirectory;
|
|
29
|
-
/**
|
|
30
|
-
* Copies .adonisrc.json file to the destination
|
|
31
|
-
*/
|
|
32
|
-
private copyAdonisRcFile;
|
|
33
|
-
/**
|
|
34
|
-
* Copy all meta files to the build directory
|
|
35
|
-
*/
|
|
36
|
-
private copyMetaFiles;
|
|
37
|
-
/**
|
|
38
|
-
* Copy files to destination directory
|
|
39
|
-
*/
|
|
40
|
-
private copyFiles;
|
|
41
|
-
/**
|
|
42
|
-
* Build typescript source files
|
|
43
|
-
*/
|
|
44
|
-
private buildTypescriptSource;
|
|
45
|
-
/**
|
|
46
|
-
* Log the message that ts build and failed
|
|
47
|
-
*/
|
|
48
|
-
private logTsBuildFailed;
|
|
49
|
-
/**
|
|
50
|
-
* Typecheck the project without emit
|
|
51
|
-
*/
|
|
52
|
-
typeCheck(): Promise<boolean>;
|
|
53
|
-
/**
|
|
54
|
-
* Compile project. See [[Compiler.compileForProduction]] for
|
|
55
|
-
* production build
|
|
56
|
-
*/
|
|
57
|
-
compile(stopOnError?: boolean, extraFiles?: string[]): Promise<boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* Compile project. See [[Compiler.compile]] for development build
|
|
60
|
-
*/
|
|
61
|
-
compileForProduction(stopOnError: boolean | undefined, client: 'npm' | 'yarn'): Promise<boolean>;
|
|
62
|
-
}
|
|
1
|
+
import { logger as uiLogger } from '@poppinss/cliui';
|
|
2
|
+
/**
|
|
3
|
+
* Exposes the API to build the AdonisJs project for development or
|
|
4
|
+
* production. The production build has it's own set of node_modules
|
|
5
|
+
*/
|
|
6
|
+
export declare class Compiler {
|
|
7
|
+
appRoot: string;
|
|
8
|
+
private encoreArgs;
|
|
9
|
+
private buildAssets;
|
|
10
|
+
private logger;
|
|
11
|
+
/**
|
|
12
|
+
* Reference to typescript compiler
|
|
13
|
+
*/
|
|
14
|
+
private ts;
|
|
15
|
+
/**
|
|
16
|
+
* Reference to rc File
|
|
17
|
+
*/
|
|
18
|
+
private rcFile;
|
|
19
|
+
constructor(appRoot: string, encoreArgs: string[], buildAssets: boolean, logger?: typeof uiLogger, tsconfig?: string);
|
|
20
|
+
/**
|
|
21
|
+
* Returns relative unix path from the project root. Used for
|
|
22
|
+
* display only
|
|
23
|
+
*/
|
|
24
|
+
private getRelativeUnixPath;
|
|
25
|
+
/**
|
|
26
|
+
* Cleans up the build directory
|
|
27
|
+
*/
|
|
28
|
+
private cleanupBuildDirectory;
|
|
29
|
+
/**
|
|
30
|
+
* Copies .adonisrc.json file to the destination
|
|
31
|
+
*/
|
|
32
|
+
private copyAdonisRcFile;
|
|
33
|
+
/**
|
|
34
|
+
* Copy all meta files to the build directory
|
|
35
|
+
*/
|
|
36
|
+
private copyMetaFiles;
|
|
37
|
+
/**
|
|
38
|
+
* Copy files to destination directory
|
|
39
|
+
*/
|
|
40
|
+
private copyFiles;
|
|
41
|
+
/**
|
|
42
|
+
* Build typescript source files
|
|
43
|
+
*/
|
|
44
|
+
private buildTypescriptSource;
|
|
45
|
+
/**
|
|
46
|
+
* Log the message that ts build and failed
|
|
47
|
+
*/
|
|
48
|
+
private logTsBuildFailed;
|
|
49
|
+
/**
|
|
50
|
+
* Typecheck the project without emit
|
|
51
|
+
*/
|
|
52
|
+
typeCheck(): Promise<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Compile project. See [[Compiler.compileForProduction]] for
|
|
55
|
+
* production build
|
|
56
|
+
*/
|
|
57
|
+
compile(stopOnError?: boolean, extraFiles?: string[]): Promise<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* Compile project. See [[Compiler.compile]] for development build
|
|
60
|
+
*/
|
|
61
|
+
compileForProduction(stopOnError: boolean | undefined, client: 'npm' | 'yarn'): Promise<boolean>;
|
|
62
|
+
}
|