diff options
Diffstat (limited to 'src/server/start/app.js')
-rw-r--r-- | src/server/start/app.js | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/server/start/app.js b/src/server/start/app.js deleted file mode 100644 index a29ca6594..000000000 --- a/src/server/start/app.js +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | |||
2 | /* | ||
3 | |-------------------------------------------------------------------------- | ||
4 | | Providers | ||
5 | |-------------------------------------------------------------------------- | ||
6 | | | ||
7 | | Providers are building blocks for your Adonis app. Anytime you install | ||
8 | | a new Adonis specific package, chances are you will register the | ||
9 | | provider here. | ||
10 | | | ||
11 | */ | ||
12 | const providers = [ | ||
13 | '@adonisjs/framework/providers/AppProvider', | ||
14 | '@adonisjs/bodyparser/providers/BodyParserProvider', | ||
15 | '@adonisjs/cors/providers/CorsProvider', | ||
16 | '@adonisjs/lucid/providers/LucidProvider', | ||
17 | '@adonisjs/drive/providers/DriveProvider', | ||
18 | '@adonisjs/validator/providers/ValidatorProvider', | ||
19 | '@adonisjs/framework/providers/ViewProvider', | ||
20 | '@adonisjs/shield/providers/ShieldProvider', | ||
21 | ]; | ||
22 | |||
23 | /* | ||
24 | |-------------------------------------------------------------------------- | ||
25 | | Ace Providers | ||
26 | |-------------------------------------------------------------------------- | ||
27 | | | ||
28 | | Ace providers are required only when running ace commands. For example | ||
29 | | Providers for migrations, tests etc. | ||
30 | | | ||
31 | */ | ||
32 | const aceProviders = [ | ||
33 | '@adonisjs/lucid/providers/MigrationsProvider', | ||
34 | ]; | ||
35 | |||
36 | /* | ||
37 | |-------------------------------------------------------------------------- | ||
38 | | Aliases | ||
39 | |-------------------------------------------------------------------------- | ||
40 | | | ||
41 | | Aliases are short unique names for IoC container bindings. You are free | ||
42 | | to create your own aliases. | ||
43 | | | ||
44 | | For example: | ||
45 | | { Route: 'Adonis/Src/Route' } | ||
46 | | | ||
47 | */ | ||
48 | const aliases = {}; | ||
49 | |||
50 | /* | ||
51 | |-------------------------------------------------------------------------- | ||
52 | | Commands | ||
53 | |-------------------------------------------------------------------------- | ||
54 | | | ||
55 | | Here you store ace commands for your package | ||
56 | | | ||
57 | */ | ||
58 | const commands = []; | ||
59 | |||
60 | module.exports = { | ||
61 | providers, aceProviders, aliases, commands, | ||
62 | }; | ||