From fb7415e9f862f01cf8dc8b3999a56cc402214fde Mon Sep 17 00:00:00 2001 From: JamesHenry Date: Tue, 29 Oct 2024 16:32:57 +0400 Subject: [PATCH] chore: revert TS bump --- package.json | 2 +- scripts/publish.js | 2 +- scripts/release.js | 2 +- yarn.lock | 7 +------ 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 8cd1dcdb81..a18f866288 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "nx": "20.0.6", "ts-node": "^10.9.2", "tshy": "^1.11.0", - "typescript": "5.4.5", + "typescript": "~5.3.3", "validate-commit-msg": "2.14.0", "vitest": "^1.2.1" }, diff --git a/scripts/publish.js b/scripts/publish.js index c755c24430..7559ca0eae 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -1,7 +1,7 @@ // @ts-check const { prerelease, valid } = require('semver'); -const { releasePublish } = require('nx/src/command-line/release'); +const { releasePublish } = require('nx/release'); /** * Maps git branch names to npm dist tags. If master is an alpha/beta release, diff --git a/scripts/release.js b/scripts/release.js index b02261a95e..0083bf117e 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -1,7 +1,7 @@ // @ts-check const { execSync } = require('node:child_process'); -const { releaseChangelog, releaseVersion } = require('nx/src/command-line/release'); +const { releaseChangelog, releaseVersion } = require('nx/release'); // There are multiple copies of outdated yargs in the workspace, access a known modern one const yargs = require('nx/node_modules/yargs'); diff --git a/yarn.lock b/yarn.lock index 8dc0c9d792..3a1af17bd9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16600,16 +16600,11 @@ typescript@4.5.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8" integrity sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg== -"typescript@5.2 || 5.3": +"typescript@5.2 || 5.3", typescript@~5.3.3: version "5.3.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== -typescript@5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== - typescript@~4.5.4: version "4.5.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"