2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/ghost/api-version-compatibility-service
Naz 30f8b0a446 Added support for html templates in version emails
refs https://github.com/TryGhost/Toolbox/issues/292

- The html/text emails is a desired system that's used in Ghost core and should be reused with version mismatch notification emails too.
- Currently there's only one template defined "generic-mismatch" and the original file for it can be found under /templates/generic-mismatch.html
- If we need to distinguish user agents we can addd more templates to the `/templates/` folder
2022-05-05 12:17:30 +08:00
..
lib Added support for html templates in version emails 2022-05-05 12:17:30 +08:00
test Added support for html templates in version emails 2022-05-05 12:17:30 +08:00
.eslintrc.js Bootstrapped api version compatibility package 2022-04-21 15:57:43 +08:00
index.js Bootstrapped api version compatibility package 2022-04-21 15:57:43 +08:00
LICENSE Bootstrapped api version compatibility package 2022-04-21 15:57:43 +08:00
package.json Added support for html templates in version emails 2022-05-05 12:17:30 +08:00
README.md Bootstrapped api version compatibility package 2022-04-21 15:57:43 +08:00

Api Version Compatibility Service

Service to notify Ghost instance owneres about API version compatibility issues

Install

npm install @tryghost/api-version-compatibility-service --save

or

yarn add @tryghost/api-version-compatibility-service

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.