Files
twenty/packages/twenty-server/nest-cli.json
martmull 927b8c717e Poc lambda deployment duration (#10340)
closes https://github.com/twentyhq/core-team-issues/issues/436

## Acheivements
Improve aws lambda deployment time from ~10/15 secs to less that 1 sec

## Done
- migrate with the new code executor architecture for local and lambda
drivers
- support old and new executor architecture to avoid breaking changes
- first run is long, next runs are quick even if code step is updated

## Demo using `lambda` driver
### Before


https://github.com/user-attachments/assets/7f7664b4-658f-4689-8949-ea2c31131252


### After



https://github.com/user-attachments/assets/d486c8e2-f8f8-4dbd-a801-c9901e440b29
2025-02-20 10:49:57 +01:00

33 lines
827 B
JSON

{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"builder": "swc",
"typeCheck": false,
"assets": [
{
"include": "**/serverless/drivers/constants/base-typescript-project/**",
"outDir": "dist/assets"
},
{
"include": "**/serverless/drivers/layers/*/package.json",
"outDir": "dist/assets"
},
{
"include": "**/serverless/drivers/layers/*/yarn.lock",
"outDir": "dist/assets"
},
{
"include": "**/serverless/drivers/layers/engine/**",
"outDir": "dist/assets"
},
{
"include": "**/serverless/drivers/constants/executor/index.mjs",
"outDir": "dist/assets"
}
],
"watchAssets": true
}
}