diff --git a/README.md b/README.md index b3006e0..bbeb348 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,5 @@ chargebee-apps run ``` 5. Open `http://localhost:15000` and trigger events using the provided `test_data`. + +`manifest.json` includes an `engines` object. `chargebee-apps create` and `chargebee-apps package` overwrite `engines.node` and `engines.chargebee_apps` with the Node.js and CLI versions on your machine. Do not edit those keys by hand. diff --git a/sample-apps/sample-apps-with-iparams/crm_lead_on_customer_created_sample_app/manifest.json b/sample-apps/sample-apps-with-iparams/crm_lead_on_customer_created_sample_app/manifest.json index a58f2c9..6e54fd9 100644 --- a/sample-apps/sample-apps-with-iparams/crm_lead_on_customer_created_sample_app/manifest.json +++ b/sample-apps/sample-apps-with-iparams/crm_lead_on_customer_created_sample_app/manifest.json @@ -3,5 +3,9 @@ "customer_created": { "handler": "customerCreatedHandler" } + }, + "engines": { + "node": "22.11.0", + "chargebee_apps": "1.1.1" } } diff --git a/sample-apps/sample-apps-with-iparams/schedule_advance_invoice_sample_app/manifest.json b/sample-apps/sample-apps-with-iparams/schedule_advance_invoice_sample_app/manifest.json index 162ff76..3e07b34 100644 --- a/sample-apps/sample-apps-with-iparams/schedule_advance_invoice_sample_app/manifest.json +++ b/sample-apps/sample-apps-with-iparams/schedule_advance_invoice_sample_app/manifest.json @@ -6,5 +6,9 @@ "subscription_created": { "handler": "subscriptionCreatedHandler" } + }, + "engines": { + "node": "22.11.0", + "chargebee_apps": "1.1.1" } } diff --git a/sample-apps/sample-apps-without-iparams/dunning_cycle_end_handler_sample_app/manifest.json b/sample-apps/sample-apps-without-iparams/dunning_cycle_end_handler_sample_app/manifest.json index 0568c54..e6651f8 100644 --- a/sample-apps/sample-apps-without-iparams/dunning_cycle_end_handler_sample_app/manifest.json +++ b/sample-apps/sample-apps-without-iparams/dunning_cycle_end_handler_sample_app/manifest.json @@ -6,5 +6,9 @@ "invoice_updated": { "handler": "invoiceUpdatedHandler" } + }, + "engines": { + "node": "22.11.0", + "chargebee_apps": "1.1.1" } }