Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayato-san/adonis-commands
My custom commands for AdoniJS
https://github.com/ayato-san/adonis-commands
ace adonisjs commands package
Last synced: 3 days ago
JSON representation
My custom commands for AdoniJS
- Host: GitHub
- URL: https://github.com/ayato-san/adonis-commands
- Owner: Ayato-san
- License: mit
- Created: 2024-06-22T22:41:09.000Z (5 months ago)
- Default Branch: 1.x
- Last Pushed: 2024-09-19T14:55:21.000Z (about 2 months ago)
- Last Synced: 2024-10-17T13:47:58.025Z (22 days ago)
- Topics: ace, adonisjs, commands, package
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@ayato-san/adonis-commands
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Features
- Designed to work with AdonisJS, his packages lucid and bouncer out of the box
- add / modify Adonis commands### Install
```bash
npm i -D @ayato-san/adonis-commands
node ace configure @ayato-san/adonis-commands
```### Commands
- `make:action` create an action class
- `make:enum` create an enum file
- `make:helper` create an helper file (empty)
- `make:presenter` create a presenter class
- `make:repository` create a repository class
- `make:migration` (⚠️ only if lucid configured) create a migration based on default adonis migration but using postgres `uuid` generation### Configure
change folders generation :
```ts
import { defineConfig } from '@ayato-san/adonis-commands'const commandConfig = defineConfig({
folders: {
app: 'src',
start: 'boot',
},
})export default commandConfig
```