From db6da5c67d896e0a94c158f69e9b235e364b3064 Mon Sep 17 00:00:00 2001 From: acheron <98934430+acheroncrypto@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:35:23 +0100 Subject: [PATCH] cli: Upgrade `typescript` version of templates to v5 (#3480) --- CHANGELOG.md | 1 + cli/src/rust_template.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 062d0d61e2..16b32cb5e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -135,6 +135,7 @@ The minor version will be incremented upon a breaking change and the patch versi - client, lang, spl: Upgrade Solana to v2 and SPL to the latest ([#3219](https://github.com/coral-xyz/anchor/pull/3219)). - cli: Install Solana from anza.xyz domain in Docker verifiable builds ([#3271](https://github.com/coral-xyz/anchor/pull/3271)). - spl: Upgrade SPL deps to latest ([#3346](https://github.com/coral-xyz/anchor/pull/3346)). +- cli: Upgrade `typescript` version of templates to v5 ([#3480](https://github.com/coral-xyz/anchor/pull/3480)). ## [0.30.1] - 2024-06-20 diff --git a/cli/src/rust_template.rs b/cli/src/rust_template.rs index be11e7c28d..0470b1cc30 100644 --- a/cli/src/rust_template.rs +++ b/cli/src/rust_template.rs @@ -432,7 +432,7 @@ pub fn ts_package_json(jest: bool, license: String) -> String { "jest": "^29.0.3", "prettier": "^2.6.2", "ts-jest": "^29.0.2", - "typescript": "^4.3.5" + "typescript": "^5.7.3" }} }} "# @@ -455,7 +455,7 @@ pub fn ts_package_json(jest: bool, license: String) -> String { "@types/bn.js": "^5.1.0", "@types/chai": "^4.3.0", "@types/mocha": "^9.0.0", - "typescript": "^4.3.5", + "typescript": "^5.7.3", "prettier": "^2.6.2" }} }}