@adonisjs/core 6.1.5-30 → 6.1.5-32
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/commands.json +1 -1
- package/build/commands/configure.d.ts +7 -0
- package/build/commands/configure.js +15 -1
- package/build/commands/make/controller.d.ts +1 -0
- package/build/commands/make/controller.js +25 -4
- package/build/modules/ace/codemods.d.ts +1 -6
- package/build/modules/ace/create_kernel.d.ts +1 -1
- package/build/modules/ace/create_kernel.js +18 -2
- package/build/modules/hash/define_config.js +3 -0
- package/build/providers/edge_provider.js +1 -0
- package/build/providers/repl_provider.js +58 -57
- package/build/providers/vinejs_provider.d.ts +10 -0
- package/build/providers/vinejs_provider.js +25 -12
- package/build/src/ignitor/ace.js +3 -1
- package/build/src/ignitor/http.js +5 -1
- package/build/stubs/make/controller/actions.stub +14 -0
- package/package.json +40 -40
|
@@ -1 +1 @@
|
|
|
1
|
-
{"commands":[{"commandName":"build","description":"Build application for production by compiling frontend assets and TypeScript source to JavaScript","help":["Create the production build using the following command.","```","{{ binaryName }} build","```","","The assets bundler dev server runs automatically after detecting vite config or webpack config files","You may pass vite CLI args using the --assets-args command line flag.","```","{{ binaryName }} build --assets-args=\"--debug --base=/public\"","```"],"namespace":null,"aliases":[],"flags":[{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and restart the HTTP server on file change"},{"name":"ignoreTsErrors","flagName":"ignore-ts-errors","required":false,"type":"boolean","description":"Ignore TypeScript errors and continue with the build process"},{"name":"packageManager","flagName":"package-manager","required":false,"type":"string","description":"Select the package manager you want to use to install production dependencies"},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Build frontend assets","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[],"options":{},"filePath":"build.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/build.js"},{"commandName":"configure","description":"Configure a package post installation","help":"","namespace":null,"aliases":[],"flags":[{"name":"verbose","flagName":"verbose","required":false,"type":"boolean","description":"Display logs in verbose mode"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Package name","type":"string"}],"options":{},"filePath":"configure.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/configure.js"},{"commandName":"eject","description":"Eject scaffolding stubs to your application root","help":"","namespace":null,"aliases":[],"flags":[{"name":"pkg","flagName":"pkg","required":false,"type":"string","description":"Mention package name for searching stubs","default":"@adonisjs/core"}],"args":[{"name":"stubPath","argumentName":"stub-path","required":true,"description":"Path to the stubs directory or a single stub file","type":"string"}],"options":{},"filePath":"eject.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/eject.js"},{"commandName":"generate:key","description":"Generate a secure random application key","help":"","namespace":"generate","aliases":[],"flags":[{"name":"show","flagName":"show","required":false,"type":"boolean","description":"Display the key on the terminal, instead of writing it to .env file"},{"name":"force","flagName":"force","required":false,"type":"boolean","description":"Force update .env file in production environment"}],"args":[],"options":{},"filePath":"generate_key.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/generate_key.js"},{"commandName":"inspect:rcfile","description":"Inspect the RC file with its default values","help":"","namespace":"inspect","aliases":[],"flags":[],"args":[],"options":{},"filePath":"inspect_rcfile.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/inspect_rcfile.js"},{"commandName":"list:routes","description":"List application routes. This command will boot the application in the console environment","help":"","namespace":"list","aliases":[],"flags":[{"name":"middleware","flagName":"middleware","required":false,"type":"array","description":"View routes that includes all the mentioned middleware names. Use * to see routes that are using one or more middleware"},{"name":"ignoreMiddleware","flagName":"ignore-middleware","required":false,"type":"array","description":"View routes that does not include all the mentioned middleware names. Use * to see routes that are using zero middleware"},{"name":"json","flagName":"json","required":false,"type":"boolean","description":"Get routes list as a JSON string"},{"name":"table","flagName":"table","required":false,"type":"boolean","description":"View list of routes as a table"}],"args":[{"name":"match","argumentName":"match","required":false,"description":"Find routes matching the given keyword. Route name, pattern and controller name will be searched against the keyword","type":"string"}],"options":{"startApp":true},"filePath":"list/routes.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/list/routes.js"},{"commandName":"make:command","description":"Create a new ace command class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the command","type":"string"}],"options":{},"filePath":"make/command.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/command.js"},{"commandName":"make:controller","description":"Create a new HTTP controller class","help":"","namespace":"make","aliases":[],"flags":[{"name":"singular","flagName":"singular","required":false,"type":"boolean","description":"Convert controller class and file name to its singular form","alias":"r"},{"name":"resource","flagName":"resource","required":false,"type":"boolean","description":"Generate controller with resource actions","alias":"r"},{"name":"api","flagName":"api","required":false,"type":"boolean","description":"Generate controller with api resource actions","alias":"a"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"The name of the controller","type":"string"}],"options":{},"filePath":"make/controller.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/controller.js"},{"commandName":"make:event","description":"Create a new event class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the event","type":"string"}],"options":{},"filePath":"make/event.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/event.js"},{"commandName":"make:exception","description":"Create a new ace exception class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the exception","type":"string"}],"options":{},"filePath":"make/exception.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/exception.js"},{"commandName":"make:listener","description":"Create a new event listener class","help":"","namespace":"make","aliases":[],"flags":[{"name":"event","flagName":"event","required":false,"type":"string","description":"Generate an event class alongside the listener","alias":"e"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the listener","type":"string"}],"options":{},"filePath":"make/listener.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/listener.js"},{"commandName":"make:middleware","description":"Create a new middleware class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the middleware","type":"string"}],"options":{},"filePath":"make/middleware.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/middleware.js"},{"commandName":"make:preload","description":"Create a new preload file inside the start directory","help":"","namespace":"make","aliases":[],"flags":[{"name":"environments","flagName":"environments","required":false,"type":"array","description":"Define the preload file's environment. Accepted values are \"web,console,test,repl\""}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the preload file","type":"string"}],"options":{},"filePath":"make/preload.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/preload.js"},{"commandName":"make:provider","description":"Create a new service provider class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the provider","type":"string"}],"options":{},"filePath":"make/provider.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/provider.js"},{"commandName":"make:service","description":"Create a new service class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the service","type":"string"}],"options":{},"filePath":"make/service.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/service.js"},{"commandName":"make:test","description":"Create a new Japa test file","help":"","namespace":"make","aliases":[],"flags":[{"name":"suite","flagName":"suite","required":false,"type":"string","description":"The suite for which to create the test file"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the test file","type":"string"}],"options":{},"filePath":"make/test.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/test.js"},{"commandName":"make:validator","description":"Create a new VineJS validator","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the validator","type":"string"}],"options":{},"filePath":"make/validator.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/validator.js"},{"commandName":"make:view","description":"Create a new Edge.js template file","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the template","type":"string"}],"options":{},"filePath":"make/view.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/view.js"},{"commandName":"repl","description":"Start a new REPL session","help":"","namespace":null,"aliases":[],"flags":[],"args":[],"options":{"startApp":true,"staysAlive":true},"filePath":"repl.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/repl.js"},{"commandName":"serve","description":"Start the development HTTP server along with the file watcher to perform restarts on file change","help":["Start the development server with file watcher using the following command.","```","{{ binaryName }} serve --watch","```","","The assets bundler dev server runs automatically after detecting vite config or webpack config files","You may pass vite CLI args using the --assets-args command line flag.","```","{{ binaryName }} serve --assets-args=\"--debug --base=/public\"","```"],"namespace":null,"aliases":[],"flags":[{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and restart the HTTP server on file change"},{"name":"poll","flagName":"poll","required":false,"type":"boolean","description":"Use polling to detect filesystem changes"},{"name":"clear","flagName":"clear","required":false,"type":"boolean","description":"Clear the terminal for new logs after file change","showNegatedVariantInHelp":true,"default":true},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Start assets bundler dev server","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[],"options":{"staysAlive":true},"filePath":"serve.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/serve.js"},{"commandName":"test","description":"Run tests along with the file watcher to re-run tests on file change","help":"","namespace":null,"aliases":[],"flags":[{"name":"files","flagName":"files","required":false,"type":"array","description":"Filter tests by the filename"},{"name":"tags","flagName":"tags","required":false,"type":"array","description":"Filter tests by tags"},{"name":"groups","flagName":"groups","required":false,"type":"array","description":"Filter tests by parent group title"},{"name":"tests","flagName":"tests","required":false,"type":"array","description":"Filter tests by test title"},{"name":"reporters","flagName":"reporters","required":false,"type":"array","description":"Activate one or more test reporters"},{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and re-run tests on file change"},{"name":"poll","flagName":"poll","required":false,"type":"boolean","description":"Use polling to detect filesystem changes"},{"name":"timeout","flagName":"timeout","required":false,"type":"number","description":"Define default timeout for all tests"},{"name":"retries","flagName":"retries","required":false,"type":"number","description":"Define default retries for all tests"},{"name":"failed","flagName":"failed","required":false,"type":"boolean","description":"Execute tests failed during the last run"},{"name":"clear","flagName":"clear","required":false,"type":"boolean","description":"Clear the terminal for new logs after file change","showNegatedVariantInHelp":true,"default":true},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Start assets bundler dev server.","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[{"name":"suites","argumentName":"suites","required":false,"description":"Mention suite names to run tests for selected suites","type":"spread"}],"options":{"allowUnknownFlags":true,"staysAlive":true},"filePath":"test.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/test.js"}],"version":1}
|
|
1
|
+
{"commands":[{"commandName":"build","description":"Build application for production by compiling frontend assets and TypeScript source to JavaScript","help":["Create the production build using the following command.","```","{{ binaryName }} build","```","","The assets bundler dev server runs automatically after detecting vite config or webpack config files","You may pass vite CLI args using the --assets-args command line flag.","```","{{ binaryName }} build --assets-args=\"--debug --base=/public\"","```"],"namespace":null,"aliases":[],"flags":[{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and restart the HTTP server on file change"},{"name":"ignoreTsErrors","flagName":"ignore-ts-errors","required":false,"type":"boolean","description":"Ignore TypeScript errors and continue with the build process"},{"name":"packageManager","flagName":"package-manager","required":false,"type":"string","description":"Select the package manager you want to use to install production dependencies"},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Build frontend assets","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[],"options":{},"filePath":"build.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/build.js"},{"commandName":"configure","description":"Configure a package post installation","help":"","namespace":null,"aliases":[],"flags":[{"name":"verbose","flagName":"verbose","required":false,"type":"boolean","description":"Display logs in verbose mode"},{"name":"force","flagName":"force","required":false,"type":"boolean","description":"Forcefully overwrite existing files"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Package name","type":"string"}],"options":{"allowUnknownFlags":true},"filePath":"configure.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/configure.js"},{"commandName":"eject","description":"Eject scaffolding stubs to your application root","help":"","namespace":null,"aliases":[],"flags":[{"name":"pkg","flagName":"pkg","required":false,"type":"string","description":"Mention package name for searching stubs","default":"@adonisjs/core"}],"args":[{"name":"stubPath","argumentName":"stub-path","required":true,"description":"Path to the stubs directory or a single stub file","type":"string"}],"options":{},"filePath":"eject.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/eject.js"},{"commandName":"generate:key","description":"Generate a secure random application key","help":"","namespace":"generate","aliases":[],"flags":[{"name":"show","flagName":"show","required":false,"type":"boolean","description":"Display the key on the terminal, instead of writing it to .env file"},{"name":"force","flagName":"force","required":false,"type":"boolean","description":"Force update .env file in production environment"}],"args":[],"options":{},"filePath":"generate_key.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/generate_key.js"},{"commandName":"inspect:rcfile","description":"Inspect the RC file with its default values","help":"","namespace":"inspect","aliases":[],"flags":[],"args":[],"options":{},"filePath":"inspect_rcfile.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/inspect_rcfile.js"},{"commandName":"list:routes","description":"List application routes. This command will boot the application in the console environment","help":"","namespace":"list","aliases":[],"flags":[{"name":"middleware","flagName":"middleware","required":false,"type":"array","description":"View routes that includes all the mentioned middleware names. Use * to see routes that are using one or more middleware"},{"name":"ignoreMiddleware","flagName":"ignore-middleware","required":false,"type":"array","description":"View routes that does not include all the mentioned middleware names. Use * to see routes that are using zero middleware"},{"name":"json","flagName":"json","required":false,"type":"boolean","description":"Get routes list as a JSON string"},{"name":"table","flagName":"table","required":false,"type":"boolean","description":"View list of routes as a table"}],"args":[{"name":"match","argumentName":"match","required":false,"description":"Find routes matching the given keyword. Route name, pattern and controller name will be searched against the keyword","type":"string"}],"options":{"startApp":true},"filePath":"list/routes.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/list/routes.js"},{"commandName":"make:command","description":"Create a new ace command class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the command","type":"string"}],"options":{},"filePath":"make/command.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/command.js"},{"commandName":"make:controller","description":"Create a new HTTP controller class","help":"","namespace":"make","aliases":[],"flags":[{"name":"singular","flagName":"singular","required":false,"type":"boolean","description":"Convert controller class and file name to its singular form","alias":"r"},{"name":"resource","flagName":"resource","required":false,"type":"boolean","description":"Generate controller with resource actions","alias":"r"},{"name":"api","flagName":"api","required":false,"type":"boolean","description":"Generate controller with api resource actions","alias":"a"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"The name of the controller","type":"string"},{"name":"actions","argumentName":"actions","required":false,"description":"Method names to pre-define on the controller","type":"spread"}],"options":{},"filePath":"make/controller.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/controller.js"},{"commandName":"make:event","description":"Create a new event class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the event","type":"string"}],"options":{},"filePath":"make/event.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/event.js"},{"commandName":"make:exception","description":"Create a new ace exception class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the exception","type":"string"}],"options":{},"filePath":"make/exception.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/exception.js"},{"commandName":"make:listener","description":"Create a new event listener class","help":"","namespace":"make","aliases":[],"flags":[{"name":"event","flagName":"event","required":false,"type":"string","description":"Generate an event class alongside the listener","alias":"e"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the listener","type":"string"}],"options":{},"filePath":"make/listener.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/listener.js"},{"commandName":"make:middleware","description":"Create a new middleware class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the middleware","type":"string"}],"options":{},"filePath":"make/middleware.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/middleware.js"},{"commandName":"make:preload","description":"Create a new preload file inside the start directory","help":"","namespace":"make","aliases":[],"flags":[{"name":"environments","flagName":"environments","required":false,"type":"array","description":"Define the preload file's environment. Accepted values are \"web,console,test,repl\""}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the preload file","type":"string"}],"options":{},"filePath":"make/preload.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/preload.js"},{"commandName":"make:provider","description":"Create a new service provider class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the provider","type":"string"}],"options":{},"filePath":"make/provider.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/provider.js"},{"commandName":"make:service","description":"Create a new service class","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the service","type":"string"}],"options":{},"filePath":"make/service.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/service.js"},{"commandName":"make:test","description":"Create a new Japa test file","help":"","namespace":"make","aliases":[],"flags":[{"name":"suite","flagName":"suite","required":false,"type":"string","description":"The suite for which to create the test file"}],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the test file","type":"string"}],"options":{},"filePath":"make/test.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/test.js"},{"commandName":"make:validator","description":"Create a new VineJS validator","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the validator","type":"string"}],"options":{},"filePath":"make/validator.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/validator.js"},{"commandName":"make:view","description":"Create a new Edge.js template file","help":"","namespace":"make","aliases":[],"flags":[],"args":[{"name":"name","argumentName":"name","required":true,"description":"Name of the template","type":"string"}],"options":{},"filePath":"make/view.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/make/view.js"},{"commandName":"repl","description":"Start a new REPL session","help":"","namespace":null,"aliases":[],"flags":[],"args":[],"options":{"startApp":true,"staysAlive":true},"filePath":"repl.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/repl.js"},{"commandName":"serve","description":"Start the development HTTP server along with the file watcher to perform restarts on file change","help":["Start the development server with file watcher using the following command.","```","{{ binaryName }} serve --watch","```","","The assets bundler dev server runs automatically after detecting vite config or webpack config files","You may pass vite CLI args using the --assets-args command line flag.","```","{{ binaryName }} serve --assets-args=\"--debug --base=/public\"","```"],"namespace":null,"aliases":[],"flags":[{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and restart the HTTP server on file change"},{"name":"poll","flagName":"poll","required":false,"type":"boolean","description":"Use polling to detect filesystem changes"},{"name":"clear","flagName":"clear","required":false,"type":"boolean","description":"Clear the terminal for new logs after file change","showNegatedVariantInHelp":true,"default":true},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Start assets bundler dev server","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[],"options":{"staysAlive":true},"filePath":"serve.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/serve.js"},{"commandName":"test","description":"Run tests along with the file watcher to re-run tests on file change","help":"","namespace":null,"aliases":[],"flags":[{"name":"files","flagName":"files","required":false,"type":"array","description":"Filter tests by the filename"},{"name":"tags","flagName":"tags","required":false,"type":"array","description":"Filter tests by tags"},{"name":"groups","flagName":"groups","required":false,"type":"array","description":"Filter tests by parent group title"},{"name":"tests","flagName":"tests","required":false,"type":"array","description":"Filter tests by test title"},{"name":"reporters","flagName":"reporters","required":false,"type":"array","description":"Activate one or more test reporters"},{"name":"watch","flagName":"watch","required":false,"type":"boolean","description":"Watch filesystem and re-run tests on file change"},{"name":"poll","flagName":"poll","required":false,"type":"boolean","description":"Use polling to detect filesystem changes"},{"name":"timeout","flagName":"timeout","required":false,"type":"number","description":"Define default timeout for all tests"},{"name":"retries","flagName":"retries","required":false,"type":"number","description":"Define default retries for all tests"},{"name":"failed","flagName":"failed","required":false,"type":"boolean","description":"Execute tests failed during the last run"},{"name":"clear","flagName":"clear","required":false,"type":"boolean","description":"Clear the terminal for new logs after file change","showNegatedVariantInHelp":true,"default":true},{"name":"assets","flagName":"assets","required":false,"type":"boolean","description":"Start assets bundler dev server.","showNegatedVariantInHelp":true,"default":true},{"name":"assetsArgs","flagName":"assets-args","required":false,"type":"array","description":"Define CLI arguments to pass to the assets bundler"}],"args":[{"name":"suites","argumentName":"suites","required":false,"description":"Mention suite names to run tests for selected suites","type":"spread"}],"options":{"allowUnknownFlags":true,"staysAlive":true},"filePath":"test.js","absoluteFilePath":"/Users/virk/code/adonisjs/core/core/build/commands/test.js"}],"version":1}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseCommand } from '../modules/ace/main.js';
|
|
2
|
+
import { CommandOptions } from '../types/ace.js';
|
|
2
3
|
/**
|
|
3
4
|
* The configure command is used to configure packages after installation
|
|
4
5
|
*/
|
|
@@ -6,8 +7,14 @@ export default class Configure extends BaseCommand {
|
|
|
6
7
|
#private;
|
|
7
8
|
static commandName: string;
|
|
8
9
|
static description: string;
|
|
10
|
+
static options: CommandOptions;
|
|
11
|
+
get parsedFlags(): {
|
|
12
|
+
[argName: string]: any;
|
|
13
|
+
};
|
|
14
|
+
get parsedArgs(): (string | number)[];
|
|
9
15
|
name: string;
|
|
10
16
|
verbose?: boolean;
|
|
17
|
+
force?: boolean;
|
|
11
18
|
/**
|
|
12
19
|
* The root of the stubs directory. The value is defined after we import
|
|
13
20
|
* the package
|
|
@@ -21,6 +21,15 @@ import { args, BaseCommand, flags } from '../modules/ace/main.js';
|
|
|
21
21
|
export default class Configure extends BaseCommand {
|
|
22
22
|
static commandName = 'configure';
|
|
23
23
|
static description = 'Configure a package post installation';
|
|
24
|
+
static options = {
|
|
25
|
+
allowUnknownFlags: true,
|
|
26
|
+
};
|
|
27
|
+
get parsedFlags() {
|
|
28
|
+
return this.parsed.flags;
|
|
29
|
+
}
|
|
30
|
+
get parsedArgs() {
|
|
31
|
+
return this.parsed._;
|
|
32
|
+
}
|
|
24
33
|
/**
|
|
25
34
|
* Returns the package main exports
|
|
26
35
|
*/
|
|
@@ -72,7 +81,9 @@ export default class Configure extends BaseCommand {
|
|
|
72
81
|
const stub = await stubs.build(stubPath, {
|
|
73
82
|
source: this.stubsRoot,
|
|
74
83
|
});
|
|
75
|
-
const output = await stub.generate(
|
|
84
|
+
const output = await stub.generate(Object.assign({
|
|
85
|
+
force: this.force,
|
|
86
|
+
}, stubData));
|
|
76
87
|
/**
|
|
77
88
|
* Log message
|
|
78
89
|
*/
|
|
@@ -182,3 +193,6 @@ __decorate([
|
|
|
182
193
|
__decorate([
|
|
183
194
|
flags.boolean({ description: 'Display logs in verbose mode' })
|
|
184
195
|
], Configure.prototype, "verbose", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
flags.boolean({ description: 'Forcefully overwrite existing files' })
|
|
198
|
+
], Configure.prototype, "force", void 0);
|
|
@@ -12,8 +12,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
12
12
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
|
-
import
|
|
15
|
+
import string from '@poppinss/utils/string';
|
|
16
16
|
import { stubsRoot } from '../../stubs/main.js';
|
|
17
|
+
import { args, flags, BaseCommand } from '../../modules/ace/main.js';
|
|
17
18
|
/**
|
|
18
19
|
* The make controller command to create an HTTP controller
|
|
19
20
|
*/
|
|
@@ -28,22 +29,38 @@ export default class MakeController extends BaseCommand {
|
|
|
28
29
|
* Preparing the command state
|
|
29
30
|
*/
|
|
30
31
|
async prepare() {
|
|
32
|
+
/**
|
|
33
|
+
* Use actions stub
|
|
34
|
+
*/
|
|
35
|
+
if (this.actions) {
|
|
36
|
+
this.stubPath = 'make/controller/actions.stub';
|
|
37
|
+
}
|
|
31
38
|
/**
|
|
32
39
|
* Use resource stub
|
|
33
40
|
*/
|
|
34
41
|
if (this.resource) {
|
|
35
|
-
this.
|
|
42
|
+
if (this.actions) {
|
|
43
|
+
this.logger.warning('Cannot use --resource flag with actions. Ignoring --resource');
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.stubPath = 'make/controller/resource.stub';
|
|
47
|
+
}
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Use api stub
|
|
39
51
|
*/
|
|
40
52
|
if (this.api) {
|
|
41
|
-
this.
|
|
53
|
+
if (this.actions) {
|
|
54
|
+
this.logger.warning('Cannot use --api flag with actions. Ignoring --api');
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
this.stubPath = 'make/controller/api.stub';
|
|
58
|
+
}
|
|
42
59
|
}
|
|
43
60
|
/**
|
|
44
61
|
* Log warning when both flags are used together
|
|
45
62
|
*/
|
|
46
|
-
if (this.resource && this.api) {
|
|
63
|
+
if (this.resource && this.api && !this.actions) {
|
|
47
64
|
this.logger.warning('--api and --resource flags cannot be used together. Ignoring --resource');
|
|
48
65
|
}
|
|
49
66
|
}
|
|
@@ -51,6 +68,7 @@ export default class MakeController extends BaseCommand {
|
|
|
51
68
|
const codemods = await this.createCodemods();
|
|
52
69
|
await codemods.makeUsingStub(stubsRoot, this.stubPath, {
|
|
53
70
|
flags: this.parsed.flags,
|
|
71
|
+
actions: this.actions?.map((action) => string.camelCase(action)),
|
|
54
72
|
entity: this.app.generators.createEntity(this.name),
|
|
55
73
|
});
|
|
56
74
|
}
|
|
@@ -58,6 +76,9 @@ export default class MakeController extends BaseCommand {
|
|
|
58
76
|
__decorate([
|
|
59
77
|
args.string({ description: 'The name of the controller' })
|
|
60
78
|
], MakeController.prototype, "name", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
args.spread({ description: 'Method names to pre-define on the controller', required: false })
|
|
81
|
+
], MakeController.prototype, "actions", void 0);
|
|
61
82
|
__decorate([
|
|
62
83
|
flags.boolean({
|
|
63
84
|
description: 'Convert controller class and file name to its singular form',
|
|
@@ -31,9 +31,7 @@ export declare class Codemods {
|
|
|
31
31
|
*/
|
|
32
32
|
makeUsingStub(stubsRoot: string, stubPath: string, stubState: Record<string, any>): Promise<{
|
|
33
33
|
relativeFileName: string;
|
|
34
|
-
contents: string;
|
|
35
|
-
* Reference to lazily imported assembler code transformer
|
|
36
|
-
*/
|
|
34
|
+
contents: string;
|
|
37
35
|
destination: any;
|
|
38
36
|
attributes: Record<string, any>;
|
|
39
37
|
status: "created";
|
|
@@ -43,9 +41,6 @@ export declare class Codemods {
|
|
|
43
41
|
contents: string;
|
|
44
42
|
destination: any;
|
|
45
43
|
attributes: Record<string, any>;
|
|
46
|
-
/**
|
|
47
|
-
* Reference to CLI logger to write logs
|
|
48
|
-
*/
|
|
49
44
|
status: "force_created";
|
|
50
45
|
skipReason: null;
|
|
51
46
|
} | {
|
|
@@ -9,4 +9,4 @@ import type { ApplicationService } from '../../src/types.js';
|
|
|
9
9
|
* - In other environments, ace can be pulled from the container to
|
|
10
10
|
* run commands
|
|
11
11
|
*/
|
|
12
|
-
export declare function createAceKernel(app: ApplicationService): Kernel;
|
|
12
|
+
export declare function createAceKernel(app: ApplicationService, commandName?: string): Kernel;
|
|
@@ -17,9 +17,8 @@ import { FsLoader, HelpCommand } from '../../modules/ace/main.js';
|
|
|
17
17
|
* - In other environments, ace can be pulled from the container to
|
|
18
18
|
* run commands
|
|
19
19
|
*/
|
|
20
|
-
export function createAceKernel(app) {
|
|
20
|
+
export function createAceKernel(app, commandName) {
|
|
21
21
|
const kernel = new Kernel(app);
|
|
22
|
-
kernel.addLoader(new FsLoader(app.commandsPath()));
|
|
23
22
|
kernel.info.set('binary', 'node ace');
|
|
24
23
|
/**
|
|
25
24
|
* Lazy import commands mentioned in the "commands" array
|
|
@@ -28,6 +27,23 @@ export function createAceKernel(app) {
|
|
|
28
27
|
app.rcFile.commands.forEach((commandModule) => {
|
|
29
28
|
kernel.addLoader(() => typeof commandModule === 'function' ? commandModule() : app.import(commandModule));
|
|
30
29
|
});
|
|
30
|
+
/**
|
|
31
|
+
* When we know the command we are running ahead of time, then we
|
|
32
|
+
* defer loading the application commands if the command has
|
|
33
|
+
* already been registered by other loaders.
|
|
34
|
+
*/
|
|
35
|
+
const fsLoader = new FsLoader(app.commandsPath());
|
|
36
|
+
kernel.addLoader({
|
|
37
|
+
async getMetaData() {
|
|
38
|
+
if (!commandName || !kernel.getCommand(commandName)) {
|
|
39
|
+
return fsLoader.getMetaData();
|
|
40
|
+
}
|
|
41
|
+
return [];
|
|
42
|
+
},
|
|
43
|
+
getCommand(command) {
|
|
44
|
+
return fsLoader.getCommand(command);
|
|
45
|
+
},
|
|
46
|
+
});
|
|
31
47
|
/**
|
|
32
48
|
* Custom global flags
|
|
33
49
|
*/
|
|
@@ -59,18 +59,21 @@ export const drivers = {
|
|
|
59
59
|
argon2: (config) => {
|
|
60
60
|
return configProvider.create(async () => {
|
|
61
61
|
const { Argon } = await import('./drivers/argon.js');
|
|
62
|
+
debug('configuring argon driver');
|
|
62
63
|
return () => new Argon(config);
|
|
63
64
|
});
|
|
64
65
|
},
|
|
65
66
|
bcrypt: (config) => {
|
|
66
67
|
return configProvider.create(async () => {
|
|
67
68
|
const { Bcrypt } = await import('./drivers/bcrypt.js');
|
|
69
|
+
debug('configuring bcrypt driver');
|
|
68
70
|
return () => new Bcrypt(config);
|
|
69
71
|
});
|
|
70
72
|
},
|
|
71
73
|
scrypt: (config) => {
|
|
72
74
|
return configProvider.create(async () => {
|
|
73
75
|
const { Scrypt } = await import('./drivers/scrypt.js');
|
|
76
|
+
debug('configuring scrypt driver');
|
|
74
77
|
return () => new Scrypt(config);
|
|
75
78
|
});
|
|
76
79
|
},
|
|
@@ -36,63 +36,64 @@ export default class ReplServiceProvider {
|
|
|
36
36
|
* Registering REPL bindings during provider boot
|
|
37
37
|
*/
|
|
38
38
|
async boot() {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
39
|
+
this.app.container.resolving('repl', (repl) => {
|
|
40
|
+
repl.addMethod('importDefault', (_, modulePath) => {
|
|
41
|
+
return this.app.importDefault(modulePath);
|
|
42
|
+
}, {
|
|
43
|
+
description: 'Returns the default export for a module',
|
|
44
|
+
});
|
|
45
|
+
repl.addMethod('make', (_, service, runtimeValues) => {
|
|
46
|
+
return this.app.container.make(service, runtimeValues);
|
|
47
|
+
}, {
|
|
48
|
+
description: 'Make class instance using "container.make" method',
|
|
49
|
+
});
|
|
50
|
+
repl.addMethod('loadApp', () => {
|
|
51
|
+
return resolveBindingForRepl(this.app, repl, 'app');
|
|
52
|
+
}, {
|
|
53
|
+
description: 'Load "app" service in the REPL context',
|
|
54
|
+
});
|
|
55
|
+
repl.addMethod('loadEncryption', () => {
|
|
56
|
+
return resolveBindingForRepl(this.app, repl, 'encryption');
|
|
57
|
+
}, {
|
|
58
|
+
description: 'Load "encryption" service in the REPL context',
|
|
59
|
+
});
|
|
60
|
+
repl.addMethod('loadHash', () => {
|
|
61
|
+
return resolveBindingForRepl(this.app, repl, 'hash');
|
|
62
|
+
}, {
|
|
63
|
+
description: 'Load "hash" service in the REPL context',
|
|
64
|
+
});
|
|
65
|
+
repl.addMethod('loadRouter', () => {
|
|
66
|
+
return resolveBindingForRepl(this.app, repl, 'router');
|
|
67
|
+
}, {
|
|
68
|
+
description: 'Load "router" service in the REPL context',
|
|
69
|
+
});
|
|
70
|
+
repl.addMethod('loadConfig', () => {
|
|
71
|
+
return resolveBindingForRepl(this.app, repl, 'config');
|
|
72
|
+
}, {
|
|
73
|
+
description: 'Load "config" service in the REPL context',
|
|
74
|
+
});
|
|
75
|
+
repl.addMethod('loadTestUtils', () => {
|
|
76
|
+
return resolveBindingForRepl(this.app, repl, 'testUtils');
|
|
77
|
+
}, {
|
|
78
|
+
description: 'Load "testUtils" service in the REPL context',
|
|
79
|
+
});
|
|
80
|
+
repl.addMethod('loadHelpers', async () => {
|
|
81
|
+
const { default: isModule } = await import('../src/helpers/is.js');
|
|
82
|
+
const { default: stringModule } = await import('../src/helpers/string.js');
|
|
83
|
+
const { base64, cuid, fsReadAll, slash, parseImports } = await import('../src/helpers/main.js');
|
|
84
|
+
repl.server.context.helpers = {
|
|
85
|
+
string: stringModule,
|
|
86
|
+
is: isModule,
|
|
87
|
+
base64,
|
|
88
|
+
cuid,
|
|
89
|
+
fsReadAll,
|
|
90
|
+
slash,
|
|
91
|
+
parseImports,
|
|
92
|
+
};
|
|
93
|
+
repl.notify(`Loaded "helpers" module. You can access it using the "${repl.colors.underline('helpers')}" variable`);
|
|
94
|
+
}, {
|
|
95
|
+
description: 'Load "helpers" module in the REPL context',
|
|
96
|
+
});
|
|
96
97
|
});
|
|
97
98
|
}
|
|
98
99
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseLiteralType } from '@vinejs/vine';
|
|
2
2
|
import type { Validation, FieldContext, FieldOptions } from '@vinejs/vine/types';
|
|
3
3
|
import type { MultipartFile, FileValidationOptions } from '@adonisjs/bodyparser/types';
|
|
4
|
+
import type { ApplicationService } from '../src/types.js';
|
|
4
5
|
import { RequestValidator } from '../modules/http/main.js';
|
|
5
6
|
/**
|
|
6
7
|
* Validation options accepted by the "file" rule
|
|
@@ -30,4 +31,13 @@ declare class VineMultipartFile extends BaseLiteralType<MultipartFile, Multipart
|
|
|
30
31
|
constructor(validationOptions?: FileRuleValidationOptions, options?: FieldOptions, validations?: Validation<any>[]);
|
|
31
32
|
clone(): this;
|
|
32
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* The Edge service provider configures Edge to work within
|
|
36
|
+
* an AdonisJS application environment
|
|
37
|
+
*/
|
|
38
|
+
export default class VineJSServiceProvider {
|
|
39
|
+
protected app: ApplicationService;
|
|
40
|
+
constructor(app: ApplicationService);
|
|
41
|
+
boot(): void;
|
|
42
|
+
}
|
|
33
43
|
export {};
|
|
@@ -69,16 +69,29 @@ class VineMultipartFile extends BaseLiteralType {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* The
|
|
73
|
-
*
|
|
72
|
+
* The Edge service provider configures Edge to work within
|
|
73
|
+
* an AdonisJS application environment
|
|
74
74
|
*/
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
75
|
+
export default class VineJSServiceProvider {
|
|
76
|
+
app;
|
|
77
|
+
constructor(app) {
|
|
78
|
+
this.app = app;
|
|
79
|
+
this.app.usingVineJS = true;
|
|
80
|
+
}
|
|
81
|
+
boot() {
|
|
82
|
+
/**
|
|
83
|
+
* The file method is used to validate a field to be a valid
|
|
84
|
+
* multipart file.
|
|
85
|
+
*/
|
|
86
|
+
Vine.macro('file', function (options) {
|
|
87
|
+
return new VineMultipartFile(options);
|
|
88
|
+
});
|
|
89
|
+
/**
|
|
90
|
+
* The validate method can be used to validate the request
|
|
91
|
+
* data for the current request using VineJS validators
|
|
92
|
+
*/
|
|
93
|
+
Request.macro('validateUsing', function (...args) {
|
|
94
|
+
return new RequestValidator(this.ctx).validateUsing(...args);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
package/build/src/ignitor/ace.js
CHANGED
|
@@ -39,7 +39,9 @@ export class AceProcess {
|
|
|
39
39
|
const app = this.#ignitor.createApp('console');
|
|
40
40
|
await app.init();
|
|
41
41
|
const { createAceKernel } = await import('../../modules/ace/create_kernel.js');
|
|
42
|
-
const
|
|
42
|
+
const commandNameIndex = argv.findIndex((value) => !value.startsWith('-'));
|
|
43
|
+
const commandName = argv[commandNameIndex];
|
|
44
|
+
const kernel = createAceKernel(app, commandName);
|
|
43
45
|
app.container.bindValue('ace', kernel);
|
|
44
46
|
/**
|
|
45
47
|
* Hook into kernel and start the app when the
|
|
@@ -91,6 +91,7 @@ export class HttpServerProcess {
|
|
|
91
91
|
* Start the HTTP server by wiring up the application
|
|
92
92
|
*/
|
|
93
93
|
async start(serverCallback) {
|
|
94
|
+
const startTime = process.hrtime();
|
|
94
95
|
/**
|
|
95
96
|
* Method to create the HTTP server
|
|
96
97
|
*/
|
|
@@ -119,7 +120,10 @@ export class HttpServerProcess {
|
|
|
119
120
|
/**
|
|
120
121
|
* Notify
|
|
121
122
|
*/
|
|
122
|
-
this.#notifyServerHasStarted(app, logger, emitter,
|
|
123
|
+
this.#notifyServerHasStarted(app, logger, emitter, {
|
|
124
|
+
...payload,
|
|
125
|
+
duration: process.hrtime(startTime),
|
|
126
|
+
});
|
|
123
127
|
/**
|
|
124
128
|
* Monitor app and the server (after the server is listening)
|
|
125
129
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{{#var controllerName = generators.controllerName(entity.name)}}
|
|
2
|
+
{{#var controllerFileName = generators.controllerFileName(entity.name)}}
|
|
3
|
+
{{{
|
|
4
|
+
exports({
|
|
5
|
+
to: app.httpControllersPath(entity.path, controllerFileName)
|
|
6
|
+
})
|
|
7
|
+
}}}
|
|
8
|
+
import type { HttpContext } from '@adonisjs/core/http'
|
|
9
|
+
|
|
10
|
+
export default class {{ controllerName }} {
|
|
11
|
+
{{#each actions as action}}
|
|
12
|
+
async {{action}}({}: HttpContext) {}
|
|
13
|
+
{{/each}}
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/core",
|
|
3
3
|
"description": "Core of AdonisJS",
|
|
4
|
-
"version": "6.1.5-
|
|
4
|
+
"version": "6.1.5-32",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.16.0"
|
|
7
7
|
},
|
|
@@ -77,75 +77,75 @@
|
|
|
77
77
|
"index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@adonisjs/assembler": "^6.1.3-
|
|
81
|
-
"@adonisjs/eslint-config": "^1.1.
|
|
82
|
-
"@adonisjs/prettier-config": "^1.1.
|
|
83
|
-
"@adonisjs/tsconfig": "^1.1.
|
|
84
|
-
"@commitlint/cli": "^
|
|
85
|
-
"@commitlint/config-conventional": "^
|
|
86
|
-
"@japa/assert": "^2.0.
|
|
80
|
+
"@adonisjs/assembler": "^6.1.3-28",
|
|
81
|
+
"@adonisjs/eslint-config": "^1.1.9",
|
|
82
|
+
"@adonisjs/prettier-config": "^1.1.9",
|
|
83
|
+
"@adonisjs/tsconfig": "^1.1.9",
|
|
84
|
+
"@commitlint/cli": "^18.4.3",
|
|
85
|
+
"@commitlint/config-conventional": "^18.4.3",
|
|
86
|
+
"@japa/assert": "^2.0.1",
|
|
87
87
|
"@japa/expect-type": "^2.0.0",
|
|
88
|
-
"@japa/file-system": "^2.0.
|
|
89
|
-
"@japa/runner": "^3.0
|
|
90
|
-
"@swc/core": "1.3.
|
|
91
|
-
"@types/node": "^20.
|
|
92
|
-
"@types/pretty-hrtime": "^1.0.
|
|
93
|
-
"@types/sinon": "^
|
|
94
|
-
"@types/supertest": "^2.0.
|
|
95
|
-
"@types/test-console": "^2.0.
|
|
96
|
-
"@vinejs/vine": "^1.
|
|
88
|
+
"@japa/file-system": "^2.0.1",
|
|
89
|
+
"@japa/runner": "^3.1.0",
|
|
90
|
+
"@swc/core": "^1.3.99",
|
|
91
|
+
"@types/node": "^20.9.4",
|
|
92
|
+
"@types/pretty-hrtime": "^1.0.3",
|
|
93
|
+
"@types/sinon": "^17.0.2",
|
|
94
|
+
"@types/supertest": "^2.0.16",
|
|
95
|
+
"@types/test-console": "^2.0.3",
|
|
96
|
+
"@vinejs/vine": "^1.7.0",
|
|
97
97
|
"argon2": "^0.31.1",
|
|
98
98
|
"bcrypt": "^5.1.1",
|
|
99
99
|
"c8": "^8.0.1",
|
|
100
100
|
"copyfiles": "^2.4.1",
|
|
101
101
|
"cross-env": "^7.0.3",
|
|
102
102
|
"del-cli": "^5.1.0",
|
|
103
|
-
"edge.js": "^6.0.0
|
|
104
|
-
"eslint": "^8.
|
|
103
|
+
"edge.js": "^6.0.0",
|
|
104
|
+
"eslint": "^8.54.0",
|
|
105
105
|
"get-port": "^7.0.0",
|
|
106
106
|
"github-label-sync": "^2.3.1",
|
|
107
107
|
"husky": "^8.0.3",
|
|
108
108
|
"np": "^8.0.4",
|
|
109
|
-
"prettier": "^3.0
|
|
110
|
-
"sinon": "^
|
|
109
|
+
"prettier": "^3.1.0",
|
|
110
|
+
"sinon": "^17.0.1",
|
|
111
111
|
"supertest": "^6.3.3",
|
|
112
112
|
"test-console": "^2.0.0",
|
|
113
113
|
"ts-node": "^10.9.1",
|
|
114
|
-
"typescript": "
|
|
114
|
+
"typescript": "5.2.2"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@adonisjs/ace": "^12.3.2-
|
|
118
|
-
"@adonisjs/application": "^8.0.0-
|
|
119
|
-
"@adonisjs/bodyparser": "^10.0.0-
|
|
120
|
-
"@adonisjs/config": "^4.2.1-
|
|
121
|
-
"@adonisjs/encryption": "^5.1.2-
|
|
122
|
-
"@adonisjs/env": "^4.2.0-
|
|
123
|
-
"@adonisjs/events": "^9.0.0-
|
|
124
|
-
"@adonisjs/fold": "^9.9.3-
|
|
125
|
-
"@adonisjs/hash": "^8.3.1-
|
|
126
|
-
"@adonisjs/http-server": "^7.0.0-
|
|
127
|
-
"@adonisjs/logger": "^5.4.2-
|
|
128
|
-
"@adonisjs/repl": "^4.0.0-
|
|
129
|
-
"@antfu/install-pkg": "^0.
|
|
117
|
+
"@adonisjs/ace": "^12.3.2-2",
|
|
118
|
+
"@adonisjs/application": "^8.0.0-2",
|
|
119
|
+
"@adonisjs/bodyparser": "^10.0.0-2",
|
|
120
|
+
"@adonisjs/config": "^4.2.1-6",
|
|
121
|
+
"@adonisjs/encryption": "^5.1.2-4",
|
|
122
|
+
"@adonisjs/env": "^4.2.0-7",
|
|
123
|
+
"@adonisjs/events": "^9.0.0-1",
|
|
124
|
+
"@adonisjs/fold": "^9.9.3-11",
|
|
125
|
+
"@adonisjs/hash": "^8.3.1-8",
|
|
126
|
+
"@adonisjs/http-server": "^7.0.0-2",
|
|
127
|
+
"@adonisjs/logger": "^5.4.2-7",
|
|
128
|
+
"@adonisjs/repl": "^4.0.0-9",
|
|
129
|
+
"@antfu/install-pkg": "^0.2.0",
|
|
130
130
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
131
131
|
"@poppinss/macroable": "^1.0.0-7",
|
|
132
132
|
"@poppinss/utils": "^6.5.0-3",
|
|
133
133
|
"@sindresorhus/is": "^6.0.1",
|
|
134
|
-
"@types/he": "^1.2.
|
|
134
|
+
"@types/he": "^1.2.3",
|
|
135
135
|
"execa": "^8.0.1",
|
|
136
136
|
"he": "^1.2.0",
|
|
137
137
|
"parse-imports": "^1.1.2",
|
|
138
138
|
"pretty-hrtime": "^1.0.3",
|
|
139
|
-
"string-width": "^
|
|
139
|
+
"string-width": "^7.0.0",
|
|
140
140
|
"youch": "^3.3.2",
|
|
141
141
|
"youch-terminal": "^2.2.3"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
|
-
"@adonisjs/assembler": "^6.1.3-
|
|
145
|
-
"@vinejs/vine": "^1.
|
|
144
|
+
"@adonisjs/assembler": "^6.1.3-26",
|
|
145
|
+
"@vinejs/vine": "^1.7.0",
|
|
146
146
|
"argon2": "^0.31.1",
|
|
147
147
|
"bcrypt": "^5.1.1",
|
|
148
|
-
"edge.js": "^6.0.0
|
|
148
|
+
"edge.js": "^6.0.0"
|
|
149
149
|
},
|
|
150
150
|
"peerDependenciesMeta": {
|
|
151
151
|
"argon2": {
|