Ghost/ghost/members-events-service
Daniel Lockyer 17bf358b47
Pinned internal packages
- we're going to be pinning all dependencies within the monorepo
- this shouldn't change anything anyway because we're using the same
  version across all packages
2022-07-21 16:35:19 +02:00
..
lib Fixed member webhooks (#394) 2022-05-02 19:07:30 +01:00
test Fixed member webhooks (#394) 2022-05-02 19:07:30 +01:00
.eslintrc.js Added the members-events-service package 2022-02-28 14:42:17 +01:00
index.js Added the members-events-service package 2022-02-28 14:42:17 +01:00
LICENSE Added the members-events-service package 2022-02-28 14:42:17 +01:00
package.json Pinned internal packages 2022-07-21 16:35:19 +02:00
README.md Added the members-events-service package 2022-02-28 14:42:17 +01:00

Members events service

Contains member services that listen on specific events to perform actions:

  • Last-seen-at updater: Updates members.last_seen_at on a page/post view event

Install

npm install @tryghost/members-events-service --save

or

yarn add @tryghost/members-events-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.