fix(zapier): add root index.js entry shim so deployed app resolves (#6789)
This commit is contained in:
@@ -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');
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"directory": "integrations/zapier-mem0"
|
"directory": "integrations/zapier-mem0"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"main": "dist/index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest --testTimeout 180000",
|
"test": "jest --testTimeout 180000",
|
||||||
|
|||||||
Reference in New Issue
Block a user