1.2.2 • Published 11 months ago

@ayato-san/adonis-commands v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Features

  • Designed to work with AdonisJS, his packages lucid and bouncer out of the box
  • add / modify Adonis commands

Install

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

activate modules :

import { defineConfig } from '@ayato-san/adonis-commands'

const commandConfig = defineConfig({
  modules: ['lucid', 'bouncer'],
})

export default commandConfig

change folders generation :

import { defineConfig } from '@ayato-san/adonis-commands'

const commandConfig = defineConfig({
  folders: {
    app: 'src',
    start: 'boot',
  },
})

export default commandConfig
1.2.2

11 months ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago