mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
b708c7ea67
refs https://github.com/TryGhost/Team/issues/1104 - better matches the context of the request as we're validating known keys and valid options from multiple settings - "404 Not Found" didn't make sense because `/custom_theme_settings/` _does_ exist, it's just that one setting key wasn't known - "400 Bad Request" didn't make sense because the request was understood, it just failed validation of the setting values |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
Custom Theme Settings Service
Install
npm install @tryghost/custom-theme-settings-service --save
or
yarn add @tryghost/custom-theme-settings-service
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.