engine/paths

Project/engine path helpers for the Gingee control plane. Engine-internal — not for sandboxed app require.
Description:
  • Project/engine path helpers for the Gingee control plane. Engine-internal — not for sandboxed app require.

Members

(inner, constant) engineRoot

Description:
  • Absolute path to the Gingee package root (folder containing gingee.js).
Absolute path to the Gingee package root (folder containing gingee.js).

(inner, constant) projectRoot

Description:
  • Absolute path to the consuming project (process.cwd()).
Absolute path to the consuming project (process.cwd()).

Methods

(inner) ensureProjectDirs(rootopt)

Description:
  • Ensure standard project directories exist (logs, settings, backups, temp).
Parameters:
Name Type Attributes Default Description
root string <optional>
projectRoot

(inner) resolveWebPath(configWebPathopt, rootopt) → {string}

Description:
  • Resolve web_root from config to an absolute directory path.
Parameters:
Name Type Attributes Default Description
configWebPath string <optional>
'./web'
root string <optional>
projectRoot
Returns:
Type
string