@adobe/generator-aio-app
v8.0.1
Published
Adobe I/O application yeoman code generator
Downloads
15,168
Readme
Adobe I/O App Generator
A Yeoman generator for Adobe I/O Applications.
Usage
This module is used by the Adobe I/O CLI app plugin.
npm install -g @adobe/aio-cli
aio app init
to bootstrap your project's codeaio app add action
to add new actions to an existing appaio app add web-assets
to add a UI to an existing appaio app add ci
to add a CI to an existing appaio app delete action
to delete an existing actionaio app delete web-assets
to delete the app's UI
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
How to provide new template generators
Two types of generators can be easily contributed to the project:
action generators, e.g. analytics action generator:
- add a new action template generator into
generators/add-action/<generator-name>/index.js
. It is recommended that the generator extendslib/ActionGenerator.js
that provides a set of helpers. - add template files into
generators/add-action/<generator-name>/templates/
- update
generators/add-action/index.js
to reference the newly added generator in the prompt choices.
- add a new action template generator into
web assets generators, e.g. experience cloud shell react generator:
- add a new web assets template generator into
generators/add-web-assets/<generator-name>/index.js
. - add template files into
generators/add-web-assets/<generator-name>/templates/
- update
generators/add-web-assets/index.js
to reference the newly added generator in the prompt choices.
- add a new web assets template generator into
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.