0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
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
..
client Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
server Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
shared Merge pull request #1858 from hswolff/improve-bootstrap-flow 2014-02-08 14:36:29 +00:00
test Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
bootstrap.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
index.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
server.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00