Ghost/ghost/update-check-service
2021-06-02 18:17:56 +04:00
..
test Added update check service initial commit 2021-06-02 18:17:56 +04:00
.eslintrc.js Added update check service initial commit 2021-06-02 18:17:56 +04:00
LICENSE Added update check service initial commit 2021-06-02 18:17:56 +04:00
package.json Added update check service initial commit 2021-06-02 18:17:56 +04:00
README.md Added update check service initial commit 2021-06-02 18:17:56 +04:00

Update Check Service

Makes a request to updates.ghost.org to check for release & custom notifications. The service is provided in return for users opting in to anonymous usage data collection.

Install

npm install @tryghost/update-check-service --save

or

yarn add @tryghost/update-check-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-2021 Ghost Foundation - Released under the MIT license.