mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
160cb07e02
no issue Part of the effort to split ghost into smaller, decoupled parts. The @root-utils package lets us avoid hard-coding a path to package.json, and means that the ghost-version.js file could eventually be moved into a separate module. This commit uses a patched version of @tryghost/root-utils which checks for the existence of a `current` directory, as used in Ghost-CLI. Since this is very specific to Ghost and Ghost CLI, there's a new method called "getGhostRoot" for this purpose. |
||
---|---|---|
.. | ||
common | ||
image | ||
ghost-version.js | ||
mobiledoc.js | ||
request-external.js | ||
request.js | ||
validate-password.js |