Ghost/ghost/dynamic-routing-events
Naz ec4045cb57
Added dynamic-routing-events package
refs https://github.com/TryGhost/Toolbox/issues/503

- Reusing existing events inside of dynamic routing would only contribute to general confusion that is already there. Having separate "DomainEvents" is the best practice used throughout the code which is substituting generic events.
- The URLResourceUpdatedEvent is supposed to be emmited whenever there's an updated to the resource already associated with the URL circumventing full url regeneration process inside of DynamicRouting
2023-01-23 16:33:41 +08:00
..
lib Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
test Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
.eslintrc.js Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
index.js Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
package.json Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
README.md Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00

Dynamic Routing Events

Contains Dynamic Routing (URL Service) events

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