From ba0304d32533f0df5c3892a526187442c4b28257 Mon Sep 17 00:00:00 2001 From: mohammadamer Date: Thu, 5 Oct 2023 10:38:03 +0000 Subject: [PATCH] Upgrade typescript version to 3.9 and clean up typescript old versions --- samples/react-calendar/package.json | 9 ++------- samples/react-calendar/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/samples/react-calendar/package.json b/samples/react-calendar/package.json index c2f6a663a..f4405afc8 100644 --- a/samples/react-calendar/package.json +++ b/samples/react-calendar/package.json @@ -3,9 +3,7 @@ "main": "lib/index.js", "version": "1.0.12", "private": true, - "engines": { - "node": ">=0.10.0" - }, + "scripts": { "build": "gulp bundle", "clean": "gulp clean", @@ -48,10 +46,7 @@ "@types/react": "16.7.22" }, "devDependencies": { - "@microsoft/rush-stack-compiler-2.9": "0.7.7", - "@microsoft/rush-stack-compiler-3.2": "0.3.17", - "@microsoft/rush-stack-compiler-3.3": "0.3.5", - "@microsoft/rush-stack-compiler-3.7": "0.2.3", + "@microsoft/rush-stack-compiler-3.9": "0.4.47", "@microsoft/sp-build-web": "1.12.1", "@microsoft/sp-module-interfaces": "1.12.1", "@microsoft/sp-tslint-rules": "1.12.1", diff --git a/samples/react-calendar/tsconfig.json b/samples/react-calendar/tsconfig.json index 9f6687ee4..5a5d10fa6 100644 --- a/samples/react-calendar/tsconfig.json +++ b/samples/react-calendar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@microsoft/rush-stack-compiler-3.7/includes/tsconfig-web.json", + "extends": "./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-web.json", "compilerOptions": { "target": "es5", "forceConsistentCasingInFileNames": true,