File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ install:
3030
3131# # Build and deploy the frontend
3232frontend :
33- # yarn prepare:frontend-local
34- # yarn build:frontend
35- # yarn cdklocal bootstrap --app="node dist/aws-sdk-js-notes-app-frontend.js"
36- # yarn cdklocal deploy --app="node dist/aws-sdk-js-notes-app-frontend.js"
33+ yarn prepare:frontend-local
34+ yarn build:frontend
35+ yarn cdklocal bootstrap --app=" node dist/aws-sdk-js-notes-app-frontend.js"
36+ yarn cdklocal deploy --app=" node dist/aws-sdk-js-notes-app-frontend.js"
3737 @distributionId=$$(awslocal cloudfront list-distributions | jq -r '.DistributionList.Items[0].Id' ) && \
3838 echo " Access the frontend at: http://localhost:4566/cloudfront/$$ distributionId/"
3939
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ buildSync({
1010 minify : true ,
1111 outdir : "dist" ,
1212 platform : "node" ,
13- target : "node18 " ,
13+ target : "node22 " ,
1414 mainFields : [ "module" , "main" ] ,
1515 logLevel : "info" ,
1616} ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class NotesApi extends Construct {
1818 const { table, grantActions } = props ;
1919
2020 this . handler = new lambda . Function ( this , "handler" , {
21- runtime : lambda . Runtime . NODEJS_18_X ,
21+ runtime : lambda . Runtime . NODEJS_22_X ,
2222 handler : "app.handler" ,
2323 // ToDo: find a better way to pass lambda code
2424 code : lambda . Code . fromAsset ( `../backend/dist/${ id } ` ) ,
You can’t perform that action at this time.
0 commit comments