tsoft-cli 3.9.1 → 3.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to T-Soft CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.9.3] - 2026-05-21
9
+
10
+ ### Fixed
11
+ - Corrected the Turkish translation for `org switch` when the user belongs to no organization ("Hiçbir organizasyona üyesiniz değil." → "Hiçbir organizasyona üye değilsiniz.").
12
+
13
+ ## [3.9.2] - 2026-05-21
14
+
15
+ ### Changed
16
+ - `theme pull` now preselects the active theme in the picker. Developers work on the active theme ~90% of the time; the previous behaviour defaulted to the first list item, causing the default theme to be pulled by mistake.
17
+
8
18
  ## [3.9.1] - 2026-05-20
9
19
 
10
20
  ### Fixed
package/locales/tr.json CHANGED
@@ -294,7 +294,7 @@
294
294
  "org.switch.no_store": "Aktif mağaza bulunamadı. Lütfen önce \"tsoft login\" komutunu çalıştırın.",
295
295
  "org.switch.no_token": "Token bulunamadı. Lütfen önce \"tsoft login\" komutunu çalıştırın.",
296
296
  "org.switch.loading": "Organizasyonlar yükleniyor...",
297
- "org.switch.no_orgs": "Hiçbir organizasyona üyesiniz değil.",
297
+ "org.switch.no_orgs": "Hiçbir organizasyona üye değilsiniz.",
298
298
  "org.switch.select_prompt": "Hangi organizasyonda çalışacaksınız?",
299
299
  "org.switch.select_title": "Organizasyon Seçimi",
300
300
  "org.switch.selecting": "{{name}} seçiliyor...",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsoft-cli",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "Command-line tool for tsoft360 theme development and management",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -351,8 +351,14 @@ export async function themePullCommand() {
351
351
  description: theme.description || `${t('theme.folder_label')} ${theme.theme_folder}`
352
352
  }));
353
353
 
354
+ // Aktif tema varsayilan secili gelir — kullanici %90 aktif temada
355
+ // calisir; yanlislikla default tema indirilmesini onler.
356
+ const activeTheme = themes.find(theme => theme.active);
357
+
354
358
  const selectedTheme = await brandedSelect({
355
- message: t('theme.pull.select_prompt'), choices: themeChoices,
359
+ message: t('theme.pull.select_prompt'),
360
+ choices: themeChoices,
361
+ default: activeTheme ?? themeChoices[0].value,
356
362
  }, t('theme.pull.select_title'));
357
363
 
358
364
  console.log(chalk.cyan('\n' + t('theme.pull.downloading', { name: selectedTheme.name }) + '\n'));