@adonisjs/assembler 5.9.1 → 5.9.3
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/ace-manifest.json +11 -11
- 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 +21 -23
- package/build/src/EnvParser/index.js +48 -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 +5 -5
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { logger as uiLogger } from '@poppinss/cliui';
|
|
2
|
-
/**
|
|
3
|
-
* Exposes the API to watch project for compilition changes.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DevServer {
|
|
6
|
-
private appRoot;
|
|
7
|
-
private nodeArgs;
|
|
8
|
-
private encoreArgs;
|
|
9
|
-
private buildAssets;
|
|
10
|
-
private logger;
|
|
11
|
-
private httpServer;
|
|
12
|
-
/**
|
|
13
|
-
* HTTP server port
|
|
14
|
-
*/
|
|
15
|
-
private serverPort?;
|
|
16
|
-
/**
|
|
17
|
-
* HTTP server host
|
|
18
|
-
*/
|
|
19
|
-
private serverHost?;
|
|
20
|
-
/**
|
|
21
|
-
* Encore dev server host
|
|
22
|
-
*/
|
|
23
|
-
private encoreDevServerResponse;
|
|
24
|
-
/**
|
|
25
|
-
* A boolean to know if we are watching for filesystem
|
|
26
|
-
*/
|
|
27
|
-
private watchingFileSystem;
|
|
28
|
-
/**
|
|
29
|
-
* Watcher state
|
|
30
|
-
*/
|
|
31
|
-
private watcherState;
|
|
32
|
-
/**
|
|
33
|
-
* Reference to the typescript compiler
|
|
34
|
-
*/
|
|
35
|
-
private ts;
|
|
36
|
-
/**
|
|
37
|
-
* Reference to the RCFile
|
|
38
|
-
*/
|
|
39
|
-
private rcFile;
|
|
40
|
-
/**
|
|
41
|
-
* Manifest instance to generate ace manifest file
|
|
42
|
-
*/
|
|
43
|
-
private manifest;
|
|
44
|
-
/**
|
|
45
|
-
* Require-ts watch helpers
|
|
46
|
-
*/
|
|
47
|
-
private watchHelpers;
|
|
48
|
-
constructor(appRoot: string, nodeArgs: string[], encoreArgs: string[], buildAssets: boolean, logger?: typeof uiLogger);
|
|
49
|
-
/**
|
|
50
|
-
* Kill current process
|
|
51
|
-
*/
|
|
52
|
-
private kill;
|
|
53
|
-
/**
|
|
54
|
-
* Create the http server
|
|
55
|
-
*/
|
|
56
|
-
private createHttpServer;
|
|
57
|
-
/**
|
|
58
|
-
* Renders box to notify about the server state
|
|
59
|
-
*/
|
|
60
|
-
private renderServerIsReady;
|
|
61
|
-
/**
|
|
62
|
-
* Start the dev server. Use [[watch]] to also watch for file
|
|
63
|
-
* changes
|
|
64
|
-
*/
|
|
65
|
-
start(): Promise<void>;
|
|
66
|
-
/**
|
|
67
|
-
* Build and watch for file changes
|
|
68
|
-
*/
|
|
69
|
-
watch(poll?: boolean): Promise<void>;
|
|
70
|
-
}
|
|
1
|
+
import { logger as uiLogger } from '@poppinss/cliui';
|
|
2
|
+
/**
|
|
3
|
+
* Exposes the API to watch project for compilition changes.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DevServer {
|
|
6
|
+
private appRoot;
|
|
7
|
+
private nodeArgs;
|
|
8
|
+
private encoreArgs;
|
|
9
|
+
private buildAssets;
|
|
10
|
+
private logger;
|
|
11
|
+
private httpServer;
|
|
12
|
+
/**
|
|
13
|
+
* HTTP server port
|
|
14
|
+
*/
|
|
15
|
+
private serverPort?;
|
|
16
|
+
/**
|
|
17
|
+
* HTTP server host
|
|
18
|
+
*/
|
|
19
|
+
private serverHost?;
|
|
20
|
+
/**
|
|
21
|
+
* Encore dev server host
|
|
22
|
+
*/
|
|
23
|
+
private encoreDevServerResponse;
|
|
24
|
+
/**
|
|
25
|
+
* A boolean to know if we are watching for filesystem
|
|
26
|
+
*/
|
|
27
|
+
private watchingFileSystem;
|
|
28
|
+
/**
|
|
29
|
+
* Watcher state
|
|
30
|
+
*/
|
|
31
|
+
private watcherState;
|
|
32
|
+
/**
|
|
33
|
+
* Reference to the typescript compiler
|
|
34
|
+
*/
|
|
35
|
+
private ts;
|
|
36
|
+
/**
|
|
37
|
+
* Reference to the RCFile
|
|
38
|
+
*/
|
|
39
|
+
private rcFile;
|
|
40
|
+
/**
|
|
41
|
+
* Manifest instance to generate ace manifest file
|
|
42
|
+
*/
|
|
43
|
+
private manifest;
|
|
44
|
+
/**
|
|
45
|
+
* Require-ts watch helpers
|
|
46
|
+
*/
|
|
47
|
+
private watchHelpers;
|
|
48
|
+
constructor(appRoot: string, nodeArgs: string[], encoreArgs: string[], buildAssets: boolean, logger?: typeof uiLogger);
|
|
49
|
+
/**
|
|
50
|
+
* Kill current process
|
|
51
|
+
*/
|
|
52
|
+
private kill;
|
|
53
|
+
/**
|
|
54
|
+
* Create the http server
|
|
55
|
+
*/
|
|
56
|
+
private createHttpServer;
|
|
57
|
+
/**
|
|
58
|
+
* Renders box to notify about the server state
|
|
59
|
+
*/
|
|
60
|
+
private renderServerIsReady;
|
|
61
|
+
/**
|
|
62
|
+
* Start the dev server. Use [[watch]] to also watch for file
|
|
63
|
+
* changes
|
|
64
|
+
*/
|
|
65
|
+
start(): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Build and watch for file changes
|
|
68
|
+
*/
|
|
69
|
+
watch(poll?: boolean): Promise<void>;
|
|
70
|
+
}
|