Ghost/ghost/api-version-compatibility-service
Naz 8414e927f9 Added handling of multiple owners to notify
refs https://github.com/TryGhost/Toolbox/issues/292

- There can be multiple users in the Ghost instance that should be notifiied about version mismatch. Following the logic of the security notifications these are users with 'Owner' and 'Administrator' roles. To have the most up to date list of the emails to notify the emails fetching was made dinamic and is now passed in as a 'fetchEmailsToNotify' function.
- Also fixed the subject of the email to match the final copy
2022-04-21 15:57:43 +08:00
..
lib Added handling of multiple owners to notify 2022-04-21 15:57:43 +08:00
test Added handling of multiple owners to notify 2022-04-21 15:57:43 +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 Removed should dependency 2022-04-21 15:57:43 +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.