From 4858dd487420fc64d69eed915363509475245f1a Mon Sep 17 00:00:00 2001 From: Igor Schechtel Date: Mon, 5 Aug 2024 16:39:19 -0300 Subject: [PATCH 1/3] Bump Node version to 20 --- packages/cfa-template/package.json | 2 +- packages/cfa-template/template/backend/serverless.yml | 2 +- packages/create-frigg-app/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cfa-template/package.json b/packages/cfa-template/package.json index 89837b45..074c568f 100644 --- a/packages/cfa-template/package.json +++ b/packages/cfa-template/package.json @@ -14,7 +14,7 @@ }, "license": "MIT", "engines": { - "node": ">=14" + "node": ">=18" }, "bugs": { "url": "https://github.com/friggframework/create-frigg-app/issues" diff --git a/packages/cfa-template/template/backend/serverless.yml b/packages/cfa-template/template/backend/serverless.yml index bc379049..0c6e6471 100644 --- a/packages/cfa-template/template/backend/serverless.yml +++ b/packages/cfa-template/template/backend/serverless.yml @@ -4,7 +4,7 @@ package: individually: true provider: name: aws - runtime: nodejs16.x + runtime: nodejs20.x region: us-east-1 stage: ${opt:stage} # Change for your desired environment diff --git a/packages/create-frigg-app/package.json b/packages/create-frigg-app/package.json index ede8eac2..6c8cdbe3 100644 --- a/packages/create-frigg-app/package.json +++ b/packages/create-frigg-app/package.json @@ -12,7 +12,7 @@ }, "license": "MIT", "engines": { - "node": ">=14" + "node": ">=18" }, "bugs": { "url": "https://github.com/friggframework/create-frigg-app/issues" From 6aa772639b78a865a92cf477b8f6b53589fde175 Mon Sep 17 00:00:00 2001 From: Igor Schechtel Date: Mon, 5 Aug 2024 16:39:59 -0300 Subject: [PATCH 2/3] Increase timeout to 30 seconds --- packages/cfa-template/template/backend/serverless.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cfa-template/template/backend/serverless.yml b/packages/cfa-template/template/backend/serverless.yml index 0c6e6471..b292f853 100644 --- a/packages/cfa-template/template/backend/serverless.yml +++ b/packages/cfa-template/template/backend/serverless.yml @@ -5,6 +5,7 @@ package: provider: name: aws runtime: nodejs20.x + timeout: 30 region: us-east-1 stage: ${opt:stage} # Change for your desired environment From 26055f6adf020994dcca747f96266e1cfe4c4256 Mon Sep 17 00:00:00 2001 From: Igor Schechtel Date: Mon, 5 Aug 2024 16:43:20 -0300 Subject: [PATCH 3/3] Update package-lock --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index da5a738c..709158dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3871,7 +3871,7 @@ "version": "1.2.0", "license": "MIT", "engines": { - "node": ">=14" + "node": ">=18" } }, "packages/create-frigg-app": { @@ -3898,7 +3898,7 @@ "jest": "^29.7.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "packages/create-frigg-app/node_modules/semver": {