Ghost/ghost/model-to-domain-event-interceptor
Daniel Lockyer 47d1a3c451 Switched build and build:ts scripts
ref https://linear.app/tryghost/issue/DEV-20/faster-builds

- `build` should be the overall script to build the package
- `build:ts` should only build TypeScript
- by having them switched around, `build:ts` would call `yarn build`,
  and `yarn` adds several hundreds of milliseconds of time to each build
2024-09-02 15:20:03 +02:00
..
src Removed post delete related event handling 2023-09-15 13:50:25 +08:00
test Removed post delete related event handling 2023-09-15 13:50:25 +08:00
.eslintrc.js Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
package.json Switched build and build:ts scripts 2024-09-02 15:20:03 +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