Ghost/ghost/webmentions
Fabien "egg" O'Carroll 1babf6126a Added initial basic Mentions implementation
refs https://github.com/TryGhost/Team/issues/2416

This extends the mock API to use a more formal pattern of moving our
entity code into a separate package, and use the service/repository
patterns we've been work toward.

The repository is currently in memory, this allows us to start using
the API without having to make commitments to the database structure.

We've also injected a single fake webmention for testing. I'd expect
the Mention object to change a lot from this initial definition as we
gain more information about the type of data we expect to see.
2023-01-17 17:01:20 +07:00
..
lib Added initial basic Mentions implementation 2023-01-17 17:01:20 +07:00
test Added initial basic Mentions implementation 2023-01-17 17:01:20 +07:00
.eslintrc.js Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
index.js Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
package.json Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
README.md Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00

Webmentions

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