File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ export default {
1111 } ;
1212 } ,
1313 stacks ( app ) {
14+ app . setDefaultFunctionProps ( {
15+ runtime : 'nodejs18.x' ,
16+ nodejs : {
17+ install : [
18+ '@libsql/client'
19+ ]
20+ }
21+ } ) ;
1422 app . stack ( ExtractStack ) ;
1523 app . stack ( TransformStack ) ;
1624 app . stack ( InfoStack ) ;
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export function ExtractStack({ stack }: StackContext) {
7171 REDIS_USER_TOKEN_TTL ,
7272 PER_PAGE
7373 ] ,
74- runtime : "nodejs18.x" ,
7574 } ,
7675 } ,
7776 } ) ;
@@ -175,7 +174,6 @@ export function ExtractStack({ stack }: StackContext) {
175174 REDIS_TOKEN ,
176175 REDIS_USER_TOKEN_TTL
177176 ] ,
178- runtime : "nodejs18.x" ,
179177 } ,
180178 } ,
181179 authorizers : {
@@ -211,7 +209,6 @@ export function ExtractStack({ stack }: StackContext) {
211209 REDIS_TOKEN ,
212210 REDIS_USER_TOKEN_TTL ,
213211 ] ,
214- runtime : "nodejs18.x" ,
215212 }
216213 }
217214 } )
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ export function TransformStack({ stack }: StackContext) {
5151 SUPER_DATABASE_AUTH_TOKEN ,
5252 SUPER_DATABASE_URL ,
5353 ] ,
54- runtime : "nodejs18.x" ,
5554 } ,
5655 } ,
5756 authorizers : {
@@ -80,7 +79,6 @@ export function TransformStack({ stack }: StackContext) {
8079 SUPER_DATABASE_AUTH_TOKEN ,
8180 SUPER_DATABASE_URL ,
8281 ] ,
83- runtime : "nodejs18.x" ,
8482 }
8583 }
8684 } ) ;
You can’t perform that action at this time.
0 commit comments