feat: add Prisma layer build scripts and configuration for Lambda deployment

This commit is contained in:
paritosh18
2025-11-30 12:17:20 +05:30
parent 6011318986
commit d8687edb9f
9 changed files with 355 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
# Base packaging patterns shared across all functions
# Note: Prisma 7 uses driver adapters (no binary engines) - everything is in the layer
pattern1: 'src/common/**'
pattern2: 'common/**'
pattern3: 'node_modules/@prisma/client/**'
pattern4: 'node_modules/.prisma/client/libquery_engine-rhel-openssl-3.0.x.so.node'
pattern5: '!node_modules/.prisma/client/libquery_engine*'
# Prisma packages are now provided by the layer, no need to include in function package
pattern3: '!node_modules/@prisma/**'
pattern4: '!node_modules/.prisma/**'
pattern5: '!node_modules/pg/**'