mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +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. |
||
---|---|---|
.. | ||
client@952a65065d | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |