fix(zapier): add root index.js entry shim so deployed app resolves (#6789)

This commit is contained in:
Himanshu
2026-08-04 12:48:46 +05:30
committed by GitHub
parent 6e6f5b8d59
commit 965140eb19
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
// Zapier's Lambda wrapper requires `<root>/index.js` and ignores package.json
// "main", so re-export the compiled app from the root. Run `npm run build` first.
module.exports = require('./dist/index.js');
+1 -1
View File
@@ -20,7 +20,7 @@
"directory": "integrations/zapier-mem0"
},
"license": "Apache-2.0",
"main": "dist/index.js",
"main": "index.js",
"scripts": {
"build": "tsc",
"test": "jest --testTimeout 180000",