From 687f01d1a343e634ab396ae510be445d7d5cf8e2 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 22 Jul 2024 00:07:07 +0200 Subject: [PATCH] fix(cli): Fixed transpilation order issue in tsfolders command --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/tsbuild.cli.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 3255713..4d1f525 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-07-22 - 2.1.84 - fix(cli) +Fixed transpilation order issue in tsfolders command + +- Corrected the transpilation order so 'ts_shared' is processed before other folders in the 'tsfolders' CLI command. + ## 2024-07-21 - 2.1.83 - fix(cli) Ensure 'ts_shared' folder is compiled first if present diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7fdc18e..eef7b8a 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsbuild', - version: '2.1.83', + version: '2.1.84', description: 'TypeScript nightly to easily make use of latest features' } diff --git a/ts/tsbuild.cli.ts b/ts/tsbuild.cli.ts index aea2081..0a39265 100644 --- a/ts/tsbuild.cli.ts +++ b/ts/tsbuild.cli.ts @@ -41,7 +41,7 @@ export const runCli = async () => { const indexShared = tsFolders.indexOf('ts_shared'); if (indexShared > -1) { tsFolders.splice(indexShared, 1); - tsFolders.unshift('ts_interfaces'); + tsFolders.unshift('ts_shared'); }