1.1.0 • Published 4 years ago

@moda/generator-portal-package v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

generator-portal-package

Using this generator

Until this is published, it is enough to download this repo and npm link it. After that, it should be an option to any calls to yo.

Updating the templates

To update the templates, add files/directories under generators/app/templates. Templates useregisterTransformStream to rename directories and files using regex and fs.copyTpl is used to process templates. See ejs.

If you need to parameterize a directory or file NAME, add a token __new-token__ to the template name and add a replace to the registerTransformStream call in index.js.

If you need to parameterize the template BODY, use <%= new-argument %> as the token to be replaced and add the new parameter to the fs.copyTpl call in index.js

1.1.0

4 years ago