From 80f99df9d3b1d7f0c314e0711d1323c555ba080f Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Tue, 28 Mar 2023 08:12:18 -0400 Subject: [PATCH] deps: pin `typescript` version The commit pins the `typescript` version to the version supported and used by the Eclipse Theia framework for compatibility reasons. Signed-off-by: vince-fugnitto --- package.json | 2 +- templates/extension-package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6376c4f..54dd471 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@types/yeoman-generator": "^3.1.4", "mocha": "^6.2.0", "rimraf": "^3.0.0", - "typescript": "^3.6.3", + "typescript": "~4.5.5", "yeoman-assert": "^3.1.1", "yeoman-test": "^2.0.0" }, diff --git a/templates/extension-package.json b/templates/extension-package.json index ec007e8..93edeb5 100644 --- a/templates/extension-package.json +++ b/templates/extension-package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "rimraf": "latest", - "typescript": "latest"<% if (params.devdependencies) { %><%- params.devdependencies %><% } %> + "typescript": "~4.5.5"<% if (params.devdependencies) { %><%- params.devdependencies %><% } %> }, "scripts": { "prepare": "yarn run clean && yarn run build", diff --git a/yarn.lock b/yarn.lock index cb6e686..417b7d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2957,10 +2957,10 @@ type-fest@^0.6.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== -typescript@^3.6.3: - version "3.6.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.3.tgz#fea942fabb20f7e1ca7164ff626f1a9f3f70b4da" - integrity sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw== +typescript@~4.5.5: + version "4.5.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" + integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== union-value@^1.0.0: version "1.0.1"