Ghost/ghost/custom-theme-settings-service
Kevin Ansfield e28415abf4 Added CustomThemeSettingsService.listSettings()
refs https://github.com/TryGhost/Team/issues/1070

- return re-fetched settings after sync so they can be used in later activation steps
- added internal `activeThemeSettings` cache that stores full setting data along with saved values for use in API output
- added `listSettings()` that converts internal cache object into a settings array that matches API format
2021-09-23 20:34:35 +01:00
..
lib Added CustomThemeSettingsService.listSettings() 2021-09-23 20:34:35 +01:00
test slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00
.eslintrc.js slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00
index.js First pass at custom-theme-settings-service functionality 2021-09-22 21:56:45 +01:00
LICENSE slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00
package.json Published new versions 2021-09-23 09:17:25 +01:00
README.md slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00

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.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.