Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
9 lines
388 B
TypeScript
9 lines
388 B
TypeScript
import path from 'path';
|
|
|
|
/**
|
|
* Absolute path of the project root, resolved from this module's location so
|
|
* the app works from any working directory (systemd, Docker, cron, `node
|
|
* dist/index.js` from elsewhere). Holds for both layouts: ts-node running
|
|
* src/ (root is one level up) and compiled dist/ (same one level up).
|
|
*/
|
|
export const PROJECT_ROOT = path.join(__dirname, '..');
|