0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test
Gabor Javorszky 212711d896 Added package.js support for themes (and plugins)
Closes #2081
* Amended require-tree to populate availableThemes and availablePlugins to use full file names (`basename.ext`) as keys instead of just basename. This way `image.jpg`, `image.png`, `image.gif` won't overwrite the `image` key.
* Amended require-tree to allow package.json file parsing to return the contents of the file as json on the `package.json` key.
* settings api populates theme data `package` if it exists. Otherwise it assigns `false` to it
* `general.hbs` (salute) was reworked to if there is the package key on the theme is not false, it will use the `name` and `version` keys of that. You can break it by not having a `name` or `version` in the package.json file.
* Added error and warning messages for package.json file parse errors and misses
2014-02-13 23:57:58 +00:00
..
functional Merge pull request #2126 from aiampogi/issue-2114-rssFeeds 2014-02-07 11:52:41 +00:00
integration/model Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
unit Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
utils Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
blanket_coverage.js Coverage report task fix for Windoze 2013-11-11 20:56:36 +00:00