fix(cli): Fixed transpilation order issue in tsfolders command

This commit is contained in:
Philipp Kunz 2024-07-22 00:07:07 +02:00
parent 071b3e222f
commit 687f01d1a3
3 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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'
}

View File

@ -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');
}