mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
540660a49e
ref https://linear.app/tryghost/issue/ENG-801/unable-to-recommend-sites-with-long-excerpts - recommending a site with a long excerpt was being blocked by a validation error - with this change, we truncate the excerpt to 2000 characters max. and avoid showing an error in the UI - with this change, the description length validation is also now stricter; 200 characters max, instead of 2000, to match the UI |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintrc.js | ||
package.json | ||
README.md | ||
tsconfig.json |
Recommendations
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