Initial import of zappier-edge from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 13:37:15 -04:00
commit d6b86e4284
120 changed files with 19867 additions and 0 deletions

9
src/paths.ts Normal file
View file

@ -0,0 +1,9 @@
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, '..');