Skip to content

Commit

Permalink
Call events template with additional option events-config-path (#733)
Browse files Browse the repository at this point in the history
* call events template with additional option events-config-path

* update  version of @adobe/generator-app-common-lib
  • Loading branch information
sangeetha5491 committed Oct 3, 2023
1 parent 448fe1f commit debdd2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@adobe/aio-lib-templates": "^2.2.0",
"@adobe/aio-lib-web": "^6.1.0",
"@adobe/generator-aio-app": "^5.1.0",
"@adobe/generator-app-common-lib": "^0.4.0",
"@adobe/generator-app-common-lib": "^0.4.5",
"@adobe/inquirer-table-checkbox": "^1.2.0",
"@oclif/core": "^2.11.6",
"@parcel/core": "^2.7.0",
Expand Down
1 change: 1 addition & 0 deletions src/commands/app/add/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class AddEventCommand extends TemplatesCommand {
if (flags['experimental-allow-events-templates']) {
const eventsData = this.getEventsConfigFile(configName)
templateOptions['full-key-to-events-manifest'] = eventsData.key
templateOptions['events-config-path'] = eventsData.file
const [searchCriteria, orderByCriteria] = await this.getSearchCriteria()
const templates = await this.selectTemplates(searchCriteria, orderByCriteria)
if (templates.length === 0) {
Expand Down

0 comments on commit debdd2e

Please sign in to comment.