88f8b622f1
refs https://github.com/TryGhost/Ghost/pull/14197 - Using the package directly was creating a second instance and was never triggering the subscriber - Passing DomainEvents as a dependency solves this issue |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
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.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.