Skip to content

Commit 7b20c61

Browse files
committed
fix: misc fixes
1 parent c03be1b commit 7b20c61

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

platforms-serverless/azure-functions-linux/.funcignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,20 @@
55
local.settings.json
66
test
77
node_modules
8-
!node_modules/{@prisma,.prisma,@azure/functions,pg,pg-cloudflare,pg-connection-string,pg-pool,pg-protocol,pg-types,pgpass,pg-int8,postgres-array,postgres-bytea,postgres-date,postgres-interval,xtend,split2}
8+
!node_modules/@prisma
9+
!node_modules/.prisma
10+
!node_modules/@azure/functions
11+
!node_modules/pg
12+
!node_modules/pg-cloudflare
13+
!node_modules/pg-connection-string
14+
!node_modules/pg-pool
15+
!node_modules/pg-protocol
16+
!node_modules/pg-types
17+
!node_modules/pgpass
18+
!node_modules/pg-int8
19+
!node_modules/postgres-array
20+
!node_modules/postgres-bytea
21+
!node_modules/postgres-date
22+
!node_modules/postgres-interval
23+
!node_modules/xtend
24+
!node_modules/split2

platforms-serverless/azure-functions-windows/.funcignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,20 @@
55
local.settings.json
66
test
77
node_modules
8-
!node_modules/{@prisma,.prisma,@azure/functions,pg,pg-cloudflare,pg-connection-string,pg-pool,pg-protocol,pg-types,pgpass,pg-int8,postgres-array,postgres-bytea,postgres-date,postgres-interval,xtend,split2}
8+
!node_modules/@prisma
9+
!node_modules/.prisma
10+
!node_modules/@azure/functions
11+
!node_modules/pg
12+
!node_modules/pg-cloudflare
13+
!node_modules/pg-connection-string
14+
!node_modules/pg-pool
15+
!node_modules/pg-protocol
16+
!node_modules/pg-types
17+
!node_modules/pgpass
18+
!node_modules/pg-int8
19+
!node_modules/postgres-array
20+
!node_modules/postgres-bytea
21+
!node_modules/postgres-date
22+
!node_modules/postgres-interval
23+
!node_modules/xtend
24+
!node_modules/split2

platforms-serverless/netlify-cli/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ cp -R ./prisma ./functions/prisma
1717

1818
# copy necessary `node_modules` to `functions/node_modules`
1919
mkdir -p ./functions/node_modules/.pnpm
20-
cp -R ./node_modules/@prisma ./functions/node_modules/
21-
cp -R ./node_modules/.pnpm/{@prisma,pg,postgres,xtend,split2}* ./functions/node_modules/.pnpm/
20+
cp -Ra ./node_modules/@prisma ./functions/node_modules/
21+
cp -Ra ./node_modules/.pnpm/{@prisma,pg,postgres,xtend,split2}* ./functions/node_modules/.pnpm/
2222

2323
# zip up everything in `functions` and copy to `functions-build`
2424
cd functions/

0 commit comments

Comments
 (0)