From 450def24382fd0b21baeefdfe753db838eb3cc46 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Fri, 6 Sep 2024 17:33:18 +0200 Subject: [PATCH 1/4] Update to fastify@5 Signed-off-by: Matteo Collina --- .npmrc | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 43c97e7..4fd15ed 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ package-lock=false +legacy-peer-deps=true diff --git a/package.json b/package.json index 0174cb9..001cffe 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "postversion": "git push && git push --tags" }, "devDependencies": { - "@fastify/multipart": "8.3.0", + "@fastify/multipart": "^9.0.0", "@fastify/pre-commit": "^2.1.0", "@h4ad/serverless-adapter": "4.2.1", "@types/aws-lambda": "8.10.145", @@ -53,7 +53,7 @@ "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-standard": "^5.0.0", - "fastify": "^4.26.0", + "fastify": "^5.0.0-alpha.4", "serverless-http": "^3.2.0", "tap": "^16.3.9", "tsd": "^0.31.0" From 53f2dacf6d3bc9e5347b13f4f5a4ebf920ebb7b4 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Fri, 6 Sep 2024 17:34:36 +0200 Subject: [PATCH 2/4] bump ci Signed-off-by: Matteo Collina --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0610c55..8ef7a89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5 with: lint: true license-check: true From b4ae7d04e5d4221d73eb70365a814245a6663e0f Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Fri, 6 Sep 2024 17:36:21 +0200 Subject: [PATCH 3/4] remove ovveride due to legacy-peer-deps Signed-off-by: Matteo Collina --- package.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package.json b/package.json index 001cffe..1c1046f 100644 --- a/package.json +++ b/package.json @@ -58,11 +58,6 @@ "tap": "^16.3.9", "tsd": "^0.31.0" }, - "overrides": { - "aws-serverless-fastify": { - "fastify": "^4.26.0" - } - }, "publishConfig": { "access": "public" }, From 7c8c90a0f08f45984d47e2176d7c7266b897857e Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Fri, 6 Sep 2024 17:37:11 +0200 Subject: [PATCH 4/4] fixup Signed-off-by: Matteo Collina --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ef7a89..c2227cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5.0.0 with: lint: true license-check: true