Initial import of zappier-edge from zapier monorepo
This commit is contained in:
commit
d6b86e4284
120 changed files with 19867 additions and 0 deletions
9
src/paths.ts
Normal file
9
src/paths.ts
Normal 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, '..');
|
||||
Loading…
Add table
Add a link
Reference in a new issue