mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
3a0e0831ec
Based on a discussion in slack we want to make all metadata properties optional, with the exception of the title, which will default to the host of the source URL if it's missing. This is so that we can accept as many webmentions as possible and convert them into Mentions. If we were to have strictly validation, we'd end up having to drop webmentions that didn't match our criteria, and lose important data. Giving the title a default allows us to provide a consistent UI experience too. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Webmentions
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests