Skip to content

A generator for AEM applications that add different things like a galen module or an AEM component

License

Notifications You must be signed in to change notification settings

drginm/generator-aem-application

Repository files navigation

generator-aem-application NPM version Build Status Dependency Status Coverage percentage

A set of subgenerators for helping you when working with AEM applications. Current supported generators will help you create:

  • AEM components
  • Clientlibs
  • Custom Workflow Step
  • Galen submodule

Installation

First, install Yeoman and generator-aem-application using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-aem-application

Supported subgenerators:

All Subgenerators should be executed from the root path of your AEM application unless specified

Simple AEM Component

yo aem-application:aem-component

You can also supply parameters from the console

yo aem-application:aem-component mavenAppsModuleName=ui.apps componentParentPath=basic-component/components/content componentNodeName=basic-component componentName="Basic Component" componentGroup="Basic Component" mavenBundleModuleName=core javaRootPackageName=co.dlighthouse.aem.basiccomponent.core javaModelRelativePackageName=models javaModelClassName=BasicModel

Clientlibs

yo aem-application:clientlibs

You can also supply parameters from the console

yo aem-application:clientlibs clientlibsPath=ui.apps/src/main/content/jcr_root/apps/basic-component/clientlibs/clientlib-example categories=clientlib-example

Workflow Step

yo aem-application:workflow

You can also supply parameters from the console

yo aem-application:workflow workflowName="Sample Application - Sample Workflow Process Step" mavenAppsModuleName=ui.apps componentParentPath=workflow-step-dialog/components/workflow componentNodeName=workflow-process  mavenBundleModuleName=core javaRootPackageName=co.dlighthouse.aem.workflowstepdialog.core javaWorkflowRelativePackageName=workflows javaWorkflowClassName=SampleWorkflowProcess

A Galen Submodule

yo aem-application:galen-module

You can also supply parameters from the console

yo aem-application:galen-module

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.

development

For adding new sub generators:

yo generator:subgenerator <name>

License

Apache-2.0 © drginm

About

A generator for AEM applications that add different things like a galen module or an AEM component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published