Ghost/ghost/model-to-domain-event-interceptor
Daniel Lockyer b0cf1f949a Switched TypeScript eslint config to custom plugin
refs https://github.com/TryGhost/DevOps/issues/50

- this switches the .eslint configs from `node` to `ts`, which is a new
  config to support eslint for TypeScript
- also makes minor changes to adhere to these new rules
2023-07-25 16:12:35 +02:00
..
src Switched TypeScript eslint config to custom plugin 2023-07-25 16:12:35 +02:00
test Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
.eslintrc.js Switched TypeScript eslint config to custom plugin 2023-07-25 16:12:35 +02:00
package.json Added missing dependency definition 2023-07-25 15:56:46 +02:00
README.md Extracted model event interceptor to separate package 2023-07-03 18:47:27 +08:00
tsconfig.json Deduplicated tsconfig.json files 2023-07-12 09:34:00 +02:00

Model To Domain Event Interceptor

Model event interceptor that maps legacy model events to Domain event

Usage

Develop

This is a monorepo package.

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.

Test

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