mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
a08e0ed14e
closes https://github.com/TryGhost/Product/issues/3799 - the recommendations_enabled setting is updated when a recommendation is created or deleted. It's enabled as soon as there is at least one recommendation in the database - the recommendations_enabled setting exists to avoid fetching the recommendation count from the database directly in themes. The setting is cached and doesn't need a read every time from the database |
||
---|---|---|
.. | ||
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