@adonisjs/assembler 5.8.1 → 5.9.1

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.
Files changed (66) hide show
  1. package/build/ace-manifest.json +17 -11
  2. package/build/commands/Build.d.ts +37 -37
  3. package/build/commands/Build.js +138 -138
  4. package/build/commands/Invoke.d.ts +34 -34
  5. package/build/commands/Invoke.js +221 -217
  6. package/build/commands/Make/Base.d.ts +30 -30
  7. package/build/commands/Make/Base.js +75 -75
  8. package/build/commands/Make/Command.d.ts +35 -35
  9. package/build/commands/Make/Command.js +82 -82
  10. package/build/commands/Make/Controller.d.ts +37 -37
  11. package/build/commands/Make/Controller.js +89 -89
  12. package/build/commands/Make/Exception.d.ts +32 -32
  13. package/build/commands/Make/Exception.js +75 -75
  14. package/build/commands/Make/Listener.d.ts +30 -30
  15. package/build/commands/Make/Listener.js +70 -70
  16. package/build/commands/Make/Middleware.d.ts +31 -31
  17. package/build/commands/Make/Middleware.js +87 -87
  18. package/build/commands/Make/PreloadFile.d.ts +38 -38
  19. package/build/commands/Make/PreloadFile.js +157 -157
  20. package/build/commands/Make/Provider.d.ts +31 -31
  21. package/build/commands/Make/Provider.js +114 -114
  22. package/build/commands/Make/Suite.d.ts +41 -41
  23. package/build/commands/Make/Suite.js +120 -120
  24. package/build/commands/Make/Test.d.ts +35 -35
  25. package/build/commands/Make/Test.js +96 -96
  26. package/build/commands/Make/Validator.d.ts +31 -31
  27. package/build/commands/Make/Validator.js +71 -71
  28. package/build/commands/Make/View.d.ts +30 -30
  29. package/build/commands/Make/View.js +70 -70
  30. package/build/commands/Serve.d.ts +33 -33
  31. package/build/commands/Serve.js +112 -112
  32. package/build/commands/Test.d.ts +57 -53
  33. package/build/commands/Test.js +159 -152
  34. package/build/commands/TypeCheck.d.ts +16 -16
  35. package/build/commands/TypeCheck.js +85 -85
  36. package/build/config/paths.d.ts +7 -7
  37. package/build/config/paths.js +18 -18
  38. package/build/register.d.ts +1 -1
  39. package/build/register.js +15 -15
  40. package/build/src/AssetsBundler/index.d.ts +76 -76
  41. package/build/src/AssetsBundler/index.js +216 -216
  42. package/build/src/Compiler/index.d.ts +62 -62
  43. package/build/src/Compiler/index.js +287 -287
  44. package/build/src/Contracts/index.d.ts +8 -8
  45. package/build/src/Contracts/index.js +10 -10
  46. package/build/src/DevServer/index.d.ts +70 -70
  47. package/build/src/DevServer/index.js +306 -306
  48. package/build/src/EnvParser/index.d.ts +23 -23
  49. package/build/src/EnvParser/index.js +52 -52
  50. package/build/src/HttpServer/index.d.ts +34 -34
  51. package/build/src/HttpServer/index.js +87 -87
  52. package/build/src/Manifest/index.d.ts +32 -32
  53. package/build/src/Manifest/index.js +88 -88
  54. package/build/src/RcFile/index.d.ts +72 -72
  55. package/build/src/RcFile/index.js +174 -174
  56. package/build/src/Test/index.d.ts +75 -75
  57. package/build/src/Test/index.js +346 -346
  58. package/build/src/Test/process.d.ts +22 -22
  59. package/build/src/Test/process.js +68 -68
  60. package/build/src/Ts/index.d.ts +24 -24
  61. package/build/src/Ts/index.js +55 -55
  62. package/build/src/requireHook/index.d.ts +5 -5
  63. package/build/src/requireHook/index.js +28 -28
  64. package/build/src/requireHook/ioc-transformer.d.ts +6 -6
  65. package/build/src/requireHook/ioc-transformer.js +21 -21
  66. package/package.json +16 -16
@@ -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
+ }