From d204d3543da75a85a13454fd546578bfec8b0cfc Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Thu, 18 Jul 2024 15:05:09 +0200 Subject: [PATCH 1/2] Update typescript --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8da60c7..a41f13f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "react-scripts": "5.0.1", "sass": "^1.64.1", "tailwind-merge": "^1.14.0", - "typescript": "^4.9.5", + "typescript": "^5.5.3", "web-vitals": "^2.1.4", "workbox-background-sync": "^6.6.0", "workbox-broadcast-update": "^6.6.0", @@ -17645,15 +17645,15 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/typeson": { @@ -31074,9 +31074,9 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==" }, "typeson": { "version": "6.1.0", diff --git a/package.json b/package.json index dd854b0..e67c601 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "react-scripts": "5.0.1", "sass": "^1.64.1", "tailwind-merge": "^1.14.0", - "typescript": "^4.9.5", + "typescript": "^5.5.3", "web-vitals": "^2.1.4", "workbox-background-sync": "^6.6.0", "workbox-broadcast-update": "^6.6.0", From b2afe94fd29c1af5d47fc4439f72050bf29ed95b Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Thu, 18 Jul 2024 16:23:19 +0200 Subject: [PATCH 2/2] Add an override for TS --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index e67c601..1eae46c 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,9 @@ "workbox-strategies": "^6.6.0", "workbox-streams": "^6.6.0" }, + "overrides": { + "typescript": "^5.5.3" + }, "scripts": { "start": "export HTTPS=true && export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts start", "build": "export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts build",