Socket
Socket
Sign inDemoInstall

@adonisjs/application

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/application - npm Package Compare versions

Comparing version 7.1.2-16 to 8.0.0-0

build/application-973855eb.d.ts

26

build/factories/main.d.ts

@@ -1,1 +0,25 @@

export { AppFactory } from './app.js';
import { b as AppEnvironments, I as Importer, A as Application } from '../application-973855eb.js';
import '@adonisjs/config';
import '@adonisjs/fold';
import '@poppinss/hooks/types';
/**
* App factory is used to generate application class instances for
* testing
*/
declare class AppFactory {
#private;
/**
* Merge parameters accepted by the AppFactory
*/
merge(params: Partial<{
environment: AppEnvironments;
importer: Importer;
}>): this;
/**
* Create application class instance
*/
create(appRoot: URL, importer: Importer): Application<Record<any, any>>;
}
export { AppFactory };

39

build/factories/main.js

@@ -1,9 +0,30 @@

/*
* @adonisjs/application
*
* (c) AdonisJS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export { AppFactory } from './app.js';
import {
Application
} from "../chunk-KVDGRZX6.js";
import "../chunk-JZIGWLIO.js";
import "../chunk-QYEOGQIL.js";
import "../chunk-QPO2OBYN.js";
// factories/app.ts
var AppFactory = class {
#parameters = {};
/**
* Merge parameters accepted by the AppFactory
*/
merge(params) {
Object.assign(this.#parameters, params);
return this;
}
/**
* Create application class instance
*/
create(appRoot, importer) {
return new Application(
appRoot,
Object.assign({ importer }, { environment: "web" }, this.#parameters)
);
}
};
export {
AppFactory
};

@@ -1,4 +0,87 @@

export * as errors from './src/exceptions.js';
export { Application } from './src/application.js';
export { RcFileParser } from './src/rc_file/parser.js';
export { defineConfig } from './src/define_config.js';
import * as _poppinss_utils from '@poppinss/utils';
import { R as RcFile, a as RcFileInput } from './application-973855eb.js';
export { A as Application } from './application-973855eb.js';
import '@adonisjs/config';
import '@adonisjs/fold';
import '@poppinss/hooks/types';
/**
* The exception is raised when the "pattern" property is missing
* in the meta file object.
*/
declare const E_MISSING_METAFILE_PATTERN: new (args: [fileProperty: string], options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "file" property is missing
* in the preload file object
*/
declare const E_MISSING_PRELOAD_FILE: new (args: [preloadProperty: string], options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "file" property is missing
* in the provider object
*/
declare const E_MISSING_PROVIDER_FILE: new (args: [preloadProperty: string], options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "name" property is missing
* in the suite object
*/
declare const E_MISSING_SUITE_NAME: new (args: [suiteProperty: string], options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "files" property is missing
* in the suite object
*/
declare const E_MISSING_SUITE_FILES: new (args: [suiteProperty: string], options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "devServerCommand" is missing
* in assetsBundler object
*/
declare const E_MISSING_BUNDLER_DEV_COMMAND: new (args?: any, options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "buildCommand" is missing
* in assetsBundler object
*/
declare const E_MISSING_BUNDLER_BUILD_COMMAND: new (args?: any, options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
/**
* The exception is raised when the "name" is missing
* in assetsBundler object
*/
declare const E_MISSING_BUNDLER_NAME: new (args?: any, options?: ErrorOptions | undefined) => _poppinss_utils.Exception;
declare const errors_E_MISSING_BUNDLER_BUILD_COMMAND: typeof E_MISSING_BUNDLER_BUILD_COMMAND;
declare const errors_E_MISSING_BUNDLER_DEV_COMMAND: typeof E_MISSING_BUNDLER_DEV_COMMAND;
declare const errors_E_MISSING_BUNDLER_NAME: typeof E_MISSING_BUNDLER_NAME;
declare const errors_E_MISSING_METAFILE_PATTERN: typeof E_MISSING_METAFILE_PATTERN;
declare const errors_E_MISSING_PRELOAD_FILE: typeof E_MISSING_PRELOAD_FILE;
declare const errors_E_MISSING_PROVIDER_FILE: typeof E_MISSING_PROVIDER_FILE;
declare const errors_E_MISSING_SUITE_FILES: typeof E_MISSING_SUITE_FILES;
declare const errors_E_MISSING_SUITE_NAME: typeof E_MISSING_SUITE_NAME;
declare namespace errors {
export {
errors_E_MISSING_BUNDLER_BUILD_COMMAND as E_MISSING_BUNDLER_BUILD_COMMAND,
errors_E_MISSING_BUNDLER_DEV_COMMAND as E_MISSING_BUNDLER_DEV_COMMAND,
errors_E_MISSING_BUNDLER_NAME as E_MISSING_BUNDLER_NAME,
errors_E_MISSING_METAFILE_PATTERN as E_MISSING_METAFILE_PATTERN,
errors_E_MISSING_PRELOAD_FILE as E_MISSING_PRELOAD_FILE,
errors_E_MISSING_PROVIDER_FILE as E_MISSING_PROVIDER_FILE,
errors_E_MISSING_SUITE_FILES as E_MISSING_SUITE_FILES,
errors_E_MISSING_SUITE_NAME as E_MISSING_SUITE_NAME,
};
}
/**
* Rc file parser is used to parse and validate the `adonisrc.js` file contents.
*/
declare class RcFileParser {
#private;
constructor(rcFile: Record<string, any>);
/**
* Parse and validate file contents and merge them with defaults
*/
parse(): RcFile;
}
/**
* Define rcFile config
*/
declare function defineConfig(config: RcFileInput): RcFileInput;
export { RcFileParser, defineConfig, errors };

@@ -1,12 +0,19 @@

/*
* @adonisjs/application
*
* (c) AdonisJS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export * as errors from './src/exceptions.js';
export { Application } from './src/application.js';
export { RcFileParser } from './src/rc_file/parser.js';
export { defineConfig } from './src/define_config.js';
import {
Application,
RcFileParser,
errors_exports
} from "./chunk-KVDGRZX6.js";
import "./chunk-JZIGWLIO.js";
import "./chunk-QYEOGQIL.js";
import "./chunk-QPO2OBYN.js";
// src/define_config.ts
function defineConfig(config) {
return config;
}
export {
Application,
RcFileParser,
defineConfig,
errors_exports as errors
};

@@ -158,2 +158,3 @@ /**

};
export default generators;
export { generators as default };

@@ -1,379 +0,7 @@

/*
* @adonisjs/application
*
* (c) AdonisJS
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { slash } from '@poppinss/utils';
import { extname, join } from 'node:path';
import string from '@poppinss/utils/string';
import StringBuilder from '@poppinss/utils/string_builder';
/**
* Generators used for scaffolding
*/
const generators = {
/**
* The given controller names will always be generated
* in singular form
*/
singularControllerNames: [
'home',
'admin',
'session',
'application',
'money',
'signup',
'login',
'auth',
'authentication',
'adonis',
'adonisjs',
'dashboard',
'api',
],
/**
* Creates the entity path and name from the user
* input.
*/
createEntity(entityName) {
/**
* Get rid of extensions
*/
entityName = entityName.replace(new RegExp(`${extname(entityName)}$`), '');
/**
* Split to see if we are dealing with a path
*/
const parts = entityName.split('/');
/**
* Last part is always the entity name
*/
const [name] = parts.splice(-1);
/**
* Still have parts? Join them back
*/
if (parts.length) {
return {
path: parts.join('/'),
name,
};
}
/**
* Use relative current dir
*/
return {
path: './',
name,
};
},
/**
* Construct paths to make an import path
*/
importPath(...paths) {
return slash(join(...paths));
},
/**
* Converts an entity name to database table name
*/
tableName(entityName) {
return new StringBuilder(this.modelName(new StringBuilder(entityName).removeSuffix('table').toString()))
.plural()
.snakeCase()
.toString();
},
/**
* Converts an entity name to model name
*/
modelName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('model')
.singular()
.pascalCase()
.toString();
},
/**
* Converts an entity name to model file name
*/
modelFileName(entityName) {
return new StringBuilder(this.modelName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to a controller name
*/
controllerName(entityName, singular = false) {
const controller = new StringBuilder(entityName).removeExtension().removeSuffix('controller');
if (this.singularControllerNames.includes(controller.toString().toLowerCase())) {
controller.singular();
}
else if (singular) {
controller.singular();
}
else {
controller.plural();
}
return controller.pascalCase().suffix('Controller').toString();
},
/**
* Converts an entity name to a controller file name
*/
controllerFileName(entityName, singular = false) {
return new StringBuilder(this.controllerName(entityName, singular))
.snakeCase()
.ext('.ts')
.toString();
},
/**
* Converts an entity name to an event name
*/
eventName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('event')
.pascalCase()
.toString();
},
/**
* Converts an entity name to an event file name
*/
eventFileName(entityName) {
return new StringBuilder(this.eventName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to listener name
*/
listenerName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('listener')
.pascalCase()
.toString();
},
/**
* Converts an entity name to listener file name
*/
listenerFileName(entityName) {
return new StringBuilder(this.listenerName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to middleware name
*/
middlewareName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('middleware')
.pascalCase()
.suffix('Middleware')
.toString();
},
/**
* Converts an entity name to middleware file name
*/
middlewareFileName(entityName) {
return new StringBuilder(this.middlewareName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to provider name
*/
providerName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('provider')
.singular()
.pascalCase()
.suffix('Provider')
.toString();
},
/**
* Converts an entity name to provider file name
*/
providerFileName(entityName) {
return new StringBuilder(this.providerName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to policy name
*/
policyName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('policy')
.removeSuffix('model')
.singular()
.pascalCase()
.suffix('Policy')
.toString();
},
/**
* Converts an entity name to policy file name
*/
policyFileName(entityName) {
return new StringBuilder(this.policyName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to factory name
*/
factoryName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('factory')
.removeSuffix('model')
.singular()
.pascalCase()
.suffix('Factory')
.toString();
},
/**
* Converts an entity name to factory file name
*/
factoryFileName(entityName) {
return new StringBuilder(this.factoryName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to service name
*/
serviceName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('service')
.removeSuffix('model')
.singular()
.pascalCase()
.suffix('Service')
.toString();
},
/**
* Converts an entity name to service file name
*/
serviceFileName(entityName) {
return new StringBuilder(this.serviceName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to seeder name
*/
seederName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('seeder')
.removeSuffix('model')
.singular()
.pascalCase()
.suffix('Seeder')
.toString();
},
/**
* Converts an entity name to seeder file name
*/
seederFileName(entityName) {
return new StringBuilder(this.seederName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to command terminal name
*/
commandTerminalName(entityName) {
const snakeCaseName = new StringBuilder(this.commandName(entityName)).snakeCase().toString();
const [namespace, ...rest] = snakeCaseName.split('_');
if (!rest.length) {
return namespace;
}
return `${namespace}:${rest.join('_')}`;
},
/**
* Converts an entity name to command name
*/
commandName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('command')
.pascalCase()
.toString();
},
/**
* Converts an entity name to command file name
*/
commandFileName(entityName) {
return new StringBuilder(this.commandName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to validator name
*/
validatorName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('validator')
.singular()
.pascalCase()
.suffix('Validator')
.toString();
},
/**
* Converts an entity name to validator file name
*/
validatorFileName(entityName) {
return new StringBuilder(this.validatorName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to exception name
*/
exceptionName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('exception')
.pascalCase()
.suffix('Exception')
.toString();
},
/**
* Converts an entity name to exception file name
*/
exceptionFileName(entityName) {
return new StringBuilder(this.exceptionName(entityName)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity name to mailer name
*/
mailerName(entityName, type = 'notification') {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('notification')
.removeSuffix('provision')
.removeSuffix('mailer')
.pascalCase()
.suffix(string.pascalCase(type))
.toString();
},
/**
* Converts an entity name to mailer file name
*/
mailerFileName(entityName, type = 'notification') {
return new StringBuilder(this.mailerName(entityName, type)).snakeCase().ext('.ts').toString();
},
/**
* Converts an entity to test group name
*/
testGroupName(entity) {
return new StringBuilder(`${entity.path}/${entity.name}`)
.removeExtension()
.removeSuffix('.spec')
.sentenceCase()
.toString();
},
/**
* Converts an entity name to test file name
*/
testFileName(entityName) {
return new StringBuilder(entityName)
.removeExtension()
.removeSuffix('.spec')
.snakeCase()
.ext('.spec.ts')
.toString();
},
/**
* Converts an entity name to the view template file
*/
viewFileName(entityName) {
return new StringBuilder(entityName).removeExtension().snakeCase().ext('.edge').toString();
},
import {
generators_default
} from "../chunk-JZIGWLIO.js";
import "../chunk-QPO2OBYN.js";
export {
generators_default as default
};
export default generators;

@@ -1,256 +0,4 @@

import type { Application } from './application.js';
/**
* Known application environments. The list is strictly limited to
* AdonisJS known environments and custom environments are not
* supported as of now
*/
export type AppEnvironments = 'web' | 'console' | 'test' | 'repl' | 'unknown';
/**
* Known application states.
*
* - 'created' Creating an application class instance sets the state to 'created'.
*
* - 'initiated' Calling `app.init()` method sets the state to 'initiated'.
* The rc file contents and environment variables are parsed during
* init phase.
*
* - 'booted' Calling `app.boot()` method sets the state to `booted`. The service
* providers are registered and booted in this state.
*
* - 'ready' Calling `app.start()` method sets the state to `ready`. A set of
* pre and post start operations inside this method.
*
* The service providers start methods are called during pre-start phase.
* The service providers shutdown and application terminating hooks are
* called during post-start phase.
*
* - 'terminated' Calling `app.terminate' method sets the state to `terminated`. The service
* providers shutdown methods are called in this state.
*/
export type ApplicationStates = 'created' | 'initiated' | 'booted' | 'ready' | 'terminated';
/**
* State shared with hooks
*/
export type HooksState<ContainerBindings extends Record<any, any>> = [
[
Application<ContainerBindings>
],
[
Application<ContainerBindings>
]
];
/**
* Shape of directories object with known and unknown
* directories
*/
export interface DirectoriesNode {
[key: string]: string;
config: string;
public: string;
contracts: string;
providers: string;
languageFiles: string;
migrations: string;
seeders: string;
factories: string;
views: string;
start: string;
tmp: string;
httpControllers: string;
models: string;
services: string;
exceptions: string;
mailers: string;
middleware: string;
policies: string;
validators: string;
commands: string;
events: string;
listeners: string;
stubs: string;
}
/**
* Shape of preload files
*/
export type PreloadNode = {
file: string | (() => Promise<any>);
environment: Exclude<AppEnvironments, 'unknown'>[];
};
/**
* Shape of provider modules
*/
export type ProviderNode = {
file: string | (() => Promise<{
default?: new (app: Application<any>) => ContainerProviderContract;
}>);
environment: Exclude<AppEnvironments, 'unknown'>[];
};
/**
* Shape of semver node
*/
export type SemverNode = {
major: number;
minor: number;
patch: number;
prerelease: (string | number)[];
version: string;
toString(): string;
};
/**
* Shape of the meta file inside the `metaFiles` array inside
* `adonisrc.js` file.
*/
export type MetaFileNode = {
pattern: string;
reloadServer: boolean;
};
/**
* Shape of the adonisrc.js file
*/
export type RcFile = {
/**
* Configure a custom assets bundler to bundle and serve
* assets.
*
* This config can be used to configure assets bundler apart from
* vite and encore (since both are auto-detected)
*/
assetsBundler?: {
name: string;
devServer: {
command: string;
args?: string[];
};
build: {
command: string;
args?: string[];
};
};
/**
* Is it a TypeScript project
*/
typescript: boolean;
/**
* List of configured directories
*/
directories: DirectoriesNode & {
[key: string]: string;
};
/**
* An array of files to load after the application
* has been booted
*/
preloads: PreloadNode[];
/**
* An array of files to load after the application
* has been booted
*/
metaFiles: MetaFileNode[];
/**
* Providers to register.
*
* - The "base" key is used to register providers in all the environments.
* - The environment specific keys are used to register providers for a specific env.
*/
providers: ProviderNode[];
/**
* An array of commands to register
*/
commands: (string | (() => Promise<any>))[];
/**
* Custom command aliases
*/
commandsAliases: {
[key: string]: string;
};
/**
* Register test suites
*/
tests: {
suites: {
name: string;
files: string | string[];
directories: string[];
timeout?: number;
}[];
forceExit: boolean;
timeout: number;
};
/**
* Reference to `adonisrc.js` file raw contents
*/
raw: Record<string, any>;
};
export interface RcFileInput {
assetsBundler?: RcFile['assetsBundler'];
typescript?: RcFile['typescript'];
directories?: Partial<DirectoriesNode> & {
[key: string]: string;
};
preloads?: (PreloadNode | PreloadNode['file'])[];
metaFiles?: string[] | RcFile['metaFiles'];
commands?: RcFile['commands'];
commandsAliases?: RcFile['commandsAliases'];
tests?: {
suites: {
name: string;
files: string | string[];
timeout?: number;
}[];
forceExit?: boolean;
timeout?: number;
};
providers?: (ProviderNode | ProviderNode['file'])[];
}
/**
* Shape of the container provider class instance.
*/
export interface ContainerProviderContract {
/**
* The register method on the provider class is meant to
* register bindings in the container
*/
register?(): void;
/**
* The boot method on the provider class is meant to boot
* any state that application might need.
*
* For example: Registering macros/getters, defining middleware,
* or repl bindings.
*/
boot?(): void | Promise<void>;
/**
* The start method on the provider class is called right the
* boot method.
*
* This method is best place to use existing container bindings before
* the application gets started. Also, at this stage you can be sure
* that all providers have been booted.
*/
start?(): void | Promise<void>;
/**
* The ready method is called after the preloaded files have been
* imported and the app is considered ready. In case of an HTTP
* server, the server will be ready to receive incoming HTTP requests
* before this hook gets called.
*/
ready?(): void | Promise<void>;
/**
* The shutdown method on the provider class is meant to perform
* cleanup for graceful shutdown. You should avoid executing
* long running tasks in this method.
*
* If the shutdown process takes time, the application might get
* forcefully killed based upon the event that occurred shutdown
* in first place.
*/
shutdown?(): void | Promise<void>;
}
/**
* The importer is used to import modules in context of the
* an AdonisJS application.
*
* Anytime AdonisJS wants to import a module from a bare string, it
* will call this function
*/
export type Importer = (moduleIdentifier: string, options?: ImportCallOptions) => any;
export { b as AppEnvironments, c as ApplicationStates, C as ContainerProviderContract, D as DirectoriesNode, H as HooksState, I as Importer, M as MetaFileNode, P as PreloadNode, d as ProviderNode, R as RcFile, a as RcFileInput, S as SemverNode } from '../application-973855eb.js';
import '@adonisjs/config';
import '@adonisjs/fold';
import '@poppinss/hooks/types';
{
"name": "@adonisjs/application",
"version": "7.1.2-16",
"version": "8.0.0-0",
"description": "AdonisJS application class to read app related data",

@@ -8,6 +8,3 @@ "type": "module",

"files": [
"build/src",
"build/factories",
"build/index.d.ts",
"build/index.js"
"build"
],

@@ -28,3 +25,3 @@ "exports": {

"typecheck": "tsc --noEmit",
"compile": "npm run lint && npm run clean && tsc",
"compile": "npm run lint && npm run clean && tsup-node",
"build": "npm run compile",

@@ -46,26 +43,25 @@ "release": "np",

"devDependencies": {
"@adonisjs/config": "^4.2.1-4",
"@adonisjs/config": "^4.2.1-5",
"@adonisjs/eslint-config": "^1.1.8",
"@adonisjs/fold": "^9.9.3-8",
"@adonisjs/fold": "^9.9.3-10",
"@adonisjs/prettier-config": "^1.1.8",
"@adonisjs/tsconfig": "^1.1.8",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@japa/assert": "^2.0.0-1",
"@japa/expect-type": "^2.0.0-0",
"@japa/file-system": "^2.0.0-1",
"@japa/runner": "^3.0.0-5",
"@swc/core": "^1.3.71",
"@types/fs-extra": "^11.0.1",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@japa/assert": "^2.0.0",
"@japa/expect-type": "^2.0.0",
"@japa/file-system": "^2.0.0",
"@japa/runner": "^3.0.2",
"@swc/core": "1.3.82",
"@types/fs-extra": "^11.0.2",
"@types/glob-parent": "^5.1.1",
"@types/node": "^20.5.3",
"@types/semver": "^7.5.0",
"@types/node": "^20.8.6",
"@types/semver": "^7.5.3",
"c8": "^8.0.1",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.45.0",
"eslint": "^8.51.0",
"fs-extra": "^11.1.1",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"jsonschema": "^1.4.1",
"np": "^8.0.4",

@@ -76,8 +72,8 @@ "prettier": "^3.0.0",

"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@poppinss/hooks": "^7.1.1-4",
"@poppinss/utils": "^6.5.0-5",
"front-matter": "^4.0.2",
"@poppinss/hooks": "^7.2.0",
"@poppinss/utils": "^6.5.0",
"glob-parent": "^6.0.2",

@@ -87,4 +83,4 @@ "tempura": "^0.4.0"

"peerDependencies": {
"@adonisjs/config": "^4.2.1-4",
"@adonisjs/fold": "^9.9.3-8"
"@adonisjs/config": "^4.2.1-5",
"@adonisjs/fold": "^9.9.3-10"
},

@@ -126,3 +122,16 @@ "repository": {

},
"prettier": "@adonisjs/prettier-config"
"prettier": "@adonisjs/prettier-config",
"tsup": {
"entry": [
"./index.ts",
"./src/types.ts",
"./src/generators.ts",
"./factories/main.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"target": "esnext"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc