Skip to content

Instantly share code, notes, and snippets.

@ernestofreyreg
Created November 23, 2020 15:57
Show Gist options
  • Save ernestofreyreg/1e1707d51215ee529f64be47dbf11374 to your computer and use it in GitHub Desktop.
Save ernestofreyreg/1e1707d51215ee529f64be47dbf11374 to your computer and use it in GitHub Desktop.
import { appGenerator } from './app-generator'
import { libGenerator } from './lib-generator'
import { NodePlopAPI } from 'plop'
import { copyFiles } from './actions'
module.exports = function (plop: NodePlopAPI) {
plop.setActionType('copy-files', copyFiles)
plop.setGenerator('app', appGenerator(plop))
plop.setGenerator('lib', libGenerator(plop))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment