Ghost/ghost/model-to-domain-event-interceptor
Daniel Lockyer 6dc1d08590 Re-enabled general eslint rules in TS config
refs https://github.com/TryGhost/DevOps/issues/50

- when creating a TS config in our `eslint-plugin-ghost` dependency, I
  only extended the recommended config, which left out a lot of
  stylistic things we used to enforce in JS
- this fixes that by bumping the dependency to a version which extends
  those shared configs, and fixes all the code that currently goes
  against those rules
2023-09-08 13:47:42 +02:00
..
src Re-enabled general eslint rules in TS config 2023-09-08 13:47:42 +02:00
test Mapped tag.deleted event to TagDeletedEvent 2023-07-26 12:54:42 +02:00
.eslintrc.js Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
package.json Updated linting and testing packages 2023-09-01 15:51:17 +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