mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
c70fbc2c7e
closes #8056 🎨 Collect together the package-related utils - read directory actually reads a directory of packages - parse package json is very tighly related to this 🎨 Move filterPaths -> packages.filterPackages - this function is related to packages, not settings - move the function to the new utils/packages - add 100% test coverage 🎨 Simplify filterPackages code 🎨 Simplify reading of packages & themes - This massively reduces all the complex code in the read packages & themes utils - Added full test coverage 🎨 Improve & clarify active prop in filterPackages - active is returned from API endpoints to combine data from multiple sources - see https://github.com/TryGhost/Ghost/pull/8064#discussion_r103514810 🎨 Better error handling 🔥 Temporarily remove custom error templates - we will reimplement this later when we have got a better concept of loading the active theme in place - refs #8079 |
||
---|---|---|
.. | ||
packages | ||
asset-hash.js | ||
cached-image-size-from-url.js | ||
downzero.js | ||
ghost-version.js | ||
gravatar.js | ||
image-size-from-url.js | ||
index.js | ||
labs.js | ||
make-absolute-urls.js | ||
pipeline.js | ||
read-csv.js | ||
remove-open-redirect-from-url.js | ||
sequence.js | ||
social-urls.js | ||
tokens.js | ||
url.js | ||
visibility-filter.js | ||
zip-folder.js |